我可以通过插入以下网址来播放互联网上的视频:
mPath = Uri.parse("http://commonsware.com/misc/test2.3gp");
mVid.setVideoURI(mPath);
mVid.requestFocus();
mVid.start();
但是现在我在我的原始文件夹中有一个视频,所以路径是res/raw/testing.3gp。下面的代码不起作用,我也尝试过其他一些方法,但都没有用。
mPath = Uri.parse("../../res/raw/testing.3gp");
相似问题