[android-developers] Re: BitmapFactory.decodeStream sometimes returns null

2009-12-16 Thread Nilesh
BitmapFactory.decodeStream sometimes returns null Try new BufferedHttpEntity (entity); before calling getContent() On Oct 27, 7:45 pm, Tom tomir...@googlemail.com wrote: Hi, I was having the same problem. It stoped when i gave the images i was loading the header Content-Length. Hope

[android-developers] Re: BitmapFactory.decodeStream sometimes returns null

2009-10-27 Thread Tom
Hi, I was having the same problem. It stoped when i gave the images i was loading the header Content-Length. Hope this helps. On 21 Oct, 14:13, Streets Of Boston flyingdutc...@gmail.com wrote: Hi everyone, Without (sample) code or a log-trace, there is not much that we can do to help you.

[android-developers] Re: BitmapFactory.decodeStream sometimes returns null

2009-10-27 Thread Tom
Hi, I had the same problem. I solved it by giving the images i was loading the haeder content-length. Hope this helps. On 21 Oct, 14:13, Streets Of Boston flyingdutc...@gmail.com wrote: Hi everyone, Without (sample) code or a log-trace, there is not much that we can do to help you. On

[android-developers] Re: BitmapFactory.decodeStream sometimes returns null

2009-10-21 Thread Streets Of Boston
Hi everyone, Without (sample) code or a log-trace, there is not much that we can do to help you. On Oct 20, 11:44 am, kevin.hooke kevin.ho...@gmail.com wrote: I'm having a similar problem where BitmapFactory.decodeStream() is working reliably in the emulator, but the same app transferred to

[android-developers] Re: BitmapFactory.decodeStream sometimes returns null

2009-10-20 Thread kevin.hooke
I'm having a similar problem where BitmapFactory.decodeStream() is working reliably in the emulator, but the same app transferred to the phone is returning null everytime. Any ideas? Kevin Hooke On Oct 14, 5:10 pm, anthony.dahanne anthony.daha...@gmail.com wrote: Hello ! I'm experiencing

[android-developers] Re: BitmapFactory.decodeStream sometimes returns null

2009-10-14 Thread anthony.dahanne
Hello ! I'm experiencing exactly the same problem (working every time while debugging with breakpoints; sometimes failing while normally running), on Android 1.5 Did you solve this problem ? Anthony On Oct 3, 6:09 am, RoryD rory1doug...@gmail.com wrote: I have an activity which performs an