[阶段二]Intent和IntentFilter
来源:互联网 发布:淘宝服装卡片祝福语 编辑:程序博客网 时间:2024/06/05 19:30
课程内容
在android应用程序中,各个组件之间进行通讯的媒介是”intent”,Intent封装android应用程序需要启动某个组件的“意图“,无论启动Activity还是Service或者BroadcastReciver,Android统一封装“启动意图”,提供了一致的编程思想(模型),使用Intent有个好处,就是降低组件与组件之间的耦合。
课程内容如下:
- Intent概述
- 使用Intent启动不同组件的方式
- Intent的属性及intent-filter配置
- 系统app打开word文件
- 启动拨号
- 启动发送短信
- 系统浏览器打开网页
- 启动QQ与微信等第三方应用
补充内容
如何查看手机上安装的应用包名?
第一种方式
adb shell
cd data/data
ls
第二种方式
adb shell
pm list packages
第三种方式
adb shell ps|findstr /i “keyword”
adb命令启动应用
adb shell “am start -n
com.tencent.mm/com.tencent.mm.ui.LauncherUI”
上面例子是启动手机微信
课件
14.Intent和IntentFilter.pptx
IntentDemo.zip
0 0
- [阶段二]Intent和IntentFilter
- Android笔记二.深入理解Intent和IntentFilter(二)
- Intent 和IntentFilter
- Intent 和IntentFilter
- Intent和IntentFilter详解
- Intent 和 IntentFilter
- Intent 和 IntentFilter
- intent和intentfilter详解
- Intent和IntentFilter详解
- Intent和IntentFilter详解
- interView - Intent和IntentFilter
- Intent和IntentFilter
- Intent和IntentFilter详解
- Intent和IntentFilter详解
- intent和intentfilter
- Intent和IntentFilter详解
- Intent和IntentFilter详解
- Intent和IntentFilter
- hihoCoder 1383 2016网预 北京
- C/C++ 友元
- Leetcode5: Longest Palindromic Substring
- easyui安装
- 数据结构总结
- [阶段二]Intent和IntentFilter
- uva 208/Firetruck
- iOS 颜色渐变圆环
- struts2.5动态方法绑定问题
- 汉诺塔问题
- *[Lintcode]Flatten Nested List Iterator 摊平嵌套的列表
- eclipse中批量修改Java类文件中引入的package包路径
- 关于对jQuery的了解
- js 时间的比较