I want my application to resume what it is doing regardless of where I
press the icon (Home screen, app picker, or running apps).  Right now
if my app is in the background and I press the icon on the home
screen, the app restarts with my Main Activity.  Once here, if I press
the back button the app resumes from the activity it left off before
it was put in the background.  If it's running in the background and I
hold the home button and select my app from the current running apps,
it resumes correctly.

How do I avoid my app from going to my Main activity when it is
selected from the Home screen or app picker?  I have tried adding the
following in my Manifest XML file, but it doesn't help:

<activity android:name=".Main"
                          android:launchMode="singleTask"
                          android:alwaysRetainTaskState="true"
                  android:label="@string/app_name">


Any help would be greatly appreciated!
--~--~---------~--~----~------------~-------~--~----~
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