0
Help me with this one...
I’m willing to do the job of backbutton
, however I have tried some form and all make the application come out. emulate already working.
I’ll tell you what:
function onLoad() {
document.addEventListener("deviceready", onDeviceReadyBack, false);
}
// device APIs are available
//
function onDeviceReadyBack() {
// Register the event listener
document.addEventListener("backbutton", onBackKeyDown, false);
}
// Handle the back button
//
function onBackKeyDown() {
window.history.back();
//alert("entro aqui");
}
How to stay in the app ?
take a look at this and see if it helps you http://pt.androids.help/q3977
– Otto
You didn’t even help me. I’m struggling to get this.
– Renan Rodrigues