I´m building a project using JQuery Mobile and PhoneGap.
Is there a way to exit an app when the user hits the back button (standard way of exiting an app on android) but you still have alot of "history" in the webview.
Problem i´m having that the user can navigate through alot of pages and then i provided a button for them to go directly to the startpage. And if they hit the phones back button they will exit the app.
I have read about navigator.app.exitApp() but can´t find any docs on it on PhoneGap (or maybe it isn´t PhoneGap code?)