File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Android and the fly likes Letting the User choose a file. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "Letting the User choose a file." Watch "Letting the User choose a file." New topic

Letting the User choose a file.

Atrus Greyor
Ranch Hand

Joined: Mar 07, 2004
Posts: 110
How would I/is there any way to let the user select a file from my Application? For example, I'm making a book reading app, so I'd like to let the user be able to select an appropriate file. Is there any guaranteed way to give the user this ability?

Thank for the help.
Lester Burnham

Joined: Oct 14, 2008
Posts: 1337
I don't think there's a built-in widget for letting a user select a file - phone apps tend not to work with files a lot, or at least not to make it explicit to the user that they do. You could check out a few file managers (like IO Filemanager and AndExplorer) to see how they work.
I agree. Here's the link:
subject: Letting the User choose a file.
It's not a secret anymore!