12-21-2011 03:22 PM
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)?
12-21-2011 03:33 PM
Bold 9700 - V220.127.116.112 (bundle 1446, Platform 18.104.22.168)
Curve 9300 - V6.0 Bundle 2647 (v22.214.171.1240, Platform 126.96.36.199)
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.
12-21-2011 03:39 PM
How large is the COD file with all of the images added?
12-21-2011 03:47 PM
That's likely the cause. You are going over the limit.
12-21-2011 03:56 PM
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.
12-21-2011 04:05 PM
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.
12-21-2011 04:23 PM
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).
12-21-2011 04:35 PM
12-21-2011 04:52 PM
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.