Marco wrote:
- You may be able to do what you want by having the notification start
a
- 'dummy' activity, which in turn brings your real activity to the
- front.

Marco, do you maybe please have sample code or something that show how
one can restore a task like that, hopefully keeping the activity stack
intact so that things like the back button behaves as the user would
expect?

Rick, yes, I also considered an empty intent, but for me that seems to
miss the point of the ability of the user to click on the
notification. I have built in some code to try to defend the
application against crashes,  but like in your case, sometimes the
activity stack is so messed up that a crash in inevitable.
--~--~---------~--~----~------------~-------~--~----~
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