これは私のコードです:
function onLoad(){
alert("onLoad");
document.addEventListener("deviceready",onDeviceReady, true);
}
function onDeviceReady(){
navigator.notification.alert("PhoneGap is working!!");
document.addEventListener("backbutton", onBackKeyDown, false);
}
function onBackKeyDown(e) {
navigator.notification.alert("PhoneGap handle back button click!!!");
/* want you to go back???
if yes go back or exit app
*/
}
手伝ってくれませんか
/* want you to go back???
if yes go back or exit app
*/
どうもありがとう。