use permission internet manifest android code example
Example: allow internet permission android
//add to AndroidManifest.xml
<uses-permission android:name="android.permission.INTERNET" />
//add to AndroidManifest.xml
<uses-permission android:name="android.permission.INTERNET" />