android - How to Take Permission for accessing Wifi? -


in application, want access internet. , know doing this, need include

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

in manifest file of code.

im pretty sure application needs first ask user's permission application connect internet (please correct me if im wrong, because in ios applications asks permission). need android applications too? if so, how i?

if want access internet in application <uses-permission android:name="android.permission.internet" /> should declared in manifest.

for asking permission user, nit need explicitly, android take care of while installing application ,user informed of permissions granted application run , can choose install app.

for example: see screenshot below when app installed in android device

enter image description here


Comments