On May 11, 4:51 am, Mark Murphy <mmur...@commonsware.com> wrote: > > PendingIntent.getActivity() will return a unique PendingIntent object > *only* if the Intent you supply to that call is materially different > than those used by other outstanding PendingIntents. By "materially > different", I mean where Intent#filterEquals() returns false. > > In your case, your three Intents are all the same from the perspective > of filterEquals(), because filterEquals() does not take extras into account. >
That make sense with what I've seen. It was sure confusing to figure that out. > Hence, you need to make three more distinct Intents. > > If your intents right now are using the component (e.g., new > Intent(this, SomeActivity.class)), the easy way to do this is to assign > some unique action string to them. That won't affect how the Intent gets > routed, but it will make it distinct from a filterEquals() standpoint. > I did get this to work by using a unique Uri in setData. I think the Action string would work too. Nathan -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en