Click here to Skip to main content
11,935,031 members (56,612 online)
Rate this:
Please Sign up or sign in to vote.
See more: Mobile Android SQLite

My program send a request to the server for name and location.It need to receive it and implement in the apps self tracker.The problem is that i dont know that part. The online server and db is done previously.

Posted 16-Sep-11 1:29am
Rate this: bad
Please Sign up or sign in to vote.

Solution 2


I found a really useful blog for this. It has a sample login android application which sends the user name and the password to a remote server to validate. the server is a simple servlet application. It validates and sends the response back to android app.. It looks really simple and the below page contains complete code as well... Please go through.. Hope this would be helpful...
jaswant_ 8-Jan-13 9:30am
it works for me also.. android app sends two string values to server(servlet application)
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

If the server is of the classical HTTP kind you'll find a perfect client side example on how to make a request here: "Example of HTTP Get Request Using HttpClient in Android"[^]

Best Regards,

dixonjames 16-Sep-11 10:19am
thank a lot!!!
dixonjames 16-Sep-11 10:21am
how do we use the info to implement in an app
dixonjames 16-Sep-11 10:27am

Perform a HTTP POST Request with the HttpClient in Android i get error under postparameters
dixonjames 16-Sep-11 10:31am
i got it solved
Neha Thanka 20-Sep-11 0:57am
Can you explain....?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web04 | 2.8.151126.1 | Last Updated 7 Mar 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100