Reputation: 15
I am building an application where I need to build my own custom Gallery. But thing is my files are stored in the internal storage and not external storage So the
Environment.getExternalStoragePublicDirectory()
is of not use cause I want the files on the internal DCIM. I dont know how to access those files. Please Help
Upvotes: 0
Views: 3611
Reputation: 1006944
Those images are on external storage from the standpoint of the Android SDK. The best way to get to the directory will be through:
Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DCIM)
Internal storage (app-only storage not directly accessible by the user) and removable storage are different concepts.
Upvotes: 3