Whenever we copy any pictures to the SD Card of our android smartphone the gallery application scans it and loads the images into from it. The image no matter placed in what folder will be displayed in the gallery. Sometimes, we want to store images in our smartphone without it being displayed to everyone who uses our phone (as in Gallery). To do this there are many apps available on Google Play Store but there is a far easy method.
Simple make a blank text document inside your folder where you have stored the private pictures and rename it to .nomedia
Whatsapp stores the images in Whatsapp > Media > WhatsappImages so place the .nomedia file in this folder.
Yes you are done, it is this simple. The gallery app won’t scan this folder for any pictures or videos or anything.
For more beginners the step by step instructions are given below:
- Make a new text document in the folder where your images are stored. You can mount your device as a disk drive, browse to the folder and Right Click > New Text Document.
- Unmount your SD Card and use any file manager software (I used Astro File Manager) to rename that file to .nomedia
- Restart your phone.
Another easy way to do this task is by renaming your folder and adding a dot before its name. This way also the folder won’t be scanned. I prefer the first method because it looks neat and I don’t like folder names with dot in it.
In ICS or Honeycomb this process might not work because gallery data is stored in cache. Simple solution as given at (Link) is to go to Settings > Apps > Gallery and Clear Data + Force Stop. Repeat same for Media Storage App and reboot.
Category: How To's