onAndroidBackButton

Arguments

eobject

Event object.

eventobject

The native back-button event.

Description

(PhoneGap/Cordova only.) Fires when the back button on an Android device is pressed. To allow the back button to exit the app, call e.event.preventDefault() and then navigator.app.exitApp().