Problem In Connection

Problems with WiFi, SQLite ,Bluetooth, WiMax, Proxies, etc...

Problem In Connection

Postby mobile developer » Fri Nov 06, 2009 2:16 pm

Can anyone knows what is the problem
When I am trying to Connect to server or even "http://www.google.com" through coading it gives me exception
java.net.SocketException: Permission denied (maybe missing INTERNET permission)
Is there any settings problem in emulator
I am using Windows XP SP2.
Plz Help
mobile developer
Freshman
Freshman
 
Posts: 2
Joined: Thu Nov 05, 2009 9:41 am

Top

Maybe...

Postby loadao » Tue Nov 24, 2009 7:47 am

try in AndroidManifest.xml file, you should coding... <uses-permission android:name="android.permission.internet" />
loadao
Freshman
Freshman
 
Posts: 2
Joined: Tue Nov 24, 2009 7:40 am

Postby virtual » Tue Nov 24, 2009 9:11 am

Even after giving INTERNET permission to y,r app, if things not work for you then make sure these things

If you are in LAN then you need to check if the http port(default 80 or 8080) is not blocked.
and the if you are using proxy server then check out:
http://developer.android.com/guide/deve ... lator.html
Regards,
Virtual
virtual
Developer
Developer
 
Posts: 26
Joined: Tue Mar 24, 2009 11:20 am

Top

Return to Networking & Database Problems

Who is online

Users browsing this forum: No registered users and 10 guests