Something new to this topic?

On 22 Aug., 15:05, code_android_festival_way
<[EMAIL PROTECTED]> wrote:
> I came across the parameter "alwaysRetainTaskState" 
> athttp://code.google.com/android/reference/android/R.attr.html#alwaysRe...
> and don't really know how to use it the right way. I've got several
> activities in my application and want to persist the state of my
> activity UI so that the user can press the home button and after
> starting my application again he will come back to the last opened
> activity.
> When I understand the parameter in the right way I think that he
> should do what I want. Now I've added the parameter to all activities
> in my AndroidManifest but after restarting my application from the
> home screen (after pressing the home button in my app) I'm always
> getting back to my initial screen.
>
> Here is one sample from my AndroidManifest:
>
>         <activity android:name=".Preferences"
>                           android:alwaysRetainTaskState="true">
>         </activity>
>
> What am I doing wrong? In addition I'd like to ask what state in
> detail will be presisted. (the complete UI state?)
>
> Regards!
--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to