What the User Sees
On Android devices:
- Users cannot see any of your files on internal storage, unless they root their device
- Users can see all of your files on external storage and removable storage
Anything a user can see, a user can read, write, or delete at will.
Note, though, that the user cannot see files on external or removable storage right away through some apps. Apps that rely on a central index of media called MediaStore
will only find out about your new files when they get indexed. That will happen at some point automatically. You can use MediaConnection.scanFile()
to force Android to index your new files more quickly — we will see this in action later in the chapter.
Prev Table of Contents Next
This book is licensed under the Creative Commons Attribution-ShareAlike 4.0 International license.