Where is it documented as to the format of your data stream? From what I can gather from the docs is that if the data cannot be decoded, you get NULL back.
On Sep 16, 2:02 pm, Siji T G <[email protected]> wrote: > Hello Oscar, > > Thanks for the reply. > But I already tried this approach. > > ByteArrayInputStream imageStream = new ByteArrayInputStream(data); > > Bitmap theImage = BitmapFactory.decodeStream(imageStream); > > *theImage* returned by *decodeStream* is null. > > Regards > > Siji -- 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] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

