I want to开发者_JAVA技巧 convert EncodedImage into Bitmap in Blackberry.
EncodedImage encodedImage = EncodedImage.getEncodedImageResource("imahge.png");
Bitmap bitmap = encodedImage.getBitmap();
BitmapField img = new BitmapField();
img.setImage(your encoded image);
screen.add(img);
EncodedImage img=EncodedImage.getEncodedImageResource("Imagename");
Bitmap bitmap=img.getBitmap();
精彩评论