How do I get Internet permission on Android?

How do I get Internet permission on Android?
Answer
Adding internet permission to Android Project
  • Locate your AndroidManifest.xml file in your project folder,
  • Now click on “Add” to add a new element to manifest file.
  • Now you would see Name filed, select : android.permission.INTERNET, You can leave the Max SDK version as blank, but you can set a max API level as say 5.
  • Now if you see the xml view, you would see,
 

Tìm kiếm

Back
Top