KMatle Expert Licensed User Longtime User Jan 10, 2018 #1 I've just increased one of my apps SDK to 26 which accesses pics in the phone's gallery via ContenChooser. I was wondering that (even after a clean install of the app) no runtime permission is needed to access it. Code: Copy Sub Chooser_Result (Success As Boolean, Dir As String, FileName As String) If Success Then Dim bm As Bitmap = LoadBitmapResize(Dir, FileName, 800, 600, True) ... Am I wrong here? I have expected the app to crash due to missing permission. Edit: Maybe it's because the ContentChooser is a user driven input? Last edited: Jan 10, 2018
I've just increased one of my apps SDK to 26 which accesses pics in the phone's gallery via ContenChooser. I was wondering that (even after a clean install of the app) no runtime permission is needed to access it. Code: Copy Sub Chooser_Result (Success As Boolean, Dir As String, FileName As String) If Success Then Dim bm As Bitmap = LoadBitmapResize(Dir, FileName, 800, 600, True) ... Am I wrong here? I have expected the app to crash due to missing permission. Edit: Maybe it's because the ContentChooser is a user driven input?
Erel B4X founder Staff member Licensed User Longtime User Jan 11, 2018 #2 You can see the "dangerous" permissions by clicking on the List Permissions button that is in the logs tab. ContentChooser doesn't require any permission. Upvote 0
You can see the "dangerous" permissions by clicking on the List Permissions button that is in the logs tab. ContentChooser doesn't require any permission.