diff options
author | Ricardo Cervera <rcervera@google.com> | 2014-10-07 23:49:06 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-10-07 23:49:06 +0000 |
commit | dbcfc8efdb995d3e7a1865f1d8484c883acb3805 (patch) | |
tree | 3ed6049e249f0c350592c412c896f5de5214cdc6 /docs | |
parent | 692bb81c120ae6366f69216274d7845534ef7d73 (diff) | |
parent | a18075e82b603762382232816c0d74abcc7e46e7 (diff) | |
download | frameworks_base-dbcfc8efdb995d3e7a1865f1d8484c883acb3805.zip frameworks_base-dbcfc8efdb995d3e7a1865f1d8484c883acb3805.tar.gz frameworks_base-dbcfc8efdb995d3e7a1865f1d8484c883acb3805.tar.bz2 |
am a18075e8: am bd964cad: docs: Removing references to self note on Common Intents page.
* commit 'a18075e82b603762382232816c0d74abcc7e46e7':
docs: Removing references to self note on Common Intents page.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/html/guide/components/intents-common.jd | 88 |
1 files changed, 1 insertions, 87 deletions
diff --git a/docs/html/guide/components/intents-common.jd b/docs/html/guide/components/intents-common.jd index 5954645..ac61924 100644 --- a/docs/html/guide/components/intents-common.jd +++ b/docs/html/guide/components/intents-common.jd @@ -1098,82 +1098,6 @@ public void composeEmail(String[] addresses, String subject) { - - -<h2 id="Note">Notes</h2> - - -<h3 id="TakeNote">Take a note</h3> - -<!-- Google Now box --> -<div class="now-box"> - <div class="now-img-cont"> - <a href="#Now"> - <img src="{@docRoot}guide/components/images/voice-icon.png" class="now-img" width="30" height="30" alt=""/> - </a> - </div> - <p class="now-title">Google Now</p> - <ul> - <li>"take a note"</li> - <li>"note to self"</li> - </ul> -</div> - -<p>To take a note, use the {@link android.content.Intent#ACTION_SEND} action and specify the -text for the note with the {@link android.content.Intent#EXTRA_TEXT}.</p> - -<dl> -<dt><b>Action</b></dt> -<dd>{@link android.content.Intent#ACTION_SEND}</dd> - -<dt><b>Category</b></dt> -<dd><code>com.google.android.voicesearch.SELF_NOTE</code></dd> - -<dt><b>Data URI Scheme</b></dt> -<dd>None</dd> - -<dt><b>Extras</b></dt> -<dd> - <dl> - <dt>{@link android.content.Intent#EXTRA_TEXT}</dt> - <dd>A string with the contents of the note.</dd> - </dl> -</dd> - -</dl> - - -<p><b>Example intent:</b></p> -<pre> -public void takeNote(String content) { - Intent intent = new Intent(Intent.ACTION_SEND); - intent.setType("*/*"); - intent.putExtra(Intent.EXTRA_TEXT, content); - if (intent.resolveActivity(getPackageManager()) != null) { - startActivity(intent); - } -} -</pre> - - -<p><b>Example intent filter:</b></p> -<pre> -<activity ...> - <intent-filter> - <action android:name="android.intent.action.SEND" /> - <category android:name="com.google.android.voicesearch.SELF_NOTE" /> - </intent-filter> -</activity> -</pre> - - - - - - - - - <h2 id="Storage">File Storage</h2> @@ -2643,7 +2567,7 @@ about declaring each intent filter, click on the action description.</p> <td>{@link android.provider.AlarmClock#ACTION_SET_TIMER AlarmClock.ACTION_SET_TIMER}</td> </tr> <tr> - <td rowspan="2" style="vertical-align:middle">Communication</td> + <td style="vertical-align:middle">Communication</td> <td> <p><a href="#DialPhone">Call a number</a></p> <ul class="now-list"> @@ -2655,16 +2579,6 @@ about declaring each intent filter, click on the action description.</p> <td>{@link android.content.Intent#ACTION_CALL Intent.ACTION_CALL}</td> </tr> <tr> - <td> - <p><a href="#Note">Note to self</a></p> - <ul class="now-list"> - <li>"take a note"</li> - <li>"note to self"</li> - </ul> - </td> - <td>{@link android.content.Intent#ACTION_SEND Intent.ACTION_SEND}</td> -</tr> -<tr> <td rowspan="5" style="vertical-align:middle">Fitness</td> <td> <p><a href="#TrackRide">Start/stop a bike ride</a></p> |