On 4 March 2013 10:50, Donghua <[email protected]> wrote:

> I think that's not the real problem, *BitmapFactory.decodeStream *accept
> inputstream, and will reading the stream to a buffer in its implementation.


Good point.

I would look into the HTTP headers around connection management. Maybe
server returns the image chunked? While your HttpClient instance works with
some defaults, URLConnection can be a bit more clever.

Why do you need the HttpClient anyway, if the stream returned by
URLConnection works fine?

-- 
You received this message because you are subscribed to the Google Groups 
"Android Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/android-discuss?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to