Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Contributor
CFMatt
Posts: 10
Registered: ‎12-01-2011
My Device: Z10 / Bold 9800
My Carrier: 3

Webworks App Crashing 2.2/2.3

Hi,

 

We're developing a WebWorks application for Blackberry which is a game built with jQuery Mobile and uses some of the WebWorks apis.

 

Our app runs "ok" with the 2.1 SDK, it occasionally encounters memory issues which is one of the reasons we're trying to get it working with 2.2.

 

When the app is built with 2.2 (and the latest unreleased 2.3), and run on our Bold 9800 one of three things happen:

  1. The app's loading screen appears and instantly crashes
  2. The app loads fully, and then randomly crashes out
  3. The app almost loads with a black page background and then crashes

After the app has crashed once, number 1 tends to happen more until after five or so of these we'll get a 2 or a 3 again.

 

I'm not sure where the issue lies, there's never anything useful in the event log, the only thing I've seen was 

 

a UI - UIE: no face detected

 If you have any idea what sort of things we should look at or even how to get a better idea of WHY the app is crashing since we don't seem to get any decent crash message in the logs.

 

I've attached some information below in case it's useful.

 

<feature id="blackberry.system" required="true" version="1.0.0.0" />
  <feature id="blackberry.io.file" required="true" version="1.0.0.0" />
  <feature id="blackberry.utils" required="true" version="1.0.0.0" />
  <feature id="blackberry.io.dir" required="true" version="1.0.0.0" />
  <feature id="blackberry.app" required="true" version="1.0.0.0" />
  <feature id="blackberry.app.event" required="true" version="1.0.0.0" />
  <feature id="blackberry.invoke" version="1.0.0"/>
  <feature id="blackberry.invoke.BrowserArguments" version="1.0.0"/>
  <feature id="blackberry.identity" version="1.0.0"/> 
 
  <access subdomains="true" uri="*" />

  <icon rim:hover="false" src="resources/icon.png" />
  <icon rim:hover="true" src="resources/icon_hover.png" />

  <rim:orientation mode="portrait" />
  
  <rim:loadingScreen backgroundColor="#000000"
                     foregroundImage="resources/loading_foreground.png"
		     onFirstLaunch="true">
    <rim:transitionEffect type="fadeOut" />
  </rim:loadingScreen>
  

  <content src="index.html" />

 

Of particular interest would be anything javascript related that can cause this kind of crash on a blackberry.

 

Thanks in advance for any information,

Matt.

 

Please use plain text.
BlackBerry Development Advisor
tneil
Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: Webworks App Crashing 2.2/2.3

When you say using the unreleased 2.3 which branch from github have you patched with?

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
Please use plain text.
Contributor
CFMatt
Posts: 10
Registered: ‎12-01-2011
My Device: Z10 / Bold 9800
My Carrier: 3

Re: Webworks App Crashing 2.2/2.3

I found some instructions on a different problem's thread and followed those, so /next/.

Please use plain text.
Regular Contributor
MLUY
Posts: 51
Registered: ‎07-20-2011
My Device: PlayBook
My Carrier: RIM

Re: Webworks App Crashing 2.2/2.3

Hi Matt, 

 

I'm having the same issue with a Bold 9780, running O.S. 6.0.0.285. Would you mind telling me wich OS is running your Torch device? 

 

Thanks

Please use plain text.
New Contributor
Anansy
Posts: 9
Registered: ‎02-15-2010
My Device: Torch | Playbook
My Carrier: Digicel

Re: Webworks App Crashing 2.2/2.3

Hey Matt, was this ever resolved?

Please use plain text.
Contributor
CFMatt
Posts: 10
Registered: ‎12-01-2011
My Device: Z10 / Bold 9800
My Carrier: 3

Re: Webworks App Crashing 2.2/2.3

Unfortunately not, no. We're not spending much time trying to resolve our Blackberry issues - we just can't justify it compared to the other platforms.

Please use plain text.
New Contributor
Anansy
Posts: 9
Registered: ‎02-15-2010
My Device: Torch | Playbook
My Carrier: Digicel

Re: Webworks App Crashing 2.2/2.3

[ Edited ]

Sorry to hear. I had to abandon jqm as it seems too bloated for the older devices.

Please use plain text.