Friday, September 28, 2012

[android-developers] Developer option "Don't keep activities" impacting AsyncTask?

We had a few users complaining about a new behaviour of our application on ICS. We show an activity, start an AsyncTask to retrieve data from the interwebs, and use onProgress to update the activity screen.  However, if the Developer Option setting "Don't keep activities" ( Destroy every activity as soon as the user leaves it) is checked the AsyncTask fails to execute. I don't understand how this is related as we don't actually "leave" the activity.  Any insights into how this can be fixed?

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


Real Estate