My app works over WiFi. But not over 3G in android? Any guesses?

I have developed an application for which the target version is 4 (Android 1.6) to 7 (Android 2.1). I tested this app on dev phone 2 (google-Io-Device 1.6 version). I am doing some XML parsing over the internet. I have installed <uses-permission>

in my manifest. it works great on WI-FI network. But it doesn't work in Motorola Droid 2.1 with 3G network. Are there any other specific things for the 3G network? Any ideas?

Thanks in advance.

Edit:

My application works over a WiFi network. But not over the 3G network. Any guesses?

+2


source to share


1 answer


Only android.permission.INTERNET

. Chances are, the server you are connecting to is only accessible from your local network if it is behind a router / firewall. A simple test is trying to open the same url you are trying to use in the system browser application.



It would also be helpful to see a trace from logcat.

+3


source







All Articles