Need help adding seek bar to my basic Mediaplayer app
===

So i have made a media player app that stops and starts a song with 1 button. I need help on putting a seekbar in so that i can control the volume of the song. Thanks in advance! Here is what i have right now:


public class MyfirstAppActivity extends Activity {

	/** Called when the activity is first created. */
	boolean playing = false;
	MediaPlayer music1; 
	
	@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
    //on create message   
        Context context = getApplicationContext();
    	CharSequence text = "Play a song";
    	int duration = Toast.LENGTH_LONG;
    	Toast toast = Toast.makeText(context, text, duration);
    	toast.show();
    
        final Button button = (Button) findViewById(R.id.button1);
        button.setOnClickListener(new View.OnClickListener() {
            public void onClick(View v) {
            	
				if(playing ){
					music1.stop();
					playing = false;
				}else{
					music1 = MediaPlayer.create(getApplicationContext(), R.raw.backinblack);
					music1.start();
					playing = true;
		         }
            }
        });
	}
	
}
