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
BlackBerry Development Advisor
Posts: 15,723
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Invalid cod file randomly from Ripple Web Works project

What BlackBerry Smartphone model and BlackBerry handheld software version are you testing on?  You can find this under Options, About on the BlackBerry Smartphone.

 

From what development tool are you using javaloader from?  How big is your final COD file (before extracting)?

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Regular Contributor
Posts: 66
Registered: ‎09-10-2011
My Device: Playbook, Curve 9300, HTC Desire HD and iPhone 4
My Carrier: O2

Re: Invalid cod file randomly from Ripple Web Works project

Test devices:

 

Bold 9700 - V5.0.0.862 (bundle 1446, Platform 5.1.0.175)

 

Curve 9300 - V6.0 Bundle 2647 (v6.0.0.600, Platform 6.6.0.223)

 

I have upgraded both phones to the most recent version of V6 which they support and both act exactly the same way regardless of OS.

 

I've reverted back to these versions because we'd like to support the versions the devices shipped with. Plus, the Bold is the client's device!

 

 

Javaloader? We're using it direct from the current version of the Webworks SDK.

 

Everything is being built using Ripple though - both the new update (from last night) and the previous version.

 

As soon as we add the extra images, the app fails. Take the images away and it all works again - even if we keep references to them in the HTML/JS.

 

I'm more than happy to send over a copy of the project privately but, we'd need to discuss confidentiality as the project is under a very strict NDA.

 

Thanks!

BlackBerry Development Advisor
Posts: 15,723
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Invalid cod file randomly from Ripple Web Works project

How large is the COD file with all of the images added?

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Regular Contributor
Posts: 66
Registered: ‎09-10-2011
My Device: Playbook, Curve 9300, HTC Desire HD and iPhone 4
My Carrier: O2

Re: Invalid cod file randomly from Ripple Web Works project

Roughly 9Mb.

 

Not large really.

BlackBerry Development Advisor
Posts: 15,723
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Invalid cod file randomly from Ripple Web Works project

That's likely the cause.  You are going over the limit.

 

The maximum size of a BlackBerry smartphone application

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Regular Contributor
Posts: 66
Registered: ‎09-10-2011
My Device: Playbook, Curve 9300, HTC Desire HD and iPhone 4
My Carrier: O2

Re: Invalid cod file randomly from Ripple Web Works project

That's odd because that article suggests a limit of close to 14Mb...

 

Rememebr I'm using Ripple to compile the app and am using the OTA method so all the cod files are of the correct size??

 

If the main COD is only 9Mb I wouldn't have thought this was the issue??

 

Totally prepared to be proved wrong though!

 

If this is the issue...how would you suggest embedding assets that would push the app over this limit?

 

If a device has a memory card of 1GB+ surely an app larger than 14Mb is possible??

 

We've got apps of nearly 300MB+ on iOS and Android.

Regular Contributor
Posts: 66
Registered: ‎09-10-2011
My Device: Playbook, Curve 9300, HTC Desire HD and iPhone 4
My Carrier: O2

Re: Invalid cod file randomly from Ripple Web Works project

OK, so I understand/appreciate the 50:50 split of app logic and 'assets' but, wow, under 8Mb per half?

 

So wish I could draw these images in code...

 

I have to say that I find the support system here to be incredibly difficult to navigate and find this information.

 

Not sure how you'd sort it but, Android and iOS are lot easier to trawl and more transparent about 'details' like this.

 

So, separate apps for each device profile then is the only way to go if we want to have high-res image assets - pages of a PDF etc.

 

VERY much appreciate your support on this and hope it helps someone else.

BlackBerry Development Advisor
Posts: 15,723
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Invalid cod file randomly from Ripple Web Works project

No problem, glad to help out.

 

I just wanted to point out that this particular size limitation applies to BlackBerry Smartphones only.

 

If you are building for the Tablet OS, the maximum application size is much higher (2 GB).

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Regular Contributor
Posts: 66
Registered: ‎09-10-2011
My Device: Playbook, Curve 9300, HTC Desire HD and iPhone 4
My Carrier: O2

Re: Invalid cod file randomly from Ripple Web Works project

I'm assuming that going forwards with OS10 that this same increase in size will also be available on new smartphone devices using that OS?

We've got an app on the Playbook already (before launch) but that was coded with Actionscript...none of this webworks malarky! Smiley Wink
BlackBerry Development Advisor
Posts: 15,723
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Invalid cod file randomly from Ripple Web Works project

BlackBerry 10 should see similar limits to what exist in the BlackBerry Tablet OS today, since BlackBerry 10 is the evolution of the BlackBerry Tablet OS.  But I can't say for certain until it's released.

 

Whatever limit is in place should be much higher than what exist on current BlackBerry Smartphones.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker