Hi,

I have the following problem: When posting a new Notification, I pass
along a PendingIntent used to fire up an Activity that shows details
about this Notification. These details are passed as a Serializable
Extra.

However, the Intent holding the Extra is only updated once, when the
Activity was started for the first time. If a new Notification arrives
however, although I instantiate a new Intent, neither getIntent() nor
onNewIntent() of said Activity deliver this new intent, instead they
always deliver the Intent that was active when the Activity was
started for the first time.

I tried combining many of the flags that can be passed to Intents and
PendingIntents (in particular FLAG_ACTIVITY_SINGLE_TOP which is said
to do exactly what I need, namely calling onNewIntent() with the new
intent, but that's not the case), but no luck.

So, how can I update my Activity with the Intent used to fire it,
whenever the Activity is already running?

Thanks,
Matthias
--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to