I have created an application which will get you your location and someone elses location. When the app is present on both the phones then only they can track other people. I have created a server using WAMP. How do i connect the server and this application which i made. Would like to add a features to it:-
1. I want to send the co-ordinates of gps to a server. And also update the locations.
2.On the server side I also want to show who all are using it and their co-ordinates too. Please help me with the code..
I have created an application which will get you your location and someone elses
Share
Simple way
use
HttpConnectionto your server and put location co-ordinates with device id in post data. and send this data to your server. device id will identify the user who is using the application. in post data you can useJSONorXMLto put your values whatever you want as device id, location co-ordinates and more whatever you want.edited part coding part you can achieve as following