For internet permission in your app first go to your project manifest=> if you just need to access internet Just put this line like below:- <uses-permission android:name="android.permission.INTERNET" />