title: 2 buttons, 1 that starts an MP3 file and 1 that stops
body: <p>I know how to start the music file, but I don't know how to stop it. Here's my main activity:</p>
  
  <pre><code>public void button1 (View v){
      Intent i = new Intent(MainActivity.this, CallActivity.class);
      startActivity(i);
      final MediaPlayer mp = MediaPlayer.create(this, R.raw.music);
      mp.setLooping(true);
      mp.start();
  }
  </code></pre>