FORUMS

Analysis & Opinion

Top Forum Discussions

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,256
 
More
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  
Member
Thanks Meter: 2
 
More
This one works well for me - makes the process easier:
https://market.android.com/details?i...iokuma.nomedia
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
 
More
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
More
Quote:
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
 
More
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
 
More
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
 
More
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
Senior Member
Flag New Douglas, Illinois
Thanks Meter: 17
 
More
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
 
More
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.
19th April 2011, 04:20 PM |#11  
Senior Member
Thanks Meter: 30
 
More
I've used the .nomedia solution awhile back to get icons, cover art, etc out of my gallery and it worked just fine... nothing was deleted (Droid X).

IIRC, I did have to clear the gallery app's cache to get it to "forget" about media that it had already found; on first lauch after clearing it's cache, expect it to be slow as it re-scans your device / sd card (..rebooting didn't work to clear the cach on my device... had to clear it via settings > application > manage apps..)
The Following User Says Thank You to travisn000 For This Useful Post: [ View ]

Read More
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes