On Wed, Apr 27, 2011 at 4:53 PM, Streets Of Boston
<flyingdutc...@gmail.com> wrote:
> Be very careful with cleaning up some resources in onPause. A dialog being
> shown could put your activity into paused-state, but not into stopped-state.
> This happens when a system dialog pops up (e.g. an activity chooser) and
> your activity is still visible in the background (blurred, but still
> visible). You may not want to clean up certain resources while your activity
> is paused but still visible.

Technically, these are dialog-themed activities, which is why
onPause() is called. onStop() is not called because the underlying
activity is still visible.

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

Reply via email to