On Mon, Apr 5, 2010 at 9:41 PM, mr.winky <[email protected]> wrote:

> User launches B from the launcher, navigates to C and presses the 'home'
> key (the history stack is now B->C). Sometime in the future the service
> launches activity A, and upon exiting activity A the user is now presented
> with activity C which is not the desired intent.
>

Are you sure about this? Do you have a working example? In my experience the
user is presented with A, as expected, and the stack becomes B -> C -> A
(where the right-most activity is higher on the stack).

Of course this is probably highly-dependent on the flags used to launch the
activities. I've always stuck to the recommended "NEW_TASK" flag when
launching from a service.

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking

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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to