2010-12-16

android: MediaPlayer or VideoView reports -38, 0 error

In my case, it was due to pause the mediaPlayer when it was not playing.

Make sure that object is in expected state. It is always a good habit in programming.

    if (_mediaPlayer.isPlaying() == true) {
        _mediaPlayer.pause();
    }

댓글 없음:

댓글 쓰기