Friday, February 21, 2014

How to stop images from showing up in Android Gallery?

Application stores pictures at their respective photos, and we download "photos" and keep it for ourselves. But Android Gallery searches and indexes those pictures/photos on the entire SD automatic, and shows them in the Gallery. This can be an embarrass to us sometimes.

How can we stop the images at certain folders from showing up in Android Gallery?

If you like to hide an individual files from the gallery, just rename the file of the picture/photo with a . prefix.

If you would like to hide an entire directory that keeps yours images, just create an empty file with the file name .nomedia in the same folder.