Thursday, July 19, 2012

android hide media files

so you have an android phone and you have some pics or video's you don't want anyone to see. i first tried locking my phone, but it's too tiresome to keep entering codes or shapes or whatever to unlock it. i want quick accessability. then i got a free app. locker, face lock, and used it to lock the gallery app, where all the photo's and downloads are stored. but, it also locked my system manager app, which i use all the time to kill app's to save power and cpu. plus, pics were still accessible through camera app.

i then used the files app to create a directory to store all my secret files. but, they were still showing up in gallery app, because android has a media scanner, which scans all folders to get music, pic and video files. there are 2 ways to stop the media scanner from scanning a folder:

1. make it a hidden folder, i.e. change ranjit to .ranjit (to view hidden files: files -> settings -> show hidden files)
2. create file named .nomedia and put in directory you don't want scanned.

Hidden folder created. How to hide files in adroid.

thanks to: http://alexborisov.org/hide-media-files-from-android-media-scanners/

No comments:

Post a Comment