Back button on device close application
I would like to know step by step how can I set the back button of the device to close the application when it pressed and not return to the previous page.
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
I would like to know step by step how can I set the back button of the device to close the application when it pressed and not return to the previous page.
Hi,
Please check this conversation: https://getsatisfaction.com/apperyio/...
So the only thing that I must do is to create a java script file with the following code:
document.addEventListener("backbutton", function( e )
{
navigator.app.exitApp();
}, false);
Must I call this function inside the applicatin with a special event?
Is anything else that I must do?
Nothing more. You can also take a look at here:
https://getsatisfaction.com/apperyio/...
https://getsatisfaction.com/apperyio/...