문제

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...

도움이 되었습니까?

해결책 2

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

다른 팁

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top