Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Invalid
-
2.2.0
-
None
-
BlackBerry WebWorks SDK 2.3.1.5, BlackBerry Torch 9800 Simulator OS 6.0.0.337, Events API
Description
When attempting to include
document.addEventListener("backbutton", onBack, false);
within my onDeviceReady function, the app crashes (quits) during the loading/splashscreen phase.
I have also tried to use the WebWorks function
blackberry.system.event.onHardwareKey(blackberry.system.event.KEY_BACK..
but get the same result; app crashes during loading.
I have set the appropriate permissions in config.xml.