Android Question Permission

Sergey_New

Well-Known Member
Licensed User
Longtime User
Is it possible to remove the installed permission to access phone contacts without using the app settings?
 

Sergey_New

Well-Known Member
Licensed User
Longtime User
It seems that without using the intent nothing will work.
To access the application settings page I use:
B4X:
Private Sub OpenAppSettingsPage
    Dim in As Intent
    in.Initialize("android.settings.APPLICATION_DETAILS_SETTINGS", "package:" & Application.PackageName)
    Try
        StartActivity(in)
    Catch
        Log(LastException)
    End Try
End Sub
Please tell me how to supplement the intent to go to permissions and contacts?
 
Upvote 0

Sergey_New

Well-Known Member
Licensed User
Longtime User
After checking many messages about permissions, I realized that it is impossible to remove the installed permission without deleting the application and reinstalling it.
If you have a different opinion, you can try to do it in the attached example.
 

Attachments

  • test.zip
    3.6 KB · Views: 83
Upvote 0
Top