Android 应用程序如何与 3G/GPRS/EDGE 配合使用
我开发了一个 Android 应用程序来接收位置,然后发送消息以通过 XMPP 协议在 MySQL 服务器上收集。
我想知道使用 WiFi 和 3G/GPRS/EDGE 之间的区别。
如果我使用WiFi,它可以直接连接到服务器,对吧?但是如果我使用3G/GPRS/EDGE,是否可以向服务器发送消息? 如果可能的话,我是否已设置或需要执行某些操作来检查移动连接的差异?
I developed an android app to receive a location and then send a message to collect at a MySQL server via XMPP protocol.
I want to know a differences between using WiFi and 3G/GPRS/EDGE.
If I use WiFi, it can connect to server directly, right? But if I use 3G/GPRS/EDGE, is it possible to send msg to server?
If possible, am I set up or need to do something to check the differences mobile connection?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
考虑设置一个 HTTP 服务,将参数传递到数据库并将记录(如果有)传回。这样它肯定可以在公共网络上运行。
Consider setting up an HTTP service that would pass parameters to the database and pass the records (if any) back. This way it will work over public networks for sure.