Is it a bug or is it not possible to release, stop or kill MediaPlayer while it\'s preparing?
MediaPlayer
I have an instance of MediaPlayer running in
Another solution could be to implement the OnBufferingUpdateListener and override its method like this:
@Override public void onBufferingUpdate(MediaPlayer mp, int percent) { if (cancel) { mp.release(); mMediaPlayer = null; } }