how to use videoview in android 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();