Android 应用程序如何与 3G/GPRS/EDGE 配合使用

发布于 2024-10-19 08:29:59 字数 207 浏览 12 评论 0原文

我开发了一个 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

泛滥成性 2024-10-26 08:29:59

考虑设置一个 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文