Click here to Skip to main content
12,510,238 members (53,811 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: Mobile Android SQLite
Hi,

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.

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

Solution 2

Hi,

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...

http://www.compiletimeerror.com/2013/01/login-application-for-android.html
  Permalink  
v4
Comments
jaswant_ 8-Jan-13 9:30am
   
it works for me also.. android app sends two string values to server(servlet application)
Rate this: bad
 
good
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,

—MRB
  Permalink  
Comments
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
   
In

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
Web02 | 2.8.160929.1 | Last Updated 7 Mar 2013
Copyright © CodeProject, 1999-2016
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