Intent
来源:互联网 发布:海里知鱼是什么鱼 编辑:程序博客网 时间:2024/06/02 06:04
Intent用于启动Activity,Service, 以及BroadcastReceiver三种组件, 同时还是组件之间通信的重要媒介。
使用Intent启动组件的优势
1, Intent为组件的启动提供了一致的编程模型。无论想要启动的组件是Activity,Service, 还是BroadcastReceiver,都可以使用Intent封装启动的意图。
2, 在某些时候, 应用程序只是想启动具有某种特征的组件, 并不想和某个特定的组件耦合。使用Intent可以方便的达到这种高层次解耦的目的。
0 0
- intent
- Intent
- Intent
- Intent
- intent
- Intent
- intent
- Intent
- Intent
- Intent
- Intent
- Intent
- Intent
- intent
- Intent
- intent
- Intent
- intent
- Android按比例布局
- C编译器剖析_4.3 语义检查_语句statement
- java笔记(网络编程)
- 稍大的串
- 如何将.FRM,.MYD,MYI文件转换为.SQL导入数据库中
- Intent
- MyEclipse10中安装freeMarker插件
- 二分·二分查找之k小数
- 数据库基础知识
- 虚拟机性能监控与故障处理工具
- LoanRate
- push_back() demo
- Apache OFBIZ快速上手(二)--MVC框架
- uva 562 Dividing coins (01背包)