Android客户端服务器通信

编程入门 行业动态 更新时间:2024-10-27 20:27:16
本文介绍了Android客户端服务器通信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我在Android的应用程序而获得的经度和纬度的GPS。我想送这些土地增值税和长到服务器的特定端口,希望接收服务器到我的Andr​​oid应用程序的响应。

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客户端服务器通信

本文发布于:2023-08-07 03:31:03,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1316718.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:客户端   通信   服务器   Android

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!