Wednesday, April 27, 2011

Re: [android-developers] Re: Activity Lifecycle Documentation Question

On Wed, Apr 27, 2011 at 5:55 PM, Eric <eric@alum.mit.edu> wrote:
> Android is allowed to 'clean up'
> your activity right after onPause(), without killing the app, if it
> wants to reclaim memory.

By finishing the activity, thereby triggering the
onPause()/onStop()/onDestroy() triad. If the activity is paused,
finishing it will merely do onStop() and onDestroy().

> I don't see that in the documentation I read.

Documentation has gaps.

If you can create a sample application that demonstrates that you're
correct, please post it.

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

_Android Programming Tutorials_ Version 3.3 Available!

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate