I am developing a game application in android. I have designed all the views and implemented all the functionality. Now in the last screen I have to play sounds in android.
MediaPlayer mp = MediaPlayer.create(getApplicationContext(), R.raw.AudioFile1); mp.start();
And then you get all the start/stop/reset/pause/release methods from mp.