Will Verduzco · May 6, 2011 at 06:00 pm

Keep Those Pesky Data Folders Out of the Gallery with Gallery Excluder for Android

Open up your Gallery app on your Android device. Go ahead; I dare you. Notice a bunch of clutter in there from things you don’t want showing up? If you’ve got a little bit of Android acumen, you are cognisant of the fact that placing a simple .nomedia file in the offending directory will exclude it from showing up in Android’s media handlers such as the Gallery and music player. Unfortunately, however, creating or copying a file manually is a bit of a drag.

In order to keep things simple, XDA forum member knox420 has created a wonderful little utility to place (and remove) these aforementioned .nomedia files quite easily.

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.

Well, what are you waiting for? Make sure to make your way over to the application thread to get a piece of this yourself!


_________
Want something on the XDA Portal? Send us a tip!
TAGS:

Will Verduzco

willverduzco is an editor on XDA-Developers, the largest community for Android users. Will Verduzco is the Portal Administrator for the XDA-Developers Portal. He has been addicted to mobile technology since the HTC Wizard. But starting with the Nexus One, his gadget love affair shifted to Google's little green robot. He is also a Johns Hopkins University graduate in neuroscience and is now currently studying to become a physician. View willverduzco's posts and articles here.
Mario Tomás Serrafero · Mar 31, 2015 at 11:55 am · 2 comments

Xiaomi Finally Releases Kernel Sources

If you are familiar with Xiaomi, you might have heard that they are not the most compliant when it comes to the General Public License that makes the core of Android open to us. The terms of the GPLv2 state that since the Android kernel is based on the Linux kernel, which is licensed under GPL,v2 Android has to be open-source for everyone to study or modify, and those that modify the Android kernel have to make their sources immediately available for...

XDA NEWS
Faiz Malkani · Mar 31, 2015 at 10:59 am · 2 comments

Xiaomi Announces Redmi 2A and More for 5th Anniversary

Xiaomi was founded on April 6th, 2010 and its fifth anniversary is just around the corner. In the past five years, the company has grown by leaps and bounds, rising to the positions of largest smartphone OEM in China and third-largest globally and coupled with its expansion plans and 100 million sales benchmark, this anniversary warranted a fervent celebration. After teasing products on its forums for a few days, Xiaomi held the anniversary event earlier today and staying true to the...

XDA NEWS
Tomek Kondrat · Mar 31, 2015 at 10:00 am · 2 comments

The History of Flagships: Part III – HTC

A few months ago, we came up with the idea of presenting the history of flagship devices released by some of the major Android OEMs. In this, we've had the pleasure of bringing you the stories of Sony (Ericsson) and Samsung. Now, it's time for our third and final installment. This is a very special episode, as the OEM I will talk about was heavily connected to Android and the beginnings of XDA as a whole. Yes, I'm talking about HTC, the...

XDA NEWS
Share This