please hepl i am not able to find whats wrong app when any button pressed closes
<pre><code>package my.medai;

import android.app.Activity;
import android.media.MediaPlayer;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class MediaplayerexampleActivity extends Activity {
    Button play, pause;
    MediaPlayer mp;



    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        MediaPlayer.create(this, R.raw.alone);
        play = (Button) findViewById(R.id.button1);
        pause = (Button) findViewById(R.id.button2);
        play.setOnClickListener(new View.OnClickListener() {

            public void onClick(View v) {
                mp.start();

            }
        });
        pause.setOnClickListener(new View.OnClickListener() {

            public void onClick(View v) {mp.stop();}});

    }
}
</code></pre>

<p>i am new to prgraming.this is java xml just contains two buttons that are produced by drag and drop 
the application closes unexpectedly when any or two button is pressed</p>
