Brandon Tooke created CB-1963:
---------------------------------
Summary: BlackBerry app crashes on startup when trying to take
control of back button
Key: CB-1963
URL: https://issues.apache.org/jira/browse/CB-1963
Project: Apache Cordova
Issue Type: Bug
Components: BlackBerry
Affects Versions: 2.2.0
Environment: BlackBerry WebWorks SDK 2.3.1.5, BlackBerry Torch 9800
Simulator OS 6.0.0.337, Events API
Reporter: Brandon Tooke
Assignee: Tim Kim
Priority: Critical
When attempting to include {code}document.addEventListener("backbutton",
onBack, false);{code} within my onDeviceReady function, the app crashes (quits)
during the loading/splashscreen phase.
I have also tried to use the WebWorks function
{code}blackberry.system.event.onHardwareKey(blackberry.system.event.KEY_BACK..{code}
but get the same result; app crashes during loading.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira