summaryrefslogtreecommitdiffstats
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authorMindy Pereira <mindyp@google.com>2012-02-28 11:32:14 -0800
committerMindy Pereira <mindyp@google.com>2012-02-28 15:25:48 -0800
commit7418e4b9942f291b8de8bc7b1b72a7ef7130a8b6 (patch)
tree471a70cb883ad04974facf4c104543a224018962 /AndroidManifest.xml
parente0056efe6f7a111be1aaa29d22c5a8afba320330 (diff)
downloadandroid_packages_apps_UnifiedEmail-7418e4b9942f291b8de8bc7b1b72a7ef7130a8b6.tar.gz
android_packages_apps_UnifiedEmail-7418e4b9942f291b8de8bc7b1b72a7ef7130a8b6.tar.bz2
android_packages_apps_UnifiedEmail-7418e4b9942f291b8de8bc7b1b72a7ef7130a8b6.zip
Setup compose intent.
Change-Id: I2eb09bee0d56efa91c31d809013edab6b30468bc
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r--AndroidManifest.xml29
1 files changed, 28 insertions, 1 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index ece7aeb79..86115a14c 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -41,7 +41,34 @@
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
- <activity android:name=".compose.ComposeActivity" />
+ <activity android:name=".compose.ComposeActivity">
+ <intent-filter>
+ <action android:name="android.intent.action.VIEW" />
+ <action android:name="android.intent.action.SENDTO" />
+ <category android:name="android.intent.category.DEFAULT" />
+ <category android:name="android.intent.category.BROWSABLE" />
+ <data android:scheme="mailto" />
+ </intent-filter>
+
+ <intent-filter>
+ <action android:name="android.nfc.action.NDEF_DISCOVERED" />
+ <category android:name="android.intent.category.DEFAULT" />
+ <data android:scheme="mailto" />
+ </intent-filter>
+
+ <intent-filter android:label="@string/compose">
+ <action android:name="android.intent.action.SEND" />
+ <category android:name="android.intent.category.DEFAULT" />
+ <data android:mimeType="*/*" />
+ </intent-filter>
+
+ <intent-filter android:label="@string/compose">
+ <action android:name="android.intent.action.SEND_MULTIPLE" />
+ <category android:name="android.intent.category.DEFAULT" />
+ <data android:mimeType="*/*" />
+ </intent-filter>
+ </activity>
+ <!-- TODO: add a permission on this -->
<activity
android:name=".ui.MailActivity"
android:uiOptions="splitActionBarWhenNarrow">