Ydm Active Member Licensed User Longtime User Oct 9, 2016 #1 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. Code: Copy 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.
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. Code: Copy 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.
Erel B4X founder Staff member Licensed User Longtime User Oct 10, 2016 #2 What is iRGallery? You can use ContentChooser to let the user select an image. However it will not allow you to set a specific folder. Upvote 0
What is iRGallery? You can use ContentChooser to let the user select an image. However it will not allow you to set a specific folder.
Ydm Active Member Licensed User Longtime User Oct 13, 2016 #3 They needed specific selection. Upvote 0
Ydm Active Member Licensed User Longtime User Oct 15, 2016 #4 Why in the "Intent" class not SetDataType? So intent does not work. There's only "SetType". Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Oct 16, 2016 #5 Ydm said: Why in the "Intent" class not SetDataType? Click to expand... There is no such property in the native API. Upvote 0
Ydm said: Why in the "Intent" class not SetDataType? Click to expand... There is no such property in the native API.
Ydm Active Member Licensed User Longtime User Oct 16, 2016 #6 http://stackoverflow.com/questions/6074270/built-in-gallery-in-specific-folder/8255674#8255674 Examples available in setData... I could not find a solution to this issue. I wonder if any of the users do not B4x such a request? Upvote 0
http://stackoverflow.com/questions/6074270/built-in-gallery-in-specific-folder/8255674#8255674 Examples available in setData... I could not find a solution to this issue. I wonder if any of the users do not B4x such a request?
Erel B4X founder Staff member Licensed User Longtime User Oct 17, 2016 #7 The second parameter of the Initialize method sets the data. You can also easily set it with JavaObject. Upvote 0
The second parameter of the Initialize method sets the data. You can also easily set it with JavaObject.