I am trying to use a wav file for my test application in the Eclipse
IDE.  I created a raw folder under res, then imported the sound file
into it.

My code:
MediaPlayer mp = MediaPlayer.create(Test_Class.this,
R.raw.largeSound);

The 'R.raw' is reported as an error, "R.raw cannot be resolved"

So the application/IDE can't find the raw folder, but the raw folder
is included in the project under the 'res' folder.  The R.java file
doesn't reflect the raw folders presence, so is there something I have
to do to 'let it know' I've added the folder to the project?

I've deleted the raw folder, and tried to add it again, but still to
no avail.  :(



--~--~---------~--~----~------------~-------~--~----~
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]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to