Friday, June 17, 2011

[android-developers] Can Android destroy my Activity without killing the process in which it's created?

Hi,

I have a question:

Can Android destroy my Activity without killing the process in which
it's created?

According to the documentation (http://developer.android.com/guide/
topics/fundamentals/activities.html
) it seems possible. onDestroy()
method could be called: either because the activity is finishing
(someone called finish() on it), or because the system is temporarily
destroying this instance of the activity to save space.

Could you give me a possible scenario if it happens? What about
service?

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment