What are you trying to do ?
Can you post your code ?
For the HttpClient usage, there are several examples at
http://hc.apache.org/httpcomponents-client/examples.html

I have no best practice for you but concerning my usage:
* I only use HttpClient when I need to handle cookies.
* For REST API calls, I use URLConnection which is quite simple.

On Oct 9, 12:54 pm, Jasp182 <[EMAIL PROTECTED]> wrote:
> I have tried to call out to the web using both HttpClient and
> URLConnection, and I get "unknown error" in both cases at the point
> the call is actually made (HttpClient.execute() or
> URLConnection.getContent() methods).  My emulator is able to connect
> to the web, because I can use the Browser with no problem.  So, I'm
> assuming that there aren't any issues with my settings (this is being
> done on my home network with no proxy server).  Is there a "best
> practices" preference between using HttpClient or URLConnection, and
> are there any examples or sample apps (with source code) that make
> simple calls to the web?
--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to