views:

69

answers:

2

Hi Folks,

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?

Thanks in advance.

Edit:

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

+1  A: 

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.

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

Yoni Samlan
@Yoni Samlan: my app is working in wifi. but not in 3g network. can you guess the solution?
Praveen Chandrasekaran
Not unless you do what I said and test the Browser app to that server to check accessibility of that server from a non-local network, and/or post a traceback like I asked.
Yoni Samlan
A: 

Do you have a data package with your provider? And set the apn properly? Can you open other websites on your phone from the browser?

Mathias Lin