On Fri, Jul 20, 2012 at 7:06 AM, Andrew
<andrew.masl...@allegrowireless.com>wrote:

> Yes, I agree that this probably is freezing UI.  But there's a problem
> here: this cannot be run on a spawned thread as OS may kill the process
> right after this call returns, thus, again, killing the saving thread in
> the middle!


This method, or it's fancy new Fragments version, might be of interest to
you:
http://developer.android.com/reference/android/app/Activity.html#onRetainNonConfigurationInstance%28%29

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to