21.12.2010 18:12, Leon Moreyn-Android Development пишет:
If you want to verify in theory that you app has shut down put a log
into the onDestroy() and have it log that the processes are all
terminated.

That's actually not the same.

Even with all application's activities and services terminated, Android may still keep the process in memory in a dormant state until it's kicked out when memory gets low.

I'd recommend anyone that they stop worrying about process lifecycles, and focus on framework-level components and their lifecycles instead (activities, services, etc., ensuring proper cleanup of resources and state management).

--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.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