Upload Data into Web Server

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

Upload Data into Web Server

Postby Anen » Wed Nov 12, 2008 8:03 am

[font=Lucida Console] [/font]
Hi to all,

I am new to android and databases. I would like to send the particular data from database into web server. Anyone have tut or example app? Await for reply :?: :roll:
A candle is not dimmed when lighting another candle.

ANEN..
Anen
Freshman
Freshman
 
Posts: 6
Joined: Wed Nov 12, 2008 7:48 am
Location: Canada

Top

Postby MrSnowflake » Wed Nov 12, 2008 8:47 am

I'll give you the workflow:
1) Read stuff from database.
2) Send stuff using the HttpClient and a HttpPost (or something like that) to the script on the webserver.
3) On the webserver: Do something with the database stuff.
4) You're done!

Maybe some authentication is needed too.
User avatar
MrSnowflake
Moderator
Moderator
 
Posts: 1439
Joined: Sat Feb 16, 2008 3:11 pm
Location: Flanders, Belgium

Postby Anen » Wed Nov 12, 2008 11:36 am

MrSnowflake wrote:I'll give you the workflow:
1) Read stuff from database.
2) Send stuff using the HttpClient and a HttpPost (or something like that) to the script on the webserver.
3) On the webserver: Do something with the database stuff.
4) You're done!

Maybe some authentication is needed too.



Thanks for reply MrSnowflake. I understand ur concept and i need any of the tutorial for how to use HttpPost and HttpResponse in android or sample code for those one. :) :!: :!: :?: :?:
A candle is not dimmed when lighting another candle.

ANEN..
Anen
Freshman
Freshman
 
Posts: 6
Joined: Wed Nov 12, 2008 7:48 am
Location: Canada

Postby MrSnowflake » Wed Nov 12, 2008 12:22 pm

Check the Java tutorials for this and also take a look at the advanced tutorials on this forum, theres a httppost tut somewhere.
User avatar
MrSnowflake
Moderator
Moderator
 
Posts: 1439
Joined: Sat Feb 16, 2008 3:11 pm
Location: Flanders, Belgium

Top

Return to Networking & Database Problems

Who is online

Users browsing this forum: Exabot [Bot] and 3 guests