0

If an android app converts user input to a valid uri and the app launches a browser window with that uri, does the app need to declare android.permission.INTERNET or similar the manifest? On my own device it works fine without but I'm not sure if it's necessary in order for it to work on other devices.

geco17
  • 5,152
  • 3
  • 21
  • 38

2 Answers2

3

If you mean "starts an activity with an ACTION_VIEW Intent and that Uri", then you do not need the INTERNET permission.

CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491
1

According to the documentation the INTERNET permission is only required when your application creates network sockets, since in your case it is the browser that does the network operation and not your app then INTERNET permission is not necessary, this should be true for all phones.

Reference:
INTERNET PERMISSION

AguThadeus
  • 310
  • 2
  • 10