Android设备上调用谷歌应用的的Intent 列表
2011-08-16 13:49
435 查看
Intents List: Invoking Google Applications on Android Devices
For more information about intents, see theIntents and Intent Filters.
The table below lists the intents that your application can send, to invoke Google applications on Android devices in certain ways. For each action/uri pair, the table describes how the receiving Google application handles the intent.
Note that this list is not comprehensive.
Target Application | Intent URI | Intent Action | Result | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Browser | http://web_address https://web_address | VIEW | Open a browser window to the URL specified. | ||||||||||||
"" (empty string) http://web_address https://web_address | WEB_SEARCH | Opens the file at the location on the device in the browser. | |||||||||||||
Dialer | tel: phone_number | CALL | Calls the entered phone number. Valid telephone numbers as defined in the IETF RFC 3966 are accepted. Valid examples include the following: tel:2125551212 tel: (212) 555 1212 The dialer is good at normalizing some kinds of schemes: for example telephone numbers, so the schema described isn't strictly required in the Uri(URI string)factory. However, if you have not tried a schema or are unsure whether it can be handled, use the Uri.fromParts(scheme, ssp, fragment)factory instead. Note: This requires your application to request the following permission in your manifest: <uses-permission id="android.permission.CALL_PHONE" /> | ||||||||||||
tel:phone_number voicemail: | DIAL | Dials (but does not actually initiate the call) the number given (or the stored voicemail on the phone). Telephone number normalization described for CALL applies to DIAL as well. | |||||||||||||
Google Maps | geo:latitude,longitude geo:latitude,longitude?z=zoom geo:0,0?q=my+street+address geo:0,0?q=business+near+city | VIEW | Opens the Maps application to the given location or query. The Geo URI scheme (not fully supported) is currently under development. The z field specifies the zoom level. A zoom level of 1 shows the whole Earth, centered at the given lat,lng. A zoom level of 2 shows a quarter of the Earth, and so on. The highest zoom level is 23. A larger zoom level will be clamped to 23. | ||||||||||||
Google Streetview | google.streetview:cbll=lat,lng&cbp=1,yaw,,pitch,zoom&mz=mapZoom | VIEW | Opens the Street View application to the given location. The URI scheme is based on the syntax used for Street View panorama information in Google Maps URLs. The cbll field is required. The cbp and mz fields are optional.
|
相关文章推荐
- Android Intent 调用其他应用 setComponent
- Android 程式开发:(四)使用Intent调用“内置”应用 —— 4.1范例
- 谷歌将对欧洲 Android 设备制造商收取其应用服务费用
- Android 系统应用调用,intent的使用总结
- android Intent调用地图应用客户端
- 【Android】调用系统应用常用uri & intent设置
- Android中通过Intent调用其他应用的方法(转)
- 移动开发----android Intent调用地图应用客户端
- Android中通过Intent调用其他应用的方法
- 使用intent调用Android系统自带应用
- Android 程式开发:(四)使用Intent调用“内置”应用 —— 4.3配置Intent-Filter
- Android 系统应用调用,intent的使用总结帖
- Android应用开发-Intent调用大全,史上最全的
- Android 系统应用调用,intent的使用总结
- Android使用系统Intent实现分享功能及将应用加入分享列表
- 在android中使用intent来调用系统的应用中的删除功能
- Android调用系统应用常用uri & intent设置
- Android开发: 通过Intent 调用Camera应用 sample code
- Android使用系统Intent实现分享功能及将应用加入分享列表++分享邮箱实现
- 使用intent调用Android系统自带应用