How to Add Internet Permission to your Android Project

public static final String INTERNET was added in API level 1
Allows applications to open network sockets.Constant Value: "android.permission.INTERNET"

1. In the AndroidManifest.xml file, and add the following line Add the line between the <uses-sdk../> and the <application> tags. If this is not included, the Android app will not be able to connect to the internet or open network sockets.

<uses-permission android:name="android.permission.INTERNET" />

2. Compile and run! 

Resources: http://developer.android.com/reference/android/Manifest.permission.html#INTERNET