Hello Mark,

AHa, finally I understand.

If I wanted that optimization I would just switch from
HttpURLConnection to HTTPComponents.


- Juan


On Sep 20, 6:48 am, "Mark Murphy" <[EMAIL PROTECTED]> wrote:
> > What's the difference between using java.net.HttpURLConnection and the
> > apache http library? Why is one better over the other and in what
> > circumstances? Or if anyone can give even a general viewpoint? I think
> > I've asked this question about three times before but never got a
> > definitive answer. So this is a very difficult question but one I
> > think that is very important for http programming in Android.
>
> Apache HTTPComponents were originally developed back when
> java.net.HttpURLConnection was godawful. Even today, HTTPComponents offer
> a richer programming model for more complex HTTP usage scenarios (e.g.,
> chunked encoding).
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
> _The Busy Coder's Guide to Android Development_ Version 1.2 Published!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to