HTTP Post

Problems with WiFi, SQLite ,Bluetooth, WiMax, Proxies, etc...

HTTP Post

Postby xspotlivin » Sun Apr 19, 2009 11:38 pm

I'm trying to do an HTTP Post, but I'm having a lot of trouble. I have a server running on my computer. I know the URL needs to be my IP address and port number. How do you create a URL object out of an IP address and port number? I also have some headers and such that I need to put on the post message. I haven't seen anyone doing a simple HTTP post on Android. Can anyone help me?
xspotlivin
Junior Developer
Junior Developer
 
Posts: 23
Joined: Thu Feb 26, 2009 8:15 am
Location: Cambridge, MA

Top

Postby xspotlivin » Sun Apr 19, 2009 11:41 pm

And extra note: I've only seen how to do an HTTP Post with the RequestQueue. However, it is not supported in the latest SDK.
xspotlivin
Junior Developer
Junior Developer
 
Posts: 23
Joined: Thu Feb 26, 2009 8:15 am
Location: Cambridge, MA

Postby Moons » Wed Apr 22, 2009 5:44 pm

Moons
Developer
Developer
 
Posts: 25
Joined: Fri Feb 13, 2009 9:19 pm

Top

Return to Networking & Database Problems

Who is online

Users browsing this forum: Google Feedfetcher and 3 guests