On Apr 27, 11:32 pm, "nEx.Software" <[email protected]> wrote: > A quick look shows at the source indicates the MediaScanner omits > files that begin like "._" or are like "Folder.jpg", > "AlbumArtSmall.jpg", "AlbumArt_{...}_Large.jpg" or "AlbumArt_{...} > _Small.jpg". But it all seems to be based on filename. Of course > there's a native method in there "processDirectory" that I don't > understand because I don't understand c++. Maybe that's supposed to > weed out certain folders/files? Of course, I don't know if this helps > at all but I'll let you decide if it does.
Actually that did help. I'm a C++ guy so taking a look at MediaScanner.cpp in thre OpenCORE git provided some insight. Based on the code the scanner 'should' omit folders that begin with a period or folders which contain a file named .nomedia. A little digging revealed sounds on my sdcard that were similar to the ones I was using in my app. Between that and users still complaining about sounds showing up in their music player I assumed the folder renaming did not work but indeed it did. Placing a file named .nomedia in the folder works great as well. Thanks! ~clark --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

