Bitmap bitmap = BitmapFactory.decodeStream(new
ByteArrayInputStream(bytes));

Then just use the bitmap in an ImageView.

On Mar 27, 12:38 am, Parth <[EMAIL PROTECTED]> wrote:
> I am reading image from the server by making an HttpUrlConnection. And
> i am getting response in the form of byte array.
> How can i display image from this byte array on the emulator ?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to