diff options
author | Scott Main <smain@google.com> | 2014-02-14 18:37:24 -0800 |
---|---|---|
committer | Scott Main <smain@google.com> | 2014-02-19 18:08:33 -0800 |
commit | 8ad427564044bfb4f3f6ae4c319f1475dc535ee5 (patch) | |
tree | 74740f5e60b81b8781ab97e5f8de133df50f1032 | |
parent | 35cb4e49365a8a8da0607c2659399aaad9ea5a1c (diff) | |
download | frameworks_base-8ad427564044bfb4f3f6ae4c319f1475dc535ee5.zip frameworks_base-8ad427564044bfb4f3f6ae4c319f1475dc535ee5.tar.gz frameworks_base-8ad427564044bfb4f3f6ae4c319f1475dc535ee5.tar.bz2 |
update intent examples for maps
bug: 12661490
bug: 12957723
Change-Id: Ice25ef430901b155c00d59402c5f9f50dcb48390
-rw-r--r-- | docs/html/guide/components/intents-common.jd | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/docs/html/guide/components/intents-common.jd b/docs/html/guide/components/intents-common.jd index f09ef9f..506cf9d 100644 --- a/docs/html/guide/components/intents-common.jd +++ b/docs/html/guide/components/intents-common.jd @@ -880,13 +880,17 @@ the location information in the intent data with one of the schemes defined belo (closest) zoom level is 23. <p>Example: <code>"geo:47.6,-122.3?z=11"</code> </dd> - <dt><code>geo:0,0?q=lat,lng(label)</code></dt> - <dd>Show the map at the given longitude and latitude with a string label. - <p>Example: <code>"geo:0,0?q=34.99,-106.61(Treasure)"</code> - </dd> + <dt><code>geo:0,0?q=lat,lng(label)</code></dt> + <dd>Show the map at the given longitude and latitude with a string label. + <p>Example: <code>"geo:0,0?q=34.99,-106.61(Treasure)"</code> + </dd> <dt><code>geo:0,0?q=my+street+address</code></dt> <dd>Show the location for "my street address" (may be a specific address or location query). - <p>Example: <code>"geo:0,0?q=1600+amphitheatre+parkway+ca"</code> + <p>Example: <code>"geo:0,0?q=1600+Amphitheatre+Parkway%2C+CA"</code></p> + <p class="note"><strong>Note:</strong> All strings passed in the {@code geo} URI must + be encoded. For example, the string {@code 1st & Pike, Seattle} should become + {@code 1st%20%26%20Pike%2C%20Seattle}. Spaces in the string can be encoded with + {@code %20} or replaced with the plus sign ({@code +}).</p> </dd> </dl> </dd> |