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

Native Development

Reply
Developer
Posts: 97
Registered: ‎11-13-2012
My Device: BB10 Simulator
My Carrier: Globe Telecom

HELP Load a Blob Image to ImageView

Hi guys, i've searched in google and can't find any similar problem with mine. I don't know how I can load a BLOB string to an ImageView.

 

I am getting the blob data in the cloud and want to display it in an imageview. I have tried WebImageView and really works well for url images. but this time I wanted to know how I can load BLOB Images to ImageView.

 

If you know, please teach me guys. Thanks so much. 

Developer
Posts: 6,152
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30
My Carrier: Orange

Re: HELP Load a Blob Image to ImageView

Either directly or with a little bit of manipulation you should be able to use fromPixels()...

 

http://developer.blackberry.com/native/reference/cascades/bb__imagedata.html#function-frompixels-sou...


If you've been helped click on Like Button, if you've been saved buy the app. Smiley Happy

Developer of stokLocker, Sympatico and Super Sentences.
Developer
Posts: 97
Registered: ‎11-13-2012
My Device: BB10 Simulator
My Carrier: Globe Telecom

Re: HELP Load a Blob Image to ImageView

Thanks !!! But I just used WebImageView as a downloader of the image and then I used the .image property!