我想在Blackberry中将EncodedImage转换为Bitmap。
答案 0 :(得分:8)
EncodedImage encodedImage = EncodedImage.getEncodedImageResource("imahge.png");
Bitmap bitmap = encodedImage.getBitmap();
答案 1 :(得分:1)
BitmapField img = new BitmapField();
img.setImage(your encoded image);
screen.add(img);
答案 2 :(得分:0)
EncodedImage img=EncodedImage.getEncodedImageResource("Imagename");
Bitmap bitmap=img.getBitmap();