If you add a folder 'raw' and put an mp3 file there, with no caps in
the file name, it will work. I think right clicking in eclipse worked
to add the folder.

On Apr 16, 12:01 am, "Analdin Judy" <[EMAIL PROTECTED]> wrote:
> Hi,
>
>      I want to run a mp3 file through my code.
>
>    I saw the android document,there they given an example program.
>
> They mentioned to store the mp3 file under res/raw.The code is,
>
> MediaPlayer mp = MediaPlayer.*create*(TestMedia.*this*, R.raw.song);
>
> My problem is i can't see raw folder under res folder of my application.
>
> What is the solution for this problem.?
>
> (or)Is there any other method to run the mp3 file through code
>
> pls tell me
>
> Thanks
>
> judy
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to