VideoView android java code example
Example: android video view
VideoView myVideo = (VideoView) findViewById(R.id.GifVideoView);
myVideo.setVideoURI(Uri.parse("android.resource://" + getPackageName() + "/" + R.raw.dog_video));
myVideo.start();
VideoView myVideo = (VideoView) findViewById(R.id.GifVideoView);
myVideo.setVideoURI(Uri.parse("android.resource://" + getPackageName() + "/" + R.raw.dog_video));
myVideo.start();