Start a new topic

On Phonegap, when press the screen and back button, application craches

On Phonegap, when press the screen and back button, application craches


Hi,

I'm integrating Wikitude on a Phonegap application on Android (Cordova 2.8.0 concretely). I'm having some problems when doing certain actions, that leaves the app in an undesirable state. The steps are the followin (also can be reproduced in the HelloWorld sample):


Open the Wikitude view

Click on some place in the screen

Press back button of the device

Application craches and exit


Does anybody know how to solve it? I found some thread that talk about that, but there's no solution (http://devzone.wikitude.com/web/forum/home/-/message_boards/message/219028 and http://devzone.wikitude.com/web/forum/home/-/message_boards/message/169732).

Previously, I catch the backbutton event and do nothing when pressing it.

document.addEventListener("backbutton", function(e) {

}, false);

 

It's like clicking the screen, the architectView view crashes or something like that.

Hi Marc,

Please check very latest samples on github and ensure to use recent Wiktiude SDK 3.0.
Post information about device and OS version in case problem still occurs.

Thanks in advance
Login or Signup to post a comment