Monday, August 8, 2011

How To Tell Your Android To NOT Index Certain Files

Anyone of you ever encountered situation where your android phone index ALL your media files inside your SD card and display it in your gallery and music player? For example some images and sounds that may be used by installed application but you don't want it to appear in your gallery/music player and you don't want to delete it either coz it sure will messed up you application. So, how do you do in situation like this? I'll show you how to overcome this after this break.


There are 2 easy ways to choose from.


1. Place a [dot]nomedia file inside the folder
    Let's say you have a folder named "random" and you don't want the contents inside to be indexed by android. Using you favourite file explorer(mine is ES File Explorer), create a new file inside the folder and name it no .nomedia. Just like that. Then, to manually execute media scanning process, download apps called "ScanMedia" from market, install it and run it. You android will now not index the folder and it will not appear in your gallery.
    2. Place a [dot] in front of the folder name
          Take the earlier example, folder named "random"; put a [dot] infront of the folder for it to become .random. Run the ScanMedia again and see the magic.

To make the contents available in the gallery back, simple reverse the steps you have done. Remove the [dot] and the .nomedia files and run the ScanMedia apps again.

Hope this helps. :)


No comments:

Post a Comment

Your comment is much appreciated. Thanks :)