Android 应用程序无法使用 3G 连接

发布于 2025-01-05 22:30:46 字数 242 浏览 4 评论 0原文

我的 Android 应用程序面临一个相当奇怪的问题。这是一个非常基本的应用程序,它连接到服务器并发布请求。

当手机最初打开时,应用程序仅通过 3G 连接启动 - 服务器连接每次都会超时。当我连接到 wifi 网络时,它就可以工作了。最重要的是 - 如果我在此之后切换回 3G,它工作正常。我对发生的事情感到非常困惑。

我是否需要打开某些参数才能使应用程序在没有 wifi 且只有 3G 的情况下在第一次尝试中运行?任何见解将不胜感激:)

I am facing a rather weird problem with my android app. It is a very basic app which connects to a server and posts requests.

When the phone is switched on initially, and the app is started with only a 3G connection - the server connection times-out each and every time. The moment i connect to a wifi network it works. And to top it off - if i switch back to 3G after this , it works fine. I am very confused as to what is going on.

Do I need to turn on some parameter in order for the app to work without wifi and only 3G in the first try? Any insight would be appreciated :)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文