KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am developing a Android app using Jquery Mobile/Phonegap. I have the following code to control the phone's back button: document.addEventListener("backbutton", backKeyDown, true); function backKeyDown() { // Call my back key code here. $.mobile.changePage("#homepage", "slideup"); } This all works fine, but I would like the app to close when pressing the back button on the homepage only, is this possible?
Tags (comma-separated)
Save Edits
Cancel