Android Question Open Gallery-Specific Path

Ydm

Active Member
Licensed User
Longtime User
I could write a lot easier for other programs I worked long hours with B4X.
I wrote the questions in the forum you can get answers too late. (Answer only because it comes from Erel.)
I want to open any folder in the gallery. It should not be a big thing.

B4X:
Dim i As Intent
       i.Initialize(i.ACTION_PICK, "file://"&File.DirRootExternal&"/AnyDir")
       i.SetType(tur&"/*")
       iRGallery.startActivitywithResult(i)

Despite calls to employees for hours, I could not find a solution that works.
 

Ydm

Active Member
Licensed User
Longtime User
Why in the "Intent" class not SetDataType?
So intent does not work.
There's only "SetType".
 
Upvote 0
Top