I have the following code to take a video as a raw resource, start the video and loop it but I need the video to loop seamlessly as of now when it comes to an end of the clip an
Try this it will work 100%
VideoView videoView;<---write this in outside of method or else declare it as final variable.
VideoView videoView;
videoView.setOnPreparedListener(new OnPreparedListener() { @Override public void onPrepared(MediaPlayer mp) { mp.setLooping(true); } });