Participant
5 years, 5 months ago
#18890
::
Hi Ralf,
The Device Button events like “back” and “home” can be detected and overwritten via JQuery/JS:
You can add this line of code to the onInit event pf your first screen:
document.addEventListener(‘backbutton’, function(){
//do stuff here
}
Be Aware that overwriting the event will supress the native functions of the button, if you want to exit the app, you will need to code that yourself.