page.title=Reference of Available Intents @jd:body
This document describes the default applications and settings that Google provides in their standard Android implementation.
Android ships with Activities that handle the following Intent URI/Action pairs.
Scheme | Action android.intent.action.value |
Description | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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. | ||||||||||||||
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:
The dialer is good at normalizing some kinds of schemes: for example telephone numbers, so the schema described isn't strictly required in the {@link android.net.Uri#parse(java.lang.String) Uri(URI string)} factory. However, if you have not tried a schema or are unsure whether it can be handled, use the {@link android.net.Uri#fromParts(java.lang.String, java.lang.String, java.lang.String) Uri.fromParts(scheme, ssp, fragment)} factory instead. Note: This requires your
application to request the following permission in your manifest: |
||||||||||||||
tel:phone_number |
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. |
||||||||||||||
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: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.
|