So I would like to save some data on external storage on android. And I have looked at the the api where is says getExternalStoragePublicDirectory(String type)
“This method will create the appropriate directory if necessary.”
These are the default directories: Music,Podcasts,Ringtones,Alarms,Notifications,Pictures,Movies,Download. So my question is:
- How do I create a new directory of my own?
- How can I make it invisible to the user? so that user will not get frustrated with the extra folder.
You can use coder_For_Life22’s answer about creating the folders, and then to make it “more-invisible” to the users, you can do the following: