Search code examples
blackberrycordovaripple

BlackBerry emulator doesnt load app


I have Ripple which im using to test app made for android. App is written in html5 and javascript, so i used the same files as i used in android version. I have changed only phonegap file (blackberry ver), and i add:

  • config.xml
  • plugins.xml
  • ext/phonegap.1.2.0.jar
  • resources/icon.png
  • resources/icon_hover.png
  • resources/loading_foreground.png

In Ripple it works fine, but when i created cod file, i can't load it into BlackBerry emulator or BlackBerry device.

Im using BlackBerry WebWorks SDK 2.3.1.5 to create cod file.


Solution

  • I found solution:

    BlackBerry Knowledge Base article: The maximum size of a BlackBerry smartphone application
    Support forum thread: "Load java program" on simulator and "Jvm: errors in .cod" problem

    The cod file was too big, and files inside ware too big. The cod file should be less than 8128 KB

    I reduced the image file sizes. A few files were very big, for example one file was 1.21 MB, now it is 287 KB. Quality isn't so good, but it works.