I am new to android and I need to develop an application which stores the location information in server. And now another application should receive it from the server and display it in textview. Is there any way to do it. please help.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To communicate to other devices/servers you need some protocol. You can use your own socket, or use Http Protocol.
By Using HttpProtocol you can invoke a url, post some data to url, get some data from the url.
Now, If you have decided to go to Http Connection, you would need some webservices, by which you can send and receive data from url, there are various types of webservices, in which, two are mostly used.
1. Rest Services
2. Soap Webservices
and you can send and receive data, either in xml or json, as both are very standardized and easy to use.