IE TASK:
A
B
C
B
C
Clicking a Notification creates an activity B so now Task:
A
B
C
B
B
C
B
However as long as the Task exists the notification will only make the task come to the top with C showing.
Now, this is as per documentation when an Intent has FLAG_ACTIVITY_NEW_TASK which is what all intents coming from a service have, like it or not, because it isn't part of an activities context. At the very least I would expect refocus to the Task to trigger the "onNewIntent" for the current running activity or pass the intent to the Application context, but it does not so all new intent data is completely lost. Are my hands tied in this and I cannot use a notification to create a new activity in an existing task? The only solution that sorta gives me what I am looking for is adding the flag that allows creating of multiple instances, but that is not really what I'm looking for!
Are there any other suggestions how I can get new extra data associated with a pending intent inside of a notification handed off to an existing task if it already exists before someone clicks the notification?
Thanks,
James
--~--~---------~--~----~------------~-------~--~----~
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment