Ccna final exam - java, php, javascript, ios, cshap all in one. This is a collaboratively edited question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
Monday, June 4, 2012
What permission do I need to access Internet from an android application?
I get the following Exception running my app:
java.net.SocketException: Permission denied (maybe missing INTERNET permission)
Add the INTERNET permission to your manifest file.
ReplyDeleteYou have to add this line:
<uses-permission android:name="android.permission.INTERNET" />
outside the application tag in your AndroidManifest.xml