I would like to make video/audio/pdf
files hidden inside Internal/External storage in Android. Our requirement is making the files visible only in our Android application but not any other apps like Es File Explorer
and not even when connecting the device to Desktop/Laptop
.
I have googled it a lot and found the following ways but with few disadvantages.
Creating folder/file with prefix "." - It has the disadvantages that we cannot prevent it to be visible in some File explorer apps with the option "Show hidden files
" and we cannot prevent the files from getting displayed when connected to Desktop/Laptop
.
Storing the files inside App specific folder - Storing large memory files
in the path returned by android.Content.Context.getFilesDir()
will lead to the poor performance of the device and most of the devices will not have large internal memory size.
How to overcome the disadvantages and make our application to meet the requirement ?