1

I am currently writing a Android application. I need to connect to a internet web server, send username/password credentials and accept cookies from the server for use for subsequent requests to the same server.

Do you know of a HTTP client class or anything I can use in the SDK that currently supports this?

Raj
  • 3,051
  • 6
  • 39
  • 57

3 Answers3

6

DefaultHttpclient and HttpClient class are already there. You can use either one of this.

Paresh Mayani
  • 127,700
  • 71
  • 241
  • 295
3

Do you mean HttpClient and its various implementors?

nicholas.hauschild
  • 42,483
  • 9
  • 127
  • 120
2

There is Resty and an Android version available on https://github.com/mravenel/Resty (DISCLAIMER: I'm the author)

Jochen Bedersdorfer
  • 4,093
  • 24
  • 26