[APP] Gallery Excluder v.1.1.1 (11.05.2011)

Search This thread

knox420

Senior Member
May 27, 2010
130
61
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

Screenshot:
device.png


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


Thanks in advance,
Steff
 
Last edited:

killersnowman

Senior Member
Mar 5, 2011
327
52
SLO
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:
  • Like
Reactions: RSchris

killersnowman

Senior Member
Mar 5, 2011
327
52
SLO
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
 

vansmack

Senior Member
Jul 16, 2009
480
120
San Francisco
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...
 

knox420

Senior Member
May 27, 2010
130
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.
 

knox420

Senior Member
May 27, 2010
130
61
@V07T: does "ss" mean screenshots?

@Rico ANDROID: hm, good question. I could publish it on the market right now. Don't know if there is a need for it. I don't wanna spoil the market with another crappy app that noone needs...
 
Last edited:

Rico ANDROID

Senior Member
Mar 23, 2011
342
15
In my DELL Streak
I bet you just about every newbie to android as well as others are having the same clutter in Gallery and would love the results of duplicated clutter removed from the Gallery Display. I have been chasing down cached and replicated pics and icons . This app made it so easy.

You should upload it unless you are working on a paid version. I dont know how that works but wish I had your skills.
 

knox420

Senior Member
May 27, 2010
130
61
Sweet, sounds good.

Will give you guys time to check for errors until tomorrow. If there will be no glitches found I'll release it to the market.

Btw., I'm thinking about introducing tabs. One for a black-list, one for a white-list (see screenshots). What do you think?

blackList.png
whiteList.png
 
  • Like
Reactions: Rico ANDROID

britoso

Senior Member
Jan 13, 2010
2,791
301
Orlando
Nice App, I was using something else on the market for this, but glad this one is on XDA!

For me I only need gallery to scan just a few folders
1)\sdcard\MyDocs
2)\sdcard\DCIM
3)\sdcard\Zedge (or other wallpaper download app)

A white list to add just a few folders (with nested subfolders) will be great, provided that once you enter something into the white list it should exclude every other folder (ignoring the black list)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 51
    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

    Screenshot:
    device.png


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


    Thanks in advance,
    Steff
    3
    awesome, now my porn doesn't have to show in gallery!
    2
    Great, thanks. Got the 1st "negativ" rating (3 stars) because someone is complaining it ain't working on Motorola Defy. Can't do anything about it. This is what I dislike about Android...
    1
    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
    1
    I have a motorola defy and the app work great...don´t have problems. But I want to remove the music folder, so the galery don´t show the covers, but if I do that the music player don´t recognice the music folder.

    Read through this thread and its stated a couple times that this is known and is a limitation of the stock Music player. Poweramp and Winamp does not have this issue.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone