Init Page Logo
Blog on technologies that touches everyone's life.

How to hide images and Videos from Android Picture Gallery without any specific App

05 Nov 2013

All images and videos located in an Android device will be automatically displayed in Gallery App. There are some free and paid apps to hide images or videos from gallery. But hiding images or videos from gallery is very easy and it does not require any software.

Once I installed a Fitness App in my mobile and ended up with 600+ images into the gallery. Usually developers will take care of this situation by avoiding those images from displaying from gallery. But unfortunately I ended up downloading the App at the time when this app had this bug. Deleting the images from the gallery made the app useless. So I tried to find out a fix and finally ended up locating the below tip from a developer manual.

“ A blank (empty) file without any content with the name .nomedia stops media scan for that folder and all its subfolders in which the file is located .”

Place an empty file named .nomedia in the folder ( sdcard or internal memeory) in which you whish to hide it from the gallery. All the subfolders are automatically hidden from media scan if the .nomedia file is present in the root folder.

Follow the below steps to create a .nomedia file

1. Open the notepad application in your windows PC ( Do not right click and create a text file)

2. Without typing any content , Save the file with the file name  “.nomedia” after selecting Save as Type to “All Files”

1.NoMedia

The file properties when opened in notepad++

1.NoMedia2

3. Connect you mobile to you PC and copy paste this file to any folder you wish to hide from gallery

4. Restart your mobile phone to perform a re-scan.

That’s it, now the images and videos from that folder will be hidden from gallery.

Note : There is a possibility that Thumbnails might be cached. If that's the case, delete the thumbnails folder with the help of a file explorer app and restart your device.

Category :  Android Tips | How To Android

blog comments powered by Disqus

About

Ashok
I am Ashok Raja, a SharePoint Architect by profession and a blogger by passion.
This blog is not specific to any particular technology or software, instead it deals with applications, tools, apps and much more that we usually encounter in our day to day life. If you are keen to know what I do in SharePoint visit my blog on SharePoint and related technologies at www.ashokraja.me

Web Hosting

Avail Flat
20 % Discount
Coupon : ARVIXEMAX20