summaryrefslogtreecommitdiffstats
path: root/docs/html
diff options
context:
space:
mode:
authorScott Main <smain@google.com>2014-02-20 02:14:40 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-02-20 02:14:40 +0000
commitaf87e19bdbf6b16240dcdbfd31fe4f33eca4e51d (patch)
tree5ee490f54b553cb4b6b5fae71263e024fa96f4fc /docs/html
parentba231fcabfdf8f8bd72dbb428b8d35ae14a1a14d (diff)
parent8ad427564044bfb4f3f6ae4c319f1475dc535ee5 (diff)
downloadframeworks_base-af87e19bdbf6b16240dcdbfd31fe4f33eca4e51d.zip
frameworks_base-af87e19bdbf6b16240dcdbfd31fe4f33eca4e51d.tar.gz
frameworks_base-af87e19bdbf6b16240dcdbfd31fe4f33eca4e51d.tar.bz2
Merge "update intent examples for maps bug: 12661490 bug: 12957723" into klp-docs
Diffstat (limited to 'docs/html')
-rw-r--r--docs/html/guide/components/intents-common.jd14
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>