Android Question Choose folder and access content

Nickelgrass

Active Member
Licensed User
Longtime User
Hello,
I am using the FileDialog to let the user choose a folder either on the SD card or in the internal memory. I set the filepath to file.dierootexternal. That returns the path "/storage/emulated/0" when chosen. Now if I go up one level to "/storage/emulated" then the folder "/0" is not listed and I do not have any way to return to the file.dirrootexternal. Why is this?

Second question is if it is possible to use the contentchooser to select a folder. Using external choosers would give a much nicer and more convenient way to select a folder. The filedialog is a bit basic.

Thanks
 

DonManfred

Expert
Licensed User
Longtime User
Note that you do not have access to that path (File.DirRootExternal) anylonger.

All informations/Restrictions/Possibilities are listed here:


Second question is if it is possible to use the contentchooser to select a folder

Not that i know of.
 
Upvote 0
Top