Hi Guys,

Whenever I press the home button when Im in the root task of my
application and when I click on the icon of my app again the state of
my task (activity) is retained, but when i press the back button on
the emulator and when I open my application its state is not retained.
I want the state to be retained in both the scenarios.

In the mnifest I have given the below entries,

android:alwaysRetainTaskState="true"  for the root activity

android:launchMode="singleTask" for the application

Regards,
R.Karthik
--~--~---------~--~----~------------~-------~--~----~
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