我試着去開始新的活動一次我按下的通知...相關的代碼是: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