Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android File Picker [closed]

Is there a good solution for picking a file in an android application? I need the user to be able to browse their SD card for a file they would like to load. However, it cannot use an outside application (like andExplorer or OI File Manager). It must stay contained inside my application and not require users to install other applications.

Using Intent.GET_CONTENT will not work because the files are of a custom type.

Thanks!

like image 404
Kleptine Avatar asked Apr 23 '10 20:04

Kleptine


2 Answers

For anyone still searching for answers, here is a good example with code to create a file chooser/picker simple file chooser

like image 169
lini sax Avatar answered Sep 20 '22 03:09

lini sax


You can also use my library, which does exactly what you described: aFileChooser

like image 43
Paul Burke Avatar answered Sep 23 '22 03:09

Paul Burke