亲们:
  小弟在做推送,每次有消息就showNotification一下,(类似于手机收到新短信一样) 如果用户点击了 那么一切都好,如果没有点击,之后又来了几次消息,那么用户在点击消息的时候,弹出的activity只包含第一次的消息内容,而不包含后续的其他消息。(手机短信会提示有*条新信息,但是一点击之后,所有信息都显示出来,我的代码只显示第一条)这是代码: private void showNotification(String text) {
Notification n = new Notification();
NotificationManager notificationManager = (NotificationManager) getApplicationContext().getSystemService(Context.NOTIFICATION_SERVICE);

n.flags |= Notification.FLAG_SHOW_LIGHTS;
       n.flags |= Notification.FLAG_AUTO_CANCEL;        n.defaults = Notification.DEFAULT_ALL;
      
n.icon =R.drawable.icon;
n.when = System.currentTimeMillis();


Intent intent = new Intent();
        intent.setClass(this, Input.class);   //Input是要弹出来的
        
        intent.setFlags(PendingIntent.FLAG_UPDATE_CURRENT|PendingIntent.FLAG_ONE_SHOT);
   
tempi = tempi + 1;
if(tempi > 1){
intent.putExtra("numberOfNews", tempi);
PendingIntent pi = PendingIntent.getActivity(this,0,
intent, PendingIntent.FLAG_ONE_SHOT);
n.setLatestEventInfo(this, NOTIF_TITLE, "您有"+ tempi + "条新信息", pi); }
else{

intent.putExtra("numberOfNews", tempi);
PendingIntent pi = PendingIntent.getActivity(this,0,
intent, PendingIntent.FLAG_ONE_SHOT);
n.setLatestEventInfo(this,NOTIF_TITLE, text, pi);        

}
// Change the name of the notification here mNotifMan.notify(NOTIF_CONNECTED, n);
}请问大侠们 怎么解决呢? 谢谢!!