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) { - - -
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}.
- -com.google.android.voicesearch.SELF_NOTEExample 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> -- - - - - - - - -