Hi Every one i am trying to play >WAV file in android using below code i
have created a raw folder in side my res folder and copy .wav file there but
i am not able to play.
Any one plays audio in android mobile ?

 MediaPlayer mp = MediaPlayer.create(context, R.raw.test.wav);
    mp.start();

this is giving me error R.raw canot be resolved ?

Any idea ?

thank you

-- 
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