Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Letting the User choose a file.

 
Atrus Greyor
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!