On Fri, Nov 19, 2010 at 9:32 AM, Some Coder <[email protected]> wrote:

> What is the cleanest way to do this?
>

Initialization code should go in onCreate. Here you get a null Bundle if
it's "starting from scratch", otherwise it's non-null if you were killed and
need to resume what you were doing.


> Is there an API for monitoring Task state?
>

Don't think so, beyond the standard activity lifecycle methods.

-------------------------------------------------------------------------------------------------
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to