Possible Duplicate:
How to control media volume?
Im making a game and when it starts i play music through this: ourSong = MediaPlayer.create(GameMenu.this, com.saad.batman.R.raw.fire );
SharedPreferences getPrefs = PreferenceManager.getDefaultSharedPreferences(getBaseContext());
boolean music = getPrefs.getBoolean("checkbox", true);
if (music == true){
ourSong.start();
}
now what i want to do is that when i go to options from the Game Menu i want to be able to increase or decrease the music volume there. How do i do that?