However, the problem that comes with it is, that all your media is public now and can be read by other applications, e.g. the Gallery App, which scans the whole sd-card for image files. To prevent other applications from scanning and displaying your media files, you can simply add an empty file called .nomedia in the root folder of your media data.
From the official Android documentation:
Name of the file signaling the media scanner to ignore media in the containing directory and its subdirectories. Developers should use this to avoid application graphics showing up in the Gallery and likewise prevent application sounds and music from showing up in the Music app.

Thx. sometimes the solution is nice and easy :)
ReplyDeletethanks
ReplyDeleteThanks Stefan! I always wondered where and how i can customize this. Practically, no big application currently uses this...
ReplyDelete