Android File Picker [closed]
Asked Answered
D

3

5

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!

Downspout answered 23/4, 2010 at 20:41 Comment(0)
D
2

Ironically I ended up integrating the OI File Manager into my application myself, since the source had been released via svn.

If there's a better way for those looking for the answer to the same question feel free to speak up.

Downspout answered 25/4, 2010 at 2:7 Comment(1)
Hi, there is a library here: code.google.com/p/android-filechooserCanthus
G
3

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

Gannon answered 5/10, 2011 at 19:34 Comment(1)
Or yoe can use this one: github.com/Angads25/android-filepickerDaphnedaphnis
W
3

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

Wilsey answered 4/2, 2013 at 23:10 Comment(0)
D
2

Ironically I ended up integrating the OI File Manager into my application myself, since the source had been released via svn.

If there's a better way for those looking for the answer to the same question feel free to speak up.

Downspout answered 25/4, 2010 at 2:7 Comment(1)
Hi, there is a library here: code.google.com/p/android-filechooserCanthus

© 2022 - 2024 — McMap. All rights reserved.