Android 应用程序无法使用 3G 连接
我的 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论