File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Android and the fly likes Overiding Home Button Functionality Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Overiding Home Button Functionality" Watch "Overiding Home Button Functionality" New topic
Author

Overiding Home Button Functionality

Sahil Reddy
Ranch Hand

Joined: Jan 24, 2011
Posts: 145
I was trying




But on Pressing "Home" key on emulator "Second Acticity" does not start , infact the "Home Scree" comes up . Please suggest !!!

Regasrds


P.S The above lines of Code are in onKeyDown() Activity Callback Method.

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Overiding Home Button Functionality