S shashkiranr Active Member Licensed User Longtime User Mar 22, 2015 #1 Hi All, I would like to know how to get a file of any type(random file) using content chooser. OR how to open the file managers installed in the phone to get the file path. Regards, SK
Hi All, I would like to know how to get a file of any type(random file) using content chooser. OR how to open the file managers installed in the phone to get the file path. Regards, SK
NJDude Expert Licensed User Longtime User Mar 22, 2015 #2 Search the forums for "ContentChooser" Upvote 0
S shashkiranr Active Member Licensed User Longtime User Mar 22, 2015 #3 Hi NJDude, I searched the forums. I also used content chooser to open the file managers in my phone but i get a message No such application exist. im using the below code B4X: CC.Initialize("CC") CC.Show("file/*","Choose File") Regards, SK Upvote 0
Hi NJDude, I searched the forums. I also used content chooser to open the file managers in my phone but i get a message No such application exist. im using the below code B4X: CC.Initialize("CC") CC.Show("file/*","Choose File") Regards, SK
NJDude Expert Licensed User Longtime User Mar 22, 2015 #4 You mentioned "random file" (not sure what you mean by that) but you can also do this: B4X: CC.Show("*/*","Choose File") Upvote 0
You mentioned "random file" (not sure what you mean by that) but you can also do this: B4X: CC.Show("*/*","Choose File")
S shashkiranr Active Member Licensed User Longtime User Mar 22, 2015 #5 I tried that. It opens up google drive. I do not get any option to choose other files. random file can be a .dat file for random access files. Upvote 0
I tried that. It opens up google drive. I do not get any option to choose other files. random file can be a .dat file for random access files.
NJDude Expert Licensed User Longtime User Mar 22, 2015 #6 Content chooser will work with registered mime types, otherwise, you will get an error or not the expected results. Upvote 0
Content chooser will work with registered mime types, otherwise, you will get an error or not the expected results.