This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Connect to http server example?  RSS feed

 
Max Tomlinson
Ranch Hand
Posts: 365
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all-

I'm interested in writing some test code that connects to a web app/web service.

I would like to use the emulator and a server, both defined in eclipse.

Are there any samples/demos out there to help me get started?

thanks!

Max
 
Monu Tripathi
Rancher
Posts: 1369
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm interested in writing some test code that connects to a web app/web service.

There are two HTTP APIs available (URLConnection and Apache's HttpClient) that you might want to take a look into. However, there is no SOAP client built in.
Are there any samples/demos out there to help me get started?

See if this helps...
 
Max Tomlinson
Ranch Hand
Posts: 365
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Monu-
thanks very much.
Max
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!