我试着去开始新的活动一次我按下的通知...相关的代码是:Android通知
NotificationManager notifManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);
Notification note = new Notification(R.drawable.android, "New E-mail", System.currentTimeMillis());
PendingIntent intent = PendingIntent.getActivity(this, 0, new Intent(this, DatabaseActivity.class), 0);
note.setLatestEventInfo(this, "New E-mail", "You have one unread message.", intent);
notifManager.notify(NOTIF_ID, note);
但活动只是dsnt begin..the通知弹出up..but如果我点击它没有发生...... PLZ的意见!
你在DDMS上看到什么? – Jonas 2010-11-06 09:21:46
ddms运行正常...没有错误没有没有... – Skandha 2010-11-06 10:15:13