Android Question Direct the user to the camera permission section

SMOOTSARA

Active Member
Licensed User
Longtime User
hello guys ?

I'm going to take the user to this address with the push of a button

App info -> App permission -> camera permission



I managed to take this step to the user with this code (( App info -> ))

for sdk 29
B4X:
Dim Intent As Intent
 Intent.Initialize ("android.settings.APPLICATION_DETAILS_SETTINGS", "package:" & Application.PackageName)
 StartActivity(Intent)

tip :
For older devices this address is probably different
For example, Android 5
And it is different for Android 10

thanks?
 
Top