Answers for "android java string video"

0

android java string video

VideoView videoView = (VideoView) findViewById(R.id.videoView);
videoView.setVideoPath("android.resource://" + getPackageName() + "/" + R.raw.demovideo);
MediaController mediaController = new MediaController(this);
mediaController.setAnchorView(videoView);
videoView.setMediaController(mediaController);
videoView.start();
Posted by: Guest on January-05-2021

Code answers related to "android java string video"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language