diff --git a/docs/html/guide/components/intents-common.jd b/docs/html/guide/components/intents-common.jd index 5954645430222..ac61924e3ad63 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) { - - -

Notes

- - -

Take a note

- - -
-
- - - -
-

Google Now

- -
- -

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}.

- -
-
Action
-
{@link android.content.Intent#ACTION_SEND}
- -
Category
-
com.google.android.voicesearch.SELF_NOTE
- -
Data URI Scheme
-
None
- -
Extras
-
-
-
{@link android.content.Intent#EXTRA_TEXT}
-
A string with the contents of the note.
-
-
- -
- - -

Example intent:

-
-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);
-    }
-}
-
- - -

Example intent filter:

-
-<activity ...>
-    <intent-filter>
-        <action android:name="android.intent.action.SEND" />
-        <category android:name="com.google.android.voicesearch.SELF_NOTE" />
-    </intent-filter>
-</activity>
-
- - - - - - - - -

File Storage

@@ -2643,7 +2567,7 @@ about declaring each intent filter, click on the action description.

{@link android.provider.AlarmClock#ACTION_SET_TIMER AlarmClock.ACTION_SET_TIMER} - Communication + Communication

Call a number