Android Question ContentChooser & SDK 26: No runtime permission needed?

KMatle

Expert
Licensed User
Longtime User
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.

B4X:
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:
Top