Just tried it and the sounds are showing up in the music player.  So
much for that idea.  Anyone else  have experience with this?

I guess I can try changing the extension since I pass it the Uri, and
hopefully MediaPlayer and SoundPool don't choke.  I just have quite a
few files and would hate to have to check them and rename them from
within the app or have the users re-download the new data.

Suggestions welcomed.


~clark
On Apr 27, 4:51 pm, Marco Nelissen <[email protected]> wrote:
> On Mon, Apr 27, 2009 at 4:36 PM, clark <[email protected]> wrote:
>
> > I'm torn between which group to post this too, but since it is for an
> > application I am working on, I guess I'll stick it here.
>
> > So here we go.  I have an application which downloads data onto the
> > sdcard to be used by the application.  Some of these files are sound
> > or music files and the music player in android seems to parse these
> > directories and add these files to the list.  I'd like to somehow
> > block or hide these files from the music player.  Is there is a way to
> > do this?
>
> > I was thinking it may be possible to name my folder with a period at
> > the beginning, since linux hides such files.  I'm just not sure if
> > that is going to hide it from the music player or if there is another
> > way to handle this.
>
> You could have just tried it, and you would have found that that does indeed
> have the effect you're looking for.
> Alternatively, you can put a file called ".nomedia" in a directory to
> prevent the media scanner from scanning that directory.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to