Code example for VideoView

Methods: resumeseekTo

0
 
    @Override 
    public void onResume() { 
        super.onResume(); 
        if (mHasPaused) {
            mVideoView.seekTo(mVideoPosition);
            mVideoView.resume();
            mHasPaused = false;
        } 
        mHandler.post(mProgressChecker);
    } 
 
    @Override 
    public void onPause() { 
        mHasPaused = true;
        mHandler.removeCallbacksAndMessages(null);
        mVideoPosition = mVideoView.getCurrentPosition();
        mVideoView.suspend();
        super.onPause(); 
    } 
Connect your IDE to all the code out there  Get Codota for Java