As Mark noted, use the HttpClient 4 stuff, just like the HttpClient
examples demonstrate (he posted the link).

If you need more Android specifics, the "NetworkExplorer" sample
application from the upcoming Manning book Unlocking Android does all
sorts of HttpClient stuff (HTTP, HTTPS, authentication, REST to
del.icio.us, REST to GData Contacts with ClientLogin token header, and
more).

Source is all here (well what's been updated to 1.0 is there, other
chapters are still coming):
http://code.google.com/p/unlocking-android/

Full disclosure, yes, I am one of the authors, but all the code is
available for free at the google code hosting site there, you don't
have to buy the book to scope out the code (though it's a damn good
book and you might want to check it out too ;)).


On Oct 26, 6:11 pm, Sean Sullivan <[EMAIL PROTECTED]> wrote:
> On Oct 26, 1:50 am, Emery <[EMAIL PROTECTED]> wrote:
>
> > I have spent hours on end trying to figure out how to make a simple
> > HTTP request in Android. Examples and docs are outdated... nothing
> > works. AGGH! Please help
>
> I built an Android application that uses HttpClient to send HTTP
> requests to Yahoo Fire Eagle. The code runs on Android 1.0
>
> You can find all the source code in SVN:
>
>  http://code.google.com/p/jfireeagle/source/browse/#svn/trunk
>
> Sean
--~--~---------~--~----~------------~-------~--~----~
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