Code example for VideoView

Methods: seekTostart

0
                    onCompletion(); 
                } 
            }); 
            builder.setPositiveButton(Res.string.resume_playing_resume, new OnClickListener() {
                public void onClick(DialogInterface dialog, int which) {
                    mVideoView.seekTo(bookmark);
                    mVideoView.start();
                } 
            }); 
            builder.setNegativeButton(Res.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) {