一、Xml中
<<span style="color:#000080;font-weight:bold;">VideoView
android:id="@+id/mVideo"
android:layout_width="match_parent"
android:layout_height="match_parent" />
二、Activity中
private void initDate() {
Uri parse = Uri.parse(Environment.getExternalStorageDirectory() + "/Movies/忍者之国.BD.720p.日语中字.mkv");
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setDataAndType(parse,"video/mkv");
startActivity(intent);
}