OnePlus 2 Forums: Discuss Everything About The OP2!

Now that the OnePlus 2 has been officially unveiled and that we have had close-up … more

Intel & Micron Announce “Revolutionary” Storage Tech

Intel & Micron have announced 3D Xpoint technology—”the … more

Google Now Interfaces With Third-Party Messaging Apps

Google has announced that Ok Google voice commands can now be used to send … more

Make Your Lockscreen More Productive With Widgets

Are you running Android Lollipop? Do you miss the ability to add widgets to your lock … more

[APP] Gallery Excluder v.1.1.1 (11.05.2011)

112 posts
Thanks Meter: 61
By knox420, Senior Member on 4th May 2011, 04:50 PM
Post Reply Subscribe to Thread Email Thread
Inspired by this post on the blog I decided to ease up the exclusion of directories from the gallery/media database. Gallery Excluder does the job for me.

Here's why:
Many apps create folders on the sd-card and drop their stuff there. Often, they place images as well. Now that Android checks the sd-card for new media from time to time, these folders will be added to the media database and displayed in the stock Gallery app.

Here's how:
Gallery Excluder lists all direct subfolders of '/sdcard' respectively '/mnt/sdcard' and displays them in a list. If an item/folder gets checked there is a '.nomedia' placed in that folder. If the folder gets unchecked the '.nomedia' is removed.
Since it can take a while to have the gallery update you can force a manual update via options menu.

So please let me know if such a tool can be helpful for anyone except myself.

Now with subdirectories. Downside: there is no feedback when you selected a subfolder for its parent. E.g. when you excluded /mnt/sdcard/folder/subfolder/ you can't recognize it when viewing folder /mnt/sdcard/ (folder won't be selected).

If you feel like supporting my work click some ads. This is an experiment for me to figure if ads work. Thank you.

Market release
- long press an item to dive into the subfolder
- back takes you up one level
- select all/none
- hint for 1st time users
- external sd card support

TODO for next version(s):
- external sd card support
- white list mode


Current Version 1.1.1 (released 11/05/11)
Android Market Link

Thanks in advance,
Last edited by knox420; 11th May 2011 at 03:33 PM. Reason: Update added
The Following 52 Users Say Thank You to knox420 For This Useful Post: [ View ]
4th May 2011, 09:14 PM |#2  
Senior Member
Flag SLO
Thanks Meter: 53
This sounds very useful! Ill give it a try


works great. got rid of a bunch of cached Beautiful Widget Themes thumbnails and other stuff cluttering the gallery

From something awesome
Last edited by killersnowman; 4th May 2011 at 09:43 PM.
The Following User Says Thank You to killersnowman For This Useful Post: [ View ]
4th May 2011, 09:48 PM |#3  
Thanks Meter: 15
works a treat, nice and simple saves me messing about .nomedia files.

Thumbs up from me
4th May 2011, 09:51 PM |#4  
vansmack's Avatar
Senior Member
San Francisco
Thanks Meter: 95
Great idea. I just DL'ed QuickPic to fix this exact problem. I'll give it a shot!
4th May 2011, 09:59 PM |#5  
Senior Member
Flag SLO
Thanks Meter: 53
Also, if you don't mind me suggesting, it would be nice to have an option where you select which folders to add instead of which folders to remove from the gallery. Then if any new apps add new folders with random images they would automatically have .nomedia added

From something awesome
4th May 2011, 11:02 PM |#6  
damngood98's Avatar
Senior Member
Flag Detroit
Thanks Meter: 1,049
check out the app "quickpic" -- kinda does what you're talking about here.
4th May 2011, 11:09 PM |#7  
vansmack's Avatar
Senior Member
San Francisco
Thanks Meter: 95
Just a heads up...

It wouldn't exclude the folder "com.espn.score_center" no matter how many times I tried. I had to manually add the .nomedia file myself to get it to work...
5th May 2011, 06:44 AM |#8  
OP Senior Member
Thanks Meter: 61
Glad you guys like it.

@killersnowman: I could introduce a black-list/white-list mode that lets you choose which way around you want to look at it.
5th May 2011, 09:28 AM |#9  
Alouch47's Avatar
Flag Paris
Thanks Meter: 12
Thanks mate! Yes this is useful, .nomedia files made easy and simple
5th May 2011, 10:48 AM |#10  
VO7T's Avatar
Thanks Meter: 5
more ss plzzzz
5th May 2011, 10:53 AM |#11  
MidtownHD's Avatar
Senior Member
Flag nyc
Thanks Meter: 58
love this, now all my custom icons won't show up in gallery


Read More
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes