开发者

Convert EncodedImage to Bitmap in Blackberry

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();
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜