I like to think of onResume/onPause like focus events. When an
Activity loses focus, either by being partially covered by a dialog or
another Activity, onPause() is called. If the activity regains focus,
onResume() is called. If the activity not only loses focus, but
becomes non-visible (this is like when a desktop window is minimized),
onStop() is called after onPause() has been called.

The Activity lifecycle seems to be the #1 stumbling block for Android
programmers. But I don't think this is the fault of the documentation.

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