我在Android的应用程序而获得的经度和纬度的GPS。我想送这些土地增值税和长到服务器的特定端口,希望接收服务器到我的Android应用程序的响应。
I have an application in Android which get latitude and longitude from GPS. I want to send these lat and long to server at particular port and want to receive the response of server into my Android application.
请给出的方向,这样我可以使之成为可能。
Kindly give the direction so that I can make it possible.
推荐答案有很多方法来进行数据传输采用了Android平台。
There are many ways to perform this data transfer using the Android platform.
我preference是使用JSON在App和服务器之间进行通信。有关如何在您的应用程序通过这篇文章,读到实现这个例子:www.josecgomez/2010/04/30/android-accessing-restfull-web-services-using-json/
My preference is to use JSON to communicate between the App and the server. For an example of how to implement this in your app read through this article: www.josecgomez/2010/04/30/android-accessing-restfull-web-services-using-json/
更多推荐
Android客户端服务器通信
发布评论