Re: [android-developers] Application state being lost
On Wed, Jun 30, 2010 at 10:16 AM, stanlick <stanlick@gmail.com> wrote:
I have a situation where my input fields are losing their contents.
When?
I have reviewed the sections on saving instance state and believe I have coded it correctly, however, the problem persists.
If the problem persists, you likely did not code it correctly =P. Post some sample code.
I actually wonder if the problem might have to do with a second instance of the application running as opposed to the original instance being resumed. The reason I say this is because I have seen times where my application presents itself as an empty page and hitting the "return" button displays my application with all the data as it had been entered.
What's the use case? How is your app being paused / resumed?
What "return" button? The back button?
Can you tell me more about the manifest entries concerning android:alwaysRetainTaskState="true" and/or android:launchMode="singleTask"
Review the documentation on these two flags.
Can you assist in clearing up this seemingly trivial use case?
Maybe, if you provide more information.
-------------------------------------------------------------------------------------------------
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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home