On Tue, Feb 14, 2012 at 3:16 PM, dillipk <[email protected]> wrote:

> Now to my question: how do I get the behavior I described above?
>

Do nothing - what you described is the default behavior.


>  Whenever I click my app's icon, it always starts at the Main activity,
> no matter what. I think this is because of the category.LAUNCHER
> attribute. I have tried android:launchMode=singleTask, but it hasn't
> made a difference; it always starts at Main.
>

Put logging in the various activity lifecycle methods. I would assume your
app is getting killed.

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

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