Java tutorial
//package com.java2s; import android.media.MediaPlayer; public class Main { public static void stopPlayback(MediaPlayer mPlayer) { if (mPlayer != null) { mPlayer.release(); } } }