I am creating an Android App UI with PhoneGap and jQuery moble. Although the dialog of jQuery mobile was displayed on HTML, when the back key of the device is pressed, this application will be exited. I would like to close not an application but its dialog. What should I program?
Share
You should listen to
backbuttonevent and act accordingly. Something like this should work: