[android-developers] Re: Multiple Notifications - PendingIntents with different data?

2010-05-11 Thread Nathan


On May 11, 11:33 am, skink  wrote:
> Nathan wrote:
> > I've done it successfully by using setData(Uri) and making sure
> > Intent.FILL_IN_DATA is set.
>
> > I'm not sure why it won't see the intent as unique when it differs by
> > Extra Data only, but at least this works.
>
> > Nathan
>
> it's enough to use unique "requestCode" when calling getActivity
>
>

Really? Ok, thanks, I'll try that. I hadn't tried because
PendingIntent.GetActivity() says:

requestCode  Private request code for the sender (currently not
used).

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


Re: [android-developers] Re: Multiple Notifications - PendingIntents with different data?

2010-05-11 Thread skink


Nathan wrote:
> I've done it successfully by using setData(Uri) and making sure
> Intent.FILL_IN_DATA is set.
>
> I'm not sure why it won't see the intent as unique when it differs by
> Extra Data only, but at least this works.
>
> Nathan
>

it's enough to use unique "requestCode" when calling getActivity

pskink

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


[android-developers] Re: Multiple Notifications - PendingIntents with different data?

2010-05-11 Thread Nathan
I've done it successfully by using setData(Uri) and making sure
Intent.FILL_IN_DATA is set.

I'm not sure why it won't see the intent as unique when it differs by
Extra Data only, but at least this works.

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