On Fri, Jun 17, 2011 at 10:55 AM, Andrey Mandychev <[email protected]> wrote: > Can Android destroy my Activity without killing the process in which > it's created?
Absolutely. > Could you give me a possible scenario if it happens? The user presses the BACK button. Or, the user presses the HOME button and does not return to the activity for some time. And so on. > What about service? If your service has been around too long, particularly if it is not in the foreground, it too can be destroyed (and possibly recreated, depending on what you return from onStartCommand()). -- 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 *Advanced* Android Development_ Version 1.9.9 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

