How to show dialog to the user to change settings to allow app to make and manage calls after the user selects "Don't ask again"
I am trying to show the permission dialog even if the user selects "Don't ask again" when they click a button using the below code. But this doesn't seem to work...
I'm getting error of READ_PHONE_STATE permission.
Error :
java.lang.SecurityException: getDeviceId: Neither user 10200 nor current process has android.permission.READ_PHONE_STATE.
code:
Dim rp As RuntimePermissions
rp.CheckAndRequest(rp.PERMISSION_READ_PHONE_STATE)
Dim pid As...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.