Swappa’s New App Helps You Value Your Device

There comes a sad time in everyone’s life where you must part ways with your … more

Xiaomi Sold 34.7 Million Phones In 6 Months

2015 has been a phenomenal year for Xiaomi so far. With a stellar rise in 2014, 2015 saw … more

Sprint Reacts To Jab From T-Mobile

America’s cellular network space has always been a battle of the big four: Verizon, AT&T, … more

Floating Apps with Rovers – XDA App Review

There are a lot of great launchers to help customize your phone. Some Launchers allow … more

GALLERY - Howto Prevent Indexing Certain Directories

67 posts
Thanks Meter: 15
By SemperAndroid, Member on 17th April 2011, 08:33 PM
Post Reply Subscribe to Thread Email Thread
I have a folder on my SD card that I don't want images to appear from. Is there a means to exclude certain directories?

Sent from my DROIDX using XDA Premium App
17th April 2011, 08:35 PM |#2  
Pfeffernuss's Avatar
Senior Member
Flag Wassenaar
Thanks Meter: 1,222
Put an empty file called .nomedia in the directory.
The Following User Says Thank You to Pfeffernuss For This Useful Post: [ View ]
17th April 2011, 09:57 PM |#3  
Thanks Meter: 2
This one works well for me - makes the process easier:
The Following User Says Thank You to selytch For This Useful Post: [ View ]
17th April 2011, 10:16 PM |#4  
kyouko's Avatar
Senior Member
IL/WI border
Thanks Meter: 253
What kind of images don't you want to show up in your gallery?

The .nomedia method should work for you, if not you can always rename the folder with a "." at the beginning to make it hidden

Folder name examples:
.pr0n / .dontlookhere / .ignore
The Following User Says Thank You to kyouko For This Useful Post: [ View ]
18th April 2011, 11:15 PM |#5  
Senior Member
Flag Frankfort, KY
Thanks Meter: 10
Donate to Me
Originally Posted by kyouko

What kind of images don't you want to show up in your gallery?

The .nomedia method should work for you, if not you can always rename the folder with a "." at the beginning to make it hidden

Folder name examples:
.pr0n / .dontlookhere / .ignore

.nomedia works for me, as far as keeping stuff out of the gallery. Being all grown up in my computer usage, I choose to not let my computing devices hide stuff from me, so that .folder thingy doesn't work for me (and pictures in those .folders without a .nomedia file still seem to make their way into my gallery).

I do have a .stuff folder for my .porn though... Keeps it up near the top of the list...
19th April 2011, 03:33 AM |#6  
cpark_12's Avatar
Senior Member
Flag Cairo, GA
Thanks Meter: 7
how about the hideitpro app from the market? it's actually pretty cool. opens up as an audio manager, then you put in a password and there you have all the hidden files you want. not just pics...just an fyi
19th April 2011, 10:26 AM |#7  
Senior Member
Thanks Meter: 13
Install the app Just Pictures and ignore the folders you don't want to see.
The .nomedia "solution" prevents the album art to display in the media players.
19th April 2011, 03:05 PM |#8  
Junior Member
Thanks Meter: 0
I use the app QuickPic from the Market, and in the app you can choose which folders you want include and exclude. Pretty useful. You don't have the pretty 3-D effects from the default Gallery app but it's so much faster.
19th April 2011, 03:42 PM |#9  
RavenFB's Avatar
Flag New Douglas, Illinois
Thanks Meter: 14
You can do the same thing with Fishbowl Gallery. You can set default albums, as well as hide albums. However, this still doesn't prevent someone from stumbling upon the default gallery app. The best solutions are either .nomedia, or do not have media on your phone that you do not want prying eyes to see. Alternatively, while cumbersome, you can use androzip or unrar pro to zip the material in question. Of course, by zipping your files, you can add the additional layer of security by encrypting it, if you're the paranoid sort.

Sent via Tapatalk on CM7.0.0-Vision Stable.
19th April 2011, 04:12 PM |#10  
KCRic's Avatar
Senior Member
Flag Overland Park
Thanks Meter: 244
I remember this method. Any one know if the older file deletion ever got fixed with 2.2.1 or later?

If you don't know what I'm talking about here's a quick rundown.

You put the .nomedia file in a folder with pictures, upon reboot all those pictures are deleted. This had something to do with them already being scanned once and them being older than the .nomedia file so instead of ignoring them it deletes them. Something along those lines (anyone have the link to the original bug report from back in '08 or '09?).

Anyway, if it hasn't been fixed you've been warned, you stand a good chance of losing all media in those folders. So backup those files - but you knew that already

The easiest remedy to this is to remove the files, rename the folder to .whatever or insert the .nomedia file. Reboot. Then throw the files back onto the sdcard. That should eliminate any issues.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes