From bd964cadd4846d5d954eadb7fcd2a61e51814c65 Mon Sep 17 00:00:00 2001
From: Ricardo Cervera
Date: Tue, 7 Oct 2014 10:37:19 -0700
Subject: [PATCH] docs: Removing references to self note on Common Intents
page.
Change-Id: Ia1324f2363ce66ad0019946605a6a74a4cd28ecc
---
docs/html/guide/components/intents-common.jd | 88 +-------------------
1 file changed, 1 insertion(+), 87 deletions(-)
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
-
- - "take a note"
- - "note to self"
-
-
-
-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
@@ -2654,16 +2578,6 @@ about declaring each intent filter, click on the action description.
|
{@link android.content.Intent#ACTION_CALL Intent.ACTION_CALL} |
-
- |
- Note to self
-
- - "take a note"
- - "note to self"
-
- |
- {@link android.content.Intent#ACTION_SEND Intent.ACTION_SEND} |
-
| Fitness |
|