I am developing a Android app using Jquery Mobile/Phonegap. I have the following code to control the phone\'s back button:
document.addEventListener(\"backbu
You would need to keep track of when the homepage is being displayed. When you know you are on the homepage call:
navigator.app.exitApp();