Actually, entire android web clients will connect my server(some kind of 
proxy server). So I could not assume all the client which get remote image 
to show will use URLConnection(Some apps have already encountered this 
problem).
Maybe it's really some bug stands on there.
I think we need to offer a permanent solution to the problem not just 
bepass it.

在 2013年3月4日星期一UTC+8下午8时01分02秒,Daniel Drozdzewski写道:
>
> On 4 March 2013 10:50, Donghua <[email protected] <javascript:>> 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