You do that by using distinct notification IDs:

mNotificationManager.notify(notificationId, notification);

Where "notificaitonId" values should be unique. Perhaps using the same _id as shown in your snippet.

-- Kostya

21.04.2011 16:31, Brad Stintson пишет:
I use following snippet to set multiple notifications.
 final int _id = (int) System.currentTimeMillis();
PendingIntent contentIntent = PendingIntent.getBroadcast(context, _id, intent, PendingIntent.FLAG_ONE_SHOT);

But it replaces previous notification in the notification bar. How to add different notification for each notification in notification bar.?


--
Kostya Vasilyev -- http://kmansoft.wordpress.com

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to