On devices running gingerbread or older (I think), just turn off the screen.

Or start an activity whose theme is transparent (or something like that, 
google it).

Sorry to be so imprecise.

Doug

On Tuesday, August 21, 2012 10:04:03 PM UTC-7, Ubuntu guy wrote:
>
> Hello, 
>
>    I'm developing an application and need to quickly test a scenario 
> where my activitiy's onPause() is invoked (without onStop()). 
> As per the documentation, this is a scenario where a dialog is shown 
> on top of my activity. I tried long press of power down button to pop 
> up a dialog, however, it doesn't invoke a onPause() at all. 
>
>    Is there any easy way to simulate this scenario? 
>
> Thanks in advance ! ! ! 
>

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