Intent intent = new Intent(Intent.ACTION_VIEW);
String type = "video/* ";
Uri uri = Uri
.parse("http://proiptv.iptv101.com:8000/live/testkorax/070215/2.ts");
intent.setDataAndType(uri, type);
Intent intent = new Intent(Intent.ACTION_VIEW);
Uri uri = Uri
.parse("http://proiptv.iptv101.com:8000/live/testkorax/070215/2.ts");
intent.setData(uri);
pathpattern唯一的作用是匹配uri中文件的后缀;在这里改intent-filter没有设置mimetype,那么就直接使用setData即可