标签: android android-videoview
我正在尝试在onCreate()中播放视频,当我按后退或主页按钮时视频播放停止。我在Videoview videoview= findViewById(R.id.videoview); Uri uri = android.net.Uri.parse("xxxx.xxxx"); videoview.setVideoURI(uri); videoview.start();
onCreate()
Videoview videoview= findViewById(R.id.videoview); Uri uri = android.net.Uri.parse("xxxx.xxxx"); videoview.setVideoURI(uri); videoview.start();
example_shown