I don't know any file chooser you could use, but I can show you how I made my own long time ago. It's actually pretty ugly, but it does what you ask for. You can select multiple files and an ArrayList<File>
is returned via Intent
.
So you could use it as an example of how to do it, and implement it yourself, if you really need it to (I wouldn't recommend you to use mine as it is now).
Here are the links to GitHub:
Below there's a screenshot of FileSelectionActivity
, as I said, ugly.
"Go Up" goes to a higher level of the file hierarchy, there are two ListView
s, one for directories and one for files. The files have checkboxes. When the share button is pressed, each item in the second ListView
is checked to see if the checkbox is active or not. That's line 71 of the FileSelectionActivity
file.
Anyways, I hope this helps you make your own file selector, or something.