Question

I am new to android development. I need to implement a file chooser/ Open-File-Dialog in my project. But I have found that android do not provide any built in support for this. So what is good solution on this? Should I use any Library or Manually build code for this?

I have taken overview of android-fileChooser & aFileChooser Libraries. Is there any other simple file chooser?

Thanks in advanced...

Was it helpful?

Solution 2

Some more links for your reference File Explorer and File Explorer 1

OTHER TIPS

Use this following code to start a intent to a file chooser

Intent fileIntent = new Intent(Intent.ACTION_GET_CONTENT);
fileIntent.setType("file/*"); // intent type to filter application based on your requirement
startActivityForResult(fileIntent, RESULT_CODE);

Check this out: FileExplorer with sorting I'm using it and it's the most complete file explorer I found.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top