Tips

How to hide non-music audio files from appearing in Android media players

August 28, 2009 | by Andrew Kameka

Android Tricks

How to hide non-music audio files from appearing in Android media players

There’s a common Android problem of unwanted media files appearing in the song list of music players. This annoyingly causes your favorite songs to get mixed in with audio files associated with other apps, such as voice files for a GPS navigation app.

There’s a simple solution for this issue. We’ve already covered how you can hide certain files by changing a folder name to start with a dot, but you run the risk of causing problems with the app that’s linked to those files. Instead, there’s a similar solution: create a “.nomedia” file.

Here’s an easy trick that should only take a couple of minutes to keep unwanted audio files from popping up.

1.       On your computer, open Notepad or any other text editor

2.       Save the blank file as “.nomedia”
Make sure that the Save as type is set as “All Files” instead of “Text documents”

3.       Copy that file to the folder on your SD card containing audio files you don’t want to show up.
(Example: If you want to block CoPilot sound files from coming up, place the .nomedia file in the sdcard/copilot folder)

4.       Reboot your phone and the files should no longer be viewable

This same trick works for folders containing images or videos that you don’t want to appear in the Gallery app. The files will still be accessible from your original app or an explorer like Astro or Linda, but you’ll finally be able to stop hearing “Turn left” announcements after a great song.