常用Android应用程序中的Intent动作
16lz
2022-05-19
1、常用Android应用程序中的Intent动作和Uri组合及其说明
动作 | Uri | 说明 |
Intent.ACTION_VIEW | geo:latitude,longtitude | 打开地图应用程序并显示指定的纬度和经度 |
Intent.ACTION_VIEW | geo:0,0?q=street+address | 打开地图应用程序并显示指定的地址 |
Intent.ACTION_CALL | tel:phone_number | 打开电话应用程序并拨打指定的电话号码 |
Intent.ACTION_DIAL | tel:phone_number | 打开电话应用程序并拨下指定电话(但不打出) |
Intent.ACTION_DIAL | voicemail: | 打开电话应用程序并拨下语音信箱号码(但不打出) |
Intent.ACTION_VIEW | http://web_address | 打开浏览器应用程序并显示指定的URL |
Intent.ACTION_VIEW | https://web_address | 打开浏览器应用程序并显示指定的URL |
Intent.ACTION_WEB_SEARCH | plain_text | 打开浏览器应用程序并使用Google搜索引擎 |
更多相关文章
- Android开发必备的免费资源和工具
- Android性能优化——合理进行内存管理
- Android打开系统设置界面
- android SDK升级后错误
- :Android核心模块及相关技术
- Activity 属性设置参数说明
- android应用程序跳转到系统的各个设置页面
- Eclipse 默认打开Android(安卓)xml 布局
- 3.1如何编写程序界面&3.2常见控件使用方法