I\'m trying to implement the behaviour described here, where a notification (or whatever) starts an \"internal\" activity in your app, and then when the user pressed back it
I know 2 ways of achieving this:
home activity
from within activity started by notification. This may become quite trick, as you will have to differentiate and keep track of various possible entry points.home activity
which checks if is being started by a notification and then starts the notification activity
. This ensures a consistent entry point and the back stack will be there when user press Up key.Regards.