You know when onPause()-OnStop()-onDestroy() of your activities are
called. Inside one of these methods write your state to permanent
storage (e.g. DB, shared preferences, even plain text file, you name
it). Later on you can read which state you are in from permanent
storage. I don't know if there are better ways of doing this, but this
simple approach should work.

-------------------------------------------------
Ali Chousein
Weather-Buddy
http://weatherbuddy.blogspot.com/ | http://twitter.com/weather_buddy
Geo-Filtered Assistant
http://geo-filtered-assistant.blogspot.com/

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