Java tutorial
//package com.java2s; import android.media.MediaPlayer; public class Main { public static void stopPlaying(MediaPlayer mediaPlayer) { mediaPlayer.stop(); mediaPlayer.release(); } }