Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Highlighted
Developer
Posts: 813
Registered: ‎05-29-2012
My Device: see later
My Carrier: see later
Accepted Solution

Image print

Hello, do u know how to print an image in blackberry from byte[]???

 

byte[] img;
                               img=Base64.decode(sobj.getProperty(3).toString());
                           
                               v2.addElement(img);

 

i have that, i want to print the image in vector2.

 

how do i display my image ( img) on blackberry screen?

 

I am using 7.0.0 blackberry

Developer
Posts: 16,997
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Image print

http://www.blackberry.com/developers/docs/7.1.0api/net/rim/device/api/system/Bitmap.html#createBitma... int, int, int)
or
http://www.blackberry.com/developers/docs/7.1.0api/net/rim/device/api/system/EncodedImage.html#creat... int, int)
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Developer
Posts: 813
Registered: ‎05-29-2012
My Device: see later
My Carrier: see later

Re: Image print

Thank you