How can I stop media player in another activity?
<p>I start mediaplayer like this:</p>

<pre><code>    if (mp != null) {
        mp.stop();
        mp.reset();
        mp.release();
    }
    mp = MediaPlayer.create(this, R.raw.background);
    mp.start();
</code></pre>

<p>How can I stop in another activity? It continues to play in another activity. How can I use <code>onDestroy</code> in another activity?</p>
