Intent启动Activity,怎么匹配intent-Filter
来源:互联网 发布:notepad格式化php代码 编辑:程序博客网 时间:2024/06/05 05:35
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即可
0 0
- Intent启动Activity,怎么匹配intent-Filter
- Android进阶之Intent Filter匹配规则与隐式启动Activity
- Intent Filter匹配
- Intent Filter匹配
- Intent Filter匹配
- 转:Intent Filter匹配
- Intent Filter匹配
- Intent Filter匹配
- Intent Filter匹配
- Intent Filter匹配规则
- Intent Filter匹配规则
- Android Intent-filter匹配
- Activity的Intent Filter
- 使用Intent filter 匹配相应的Activity or services
- 第一讲----Intent Filter匹配
- Intent-Filter的匹配规则
- 使用Intent启动Activity
- 利用Intent启动Activity
- 黑马程序员——java集合框架
- Yod Framework v1.3.5 发布,基于 C 的 PHP 框架
- BIRT参数设置详解
- 【LeetCode从零单排】No189.Rotate Array
- SDK 镜像整合工具
- Intent启动Activity,怎么匹配intent-Filter
- 写出一个你自己的MVC框架-基于对springMVC源码实现和理解(6):执行,调度和渲染(一)
- 网络流模板
- 从今天开始开更博客
- Word2013 图片或数学公式显示不全解决方法
- Ubuntu常用软件安装及解决情况
- 小酱油开博大业,以此博客记录我的学习之路
- Oracle PLSQL语句实例
- leetcode: wildcard matching