Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A53D6EE8C for ; Tue, 4 Dec 2012 21:42:58 +0000 (UTC) Received: (qmail 36861 invoked by uid 500); 4 Dec 2012 21:42:58 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 36756 invoked by uid 500); 4 Dec 2012 21:42:58 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 36748 invoked by uid 500); 4 Dec 2012 21:42:58 -0000 Delivered-To: apmail-incubator-callback-dev@incubator.apache.org Received: (qmail 36744 invoked by uid 99); 4 Dec 2012 21:42:58 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Dec 2012 21:42:58 +0000 Date: Tue, 4 Dec 2012 21:42:58 +0000 (UTC) From: "Brandon Tooke (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <216615007.60568.1354657378417.JavaMail.jiratomcat@arcas> In-Reply-To: <1365706752.60564.1354657258809.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (CB-1963) BlackBerry app crashes on startup when trying to take control of back button MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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