Code example for VideoView

Methods: seekTostart

0
                    onCompletion(); 
                }}); 
            builder.setPositiveButton(R.string.resume_playing_resume,
                    new OnClickListener() {
                public void onClick(DialogInterface dialog, int which) {
                    mVideoView.seekTo(bookmark);
                    mVideoView.start();
                }}); 
            builder.setNegativeButton(R.string.resume_playing_restart,
                    new OnClickListener() {
                public void onClick(DialogInterface dialog, int which) {
                    mVideoView.start();
                }}); 
            builder.show();
        } else { 
            mVideoView.start();
        } 
    } 
 
    private static boolean uriSupportsBookmarks(Uri uri) {
        String scheme = uri.getScheme();