I have a videoview in my android application and the background video is set that way
String uri = "android.resource://" + getPackageName() + "/" + R.raw.oceans;
VideoView mVideoView = (VideoView)findViewById(R.id.video_login);
if (mVideoView != null)
{ mVideoView.setVideoURI(Uri.parse(uri));
mVideoView.requestFocus();
mVideoView.start();
}
How can I make this video looped?