On Tue, Jun 15, 2010 at 10:03 AM, guich <[email protected]> wrote:
> How can i simulate pressing the HOME key to put my application in
> pause mode? Currently i call finish() but it destroys the application.

Call startActivity() on an Intent with ACTION_MAIN with category
CATEGORY_HOME -- that will launch the home screen.

-- 
Mark Murphy
CommonsWare
[email protected]
http://commonsware.com

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