我的应用程序的工作原理通过WiFi。但不超过3G在android系统?任何猜测? [英] My App works over WiFi. But not over 3G in android? Any Guesses?

查看:118
本文介绍了我的应用程序的工作原理通过WiFi。但不超过3G在android系统?任何猜测?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经开发了一个应用程序,目标版本是4(Android 1.6的)高达7(Android 2.1系统)。我测试的开发手机2(谷歌-IO设备1.6版本)本应用程序。我做了一些XML通过互联网解析的东西。我设置了<使用许可权> 我的清单。它Wi-Fi网络工作正常。但它不是在摩托罗拉Droid 2.1 3G网络的工作。有没有更具体的东西的3G网络呢?任何想法?

I have developed an App that target version is 4 (Android 1.6) upto 7 (Android 2.1). I tested this app on the dev phone 2 (Google-Io-Device 1.6 version). I am doing some xml parsing stuff through Internet. i set the <uses-permission> on my Manifest. it works fine in WI-FI Network. But its not working in the Motorola Droid 2.1 with 3G Network. Is there any more specific stuff to do for 3G network? Any Idea?

先谢谢了。

编辑:

我的应用程序的工作原理通过WiFi网络。但不超过3G网络。任何猜测?

My App works over WiFi Network. But not over 3G Network. Any Guesses?

推荐答案

只有 android.permission.INTERNET对。这是最有可能的是你连接到服务器,从本地网络才能访问,如果它是一个路由器/防火墙后面。一个简单的测试是尝试打开你想在系统浏览器的应用程序,达到相同的URL。

Only android.permission.INTERNET. It's most likely that the server you're connecting to is only accessible from your local network, if it's behind a router/firewall. An easy test is to try to open the same URL you're trying to hit in the system Browser app.

这也将会是有益的,看看从logcat的回溯。

It'd also be helpful to see the traceback from logcat.

这篇关于我的应用程序的工作原理通过WiFi。但不超过3G在android系统?任何猜测?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆