rather than using BitmapUtils.decodestream(). can you try different approcah like read the bytes from stream in to file and decode the file using bitmaputils
On Thu, Sep 22, 2011 at 1:55 PM, Anoop Singh <anoop.singh.k...@gmail.com>wrote: > I am unable to decode Inputstream to convert it to Bitmap.The > BitmapFactory.decodeStream() method fails to read a JPEG image (i.e. > returns null).I have also tried solutions provided in > http://code.google.com/p/android/issues/detail?id=6066.It works in few > situation but fails most of the time. can anyone help me? > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en