[ 
https://issues.apache.org/jira/browse/CB-1963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brandon Tooke updated CB-1963:
------------------------------

    Description: 
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.

I have set the appropriate permissions in config.xml.

  was:
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.

    
> 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
>              Labels: blackberry
>
> 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.
> I have set the appropriate permissions in config.xml.

--
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

Reply via email to