Bundling images with Blackberry

Posted by Casebash on Stack Overflow See other posts from Stack Overflow or by Casebash
Published on 2010-03-03T03:46:58Z Indexed on 2010/06/01 23:53 UTC
Read the original article Hit count: 173

Filed under:
|

How do I get bundled images with the BlackBerry Eclipse Plugin 1.1 Beta? I copied an image into "res/background.jpg" and tried to load it using Bitmap.getBitmapResource on background.jpg. Unfortunately, the image wasn't found (Illegal argument exception). I tried moving my image file into the src folder as per the advice here, but that didn't work either. I have opened up the .jar file and the background image is present at the root of the .jar file. The option to convert image files to .png isn't selected either.

Links

© Stack Overflow or respective owner

Related posts about images

Related posts about blackberry