On Wed, Mar 23, 2011 at 12:37 PM, Jake Colman <[email protected]> wrote:
> If my application gets killed by Android, as can be expected, can I
> reasonably assume that when the application is restarted that instance
> is reinitialized to null?  In other words, when Adroid invisibly kills
> and restarts my app, its behavior is the same if I had manually started
> my app myself?

Yes. Starting a process is starting a process, no matter the trigger
mechanism. "Manually started my app myself" (which I assume means
tapping on a launcher icon) is not some magic event that is materially
different than an AlarmManager alarm going off.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 3.5 Available!

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