Place the below two methods in you class for stopping the Music play while navigating to other Screens and Home button respectively....
@Override
public void onPause()
{
super.onPause();
if(ourSong.isPlaying())
ourSong.stop();
else
return;
}
@Override
public void onStop()
{
super.onStop();
if(ourSong.isPlaying())
ourSong.stop();
else
return;
}