Code example for VideoView

Methods: resumeseekTo

0
	private void saveVideoProgress() { 
		mVideoPosition = mVideoView.getCurrentPosition();
	} 
 
	private void restoreVideoProgress() { 
		mVideoView.seekTo(mVideoPosition);
		mVideoView.resume();
	} 
 
	private boolean hasNativeActionBar() { 
		return (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB);
	} 
 
	private void setupVideoView() { 
		mVideoView.setMediaController(new MediaController(this));
		if (mVideoUri != null) {
			mVideoView.setVideoURI(mVideoUri);
		} 
	} 
 
	private void restoreInstanceState(Bundle savedInstanceState) {