android学习:intent/filter
来源:互联网 发布:linux iso镜像百度云 编辑:程序博客网 时间:2024/05/19 23:26
intent:(ComponentName Action Data Category Extra Flag)
动作 数据 类别
- 1.在一个程序内部 使用 ComponentName 即类名进行请求。 (显式intent)
- 2.在程序中若需要调用其他程序的方法,可以通过其他程序已声明的intent filter(Action Data Category)进行请求。 (隐式intent)
- 如:activity 的启动
- <intent-filter>
<action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
- 3.Android系统内置了很多功能模块给其他人使用,故定义不很多action/category常量供大家使用
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
example
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<data android:type="vidieo/mpeg" android:schee="http" />
- android学习:intent/filter
- android学习笔记之Intent&Intent filter
- android学习笔记:Intent,Intent Filter
- Android intent intent-filter
- Android intent intent-filter
- Android intent intent-filter
- Android 学习笔记12:Intent和Intent-filter,
- intent与intent filter学习
- Android Intent and Intent Filter
- Android Intent and Intent Filter
- Android Intent and Intent Filter
- Android Intent and Intent Filter
- Android Intent 和 Intent Filter
- Android Intent and Intent Filter
- Android intent intent-filter 分类
- Android Intent and Intent Filter
- Android Intent开发 Intent-filter
- 【android】Intent 和 Intent Filter
- Struts2中的OGNL详解
- 二维码生成与解析代码实现
- SURF:加速鲁棒特征算法
- xp 配置DCOM
- GNU-ld链接脚本浅析
- android学习:intent/filter
- 写自己的makefile,让别人去说吧!
- curl_errno错误号大全中文版
- 详解coredump
- struts2 <input type="radio" 默认选中
- json在php和js中的玩转
- iphone4s 关于大于400M的视频无法拷贝的问题
- 查看oracle数据库的连接数以及用户
- C/C++与汇编混合编程简介