0 0 Votes

Android: .nomedia File does not work

Question by Guest | 04/10/2013 at 20:43

By dropping an empty file called .nomedia into a folder containing media files on an Android device, the videos and photos from that directory should no longer be displayed in the gallery.

That is the theory. But unfortunately, the .nomedia file seems not to work at my device since photos since are still displayed in the gallery! What can I do?

ReplyPositiveNegative

Stefan Trost

Show Profile | Message
Avatar
-2Best Answer
2 Votes

The Gallery app creates an index of all the photos that will be displayed.

If you copy the .nomedia file into a folder that is already listed in the index of the gallery, it can happen that that Gallery still shows the images from its index because the Gallery App does not look up, if now there is a .nomedia file in the corresponding folder. A workaround is to force the gallery to make a new indexing of the media files. You can achieve this, for example, by simply renaming the folder so that the device has to read the new folder again. Of course, after re-indexing you can change the name of the directory to the original name again.

Beside, you can also go to "Settings > Apps > All > Gallery" and empty the gallery cache there. This also makes a new indexing necessary: the app has to look for new .nomedia files so that after this procedure, all files should be displayed correctly.
04/10/2013 at 22:46

ReplyPositive Negative
Reply

Related Topics

What is actually Android?
Question | 1 Answer
Android Audio Recorder
Open Question | 5 Answers

Important Note

Please note: The contributions published on askingbox.com are contributions of users and should not substitute professional advice. They are not verified by independents and do not necessarily reflect the opinion of askingbox.com. Learn more.

Participate

Ask your own question or write your own articles on askingbox.com. How to do.