置入影片的元件
VideoView videoView = findViewById(R.id.videoView); videoView.setVideoPath("android.resource://" + getPackageName() + "/" + R.raw.demovideo);
Last updated 4 years ago
Was this helpful?