Cannot display images in BitmapField in Blackberry application using simulator 9700?
Posted
by SIA
on Stack Overflow
See other posts from Stack Overflow
or by SIA
Published on 2010-03-14T15:23:06Z
Indexed on
2010/03/14
15:25 UTC
Read the original article
Hit count: 279
Hi Everybody
I am getting Error while displaying bitmap file in my application. code: Bitmap logoBitmap = Bitmap.getBitmapResource("res/icon.png"); BitmapField bitmapField1 = new BitmapField(logoBitmap, Field.FIELD_HCENTER); add(bitmapField1);
Getting error in console tab. Error: Fridg:couldnot find res/icon.png.
I am using Eclipse with Blackberry Simulator 9700. I have added the folder and images and it is displaying in the tree of Eclipse.
Please help
© Stack Overflow or respective owner