Take a look at PendingIntent documentation instead:

http://developer.android.com/reference/android/app/PendingIntent.html

In particular:

>>
If the creating application later re-retrieves the same kind of PendingIntent (same operation, same Intent action, data, categories, and components, and same flags), it will receive a PendingIntent representing the same token
<<

In your case, the "later" comes after a few nanoseconds, but the logic still applies.

To receive distinct PendingIntent tokens, use either distinct request codes with getActivity (second parameter) or any of the other parts mentioned in the docs snippet above (such as the data uri).

-- Kostya

19.07.2011 18:15, Mark Woollard пишет:
OK I get what you are saying about the intent having to appear unique. What I'm 
not clear on is how to do this. The app displays potentially several 
notifications concurrently but how do I make each 'different' since they are 
basically different instances of the same type of notification. The template is 
the same, the difference is just the specific site / level data they are 
reporting a change for. The Notification object docs don't lead me to think 'ah 
ha':-)

Regards
Mark

--
Kostya Vasilyev

--
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