- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm using JQM. I'm trying to trap the android "back" button.
document.addEventListener("backbutton", function(e){
e.preventDefault();
ipback(); // sends back to home page of app
return false;
}, false);
The code above seems to work fine when I build an APK file / install / run.
But, running from the App Preview, it works once, then crashes on the second time with:
!Sorry The application App Preview (process com.intel.html5tools.apppreview) has stopped unexpectedly. Please try again. Force close (button).
Is this a bug in the app preview, or is there a better way to code this?
Thanks in advance, Rich
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My guess is that it is a bug in App Preview, because you are competing with App Preview for that feature... I'll alert the responsible engineer.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page