Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,809,019 Members 52,194 Now Online
XDA Developers Android and Mobile Development Forum

[APP] Gallery Excluder v.1.1.1 (11.05.2011)

Tip us?
 
knox420
Old
(Last edited by knox420; 11th May 2011 at 03:33 PM.) Reason: Update added
#1  
Senior Member - OP
Thanks Meter 61
Posts: 107
Join Date: May 2010
Default [APP] Gallery Excluder v.1.1.1 (11.05.2011)

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:


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


Thanks in advance,
Steff
The Following 52 Users Say Thank You to knox420 For This Useful Post: [ Click to Expand ]
 
killersnowman
Old
(Last edited by killersnowman; 4th May 2011 at 09:43 PM.)
#2  
Senior Member
Thanks Meter 51
Posts: 327
Join Date: Mar 2011
Location: 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
The Following User Says Thank You to killersnowman For This Useful Post: [ Click to Expand ]
 
wej1976
Old
#3  
Member
Thanks Meter 15
Posts: 57
Join Date: Sep 2010
works a treat, nice and simple saves me messing about .nomedia files.

Thumbs up from me
 
vansmack
Old
#4  
vansmack's Avatar
Senior Member
Thanks Meter 67
Posts: 321
Join Date: Jul 2009
Location: San Francisco
Great idea. I just DL'ed QuickPic to fix this exact problem. I'll give it a shot!
 
killersnowman
Old
#5  
Senior Member
Thanks Meter 51
Posts: 327
Join Date: Mar 2011
Location: 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
 
damngood98
Old
#6  
damngood98's Avatar
Senior Member
Thanks Meter 777
Posts: 2,006
Join Date: Sep 2009
Location: Detroit
check out the app "quickpic" -- kinda does what you're talking about here.
phone: LG Nexus 5
recovery: TWRP 2.7.0.0
ROM: Slimkat
kernel: stock

tablet: Nexus 10
recovery: TWRP 2.7.0.0
ROM: Slimkat

 
vansmack
Old
#7  
vansmack's Avatar
Senior Member
Thanks Meter 67
Posts: 321
Join Date: Jul 2009
Location: 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
Old
#8  
Senior Member - OP
Thanks Meter 61
Posts: 107
Join Date: May 2010
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.
 
Alouch47
Old
#9  
Alouch47's Avatar
Member
Thanks Meter 12
Posts: 58
Join Date: Jan 2011
Location: Paris
Thanks mate! Yes this is useful, .nomedia files made easy and simple
 
VO7T
Old
#10  
VO7T's Avatar
Member
Thanks Meter 6
Posts: 33
Join Date: Feb 2011
more ss plzzzz

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes