I am playing sound by putting one folder which contains sound file.
The coding is as below to play file.
mMediaPlayer = MediaPlayer.create(this, R.raw.test_cbr);
mMediaPlayer.start();
"Test_cbr.mp3" is a file which i put in RAW folder which is available
in RES folder. But when i am executing programme the sound is not
playing. So what can be wrong in it ? Can some one tell me about
this ?
Any comment will be much appreciated .
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---