The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2008 The Android Open Source Project |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
| 16 | |
| 17 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 18 | package="com.android.email"> |
| 19 | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/> |
| 20 | <uses-permission android:name="android.permission.READ_CONTACTS"/> |
| 21 | <uses-permission android:name="android.permission.READ_OWNER_DATA"/> |
| 22 | <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> |
| 23 | <uses-permission android:name="android.permission.INTERNET"/> |
| 24 | <uses-permission android:name="android.permission.VIBRATE"/> |
Andrew Stadler | a392e07 | 2009-06-04 15:16:43 -0700 | [diff] [blame] | 25 | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
Andrew Stadler | 627d1ae | 2009-07-24 16:25:18 -0700 | [diff] [blame] | 26 | <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" /> |
Marc Blank | 948c36f | 2009-07-27 10:24:58 -0700 | [diff] [blame] | 27 | <uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" /> |
Andy Stadler | dab90a7 | 2009-05-06 17:50:29 -0700 | [diff] [blame] | 28 | |
Marc Blank | b6493a0 | 2009-07-05 12:54:49 -0700 | [diff] [blame] | 29 | <!-- For EAS purposes; could be removed when EAS has a permanent home --> |
| 30 | <uses-permission android:name="android.permission.WRITE_CONTACTS"/> |
| 31 | |
Andy Stadler | dab90a7 | 2009-05-06 17:50:29 -0700 | [diff] [blame] | 32 | <!-- Only required if a store implements push mail and needs to keep network open --> |
| 33 | <uses-permission android:name="android.permission.WAKE_LOCK"/> |
| 34 | <uses-permission android:name="android.permission.READ_PHONE_STATE"/> |
| 35 | |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 36 | <permission android:name="com.android.email.permission.READ_ATTACHMENT" |
| 37 | android:permissionGroup="android.permission-group.MESSAGES" |
| 38 | android:protectionLevel="dangerous" |
| 39 | android:label="@string/read_attachment_label" |
| 40 | android:description="@string/read_attachment_desc"/> |
| 41 | <uses-permission android:name="com.android.email.permission.READ_ATTACHMENT"/> |
| 42 | <application android:icon="@drawable/icon" android:label="@string/app_name" |
| 43 | android:name="Email"> |
| 44 | <activity android:name=".activity.Welcome"> |
| 45 | <intent-filter> |
| 46 | <action android:name="android.intent.action.MAIN" /> |
| 47 | <category android:name="android.intent.category.DEFAULT" /> |
| 48 | <category android:name="android.intent.category.LAUNCHER" /> |
| 49 | </intent-filter> |
| 50 | </activity> |
| 51 | |
Marc Blank | 06275c4 | 2009-08-05 21:48:15 -0700 | [diff] [blame^] | 52 | <!-- Must be exported in order for the AccountManager to launch it --> |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 53 | <activity |
| 54 | android:name=".activity.setup.AccountSetupBasics" |
| 55 | android:label="@string/account_setup_basics_title" |
Marc Blank | 06275c4 | 2009-08-05 21:48:15 -0700 | [diff] [blame^] | 56 | android:exported="true" |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 57 | > |
| 58 | </activity> |
| 59 | <activity |
| 60 | android:name=".activity.setup.AccountSetupAccountType" |
| 61 | android:label="@string/account_setup_account_type_title" |
| 62 | > |
| 63 | </activity> |
| 64 | <activity |
| 65 | android:name=".activity.setup.AccountSetupIncoming" |
| 66 | android:label="@string/account_setup_incoming_title" |
| 67 | > |
| 68 | </activity> |
| 69 | <activity |
| 70 | android:name=".activity.setup.AccountSetupOutgoing" |
| 71 | android:label="@string/account_setup_outgoing_title" |
| 72 | > |
| 73 | </activity> |
| 74 | <activity |
Andy Stadler | 87c43ca | 2009-04-03 16:02:55 -0700 | [diff] [blame] | 75 | android:name=".activity.setup.AccountSetupExchange" |
| 76 | android:label="@string/account_setup_exchange_title" |
| 77 | > |
| 78 | </activity> |
| 79 | <activity |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 80 | android:name=".activity.setup.AccountSetupOptions" |
| 81 | android:label="@string/account_setup_options_title" |
| 82 | > |
| 83 | </activity> |
| 84 | <activity |
| 85 | android:name=".activity.setup.AccountSetupNames" |
| 86 | android:label="@string/account_setup_names_title" |
| 87 | > |
| 88 | </activity> |
| 89 | <!-- XXX Note: this activity is hacked to ignore config changes, |
| 90 | since it doesn't currently handle them correctly in code. --> |
| 91 | <activity |
| 92 | android:name=".activity.setup.AccountSetupCheckSettings" |
| 93 | android:label="@string/account_setup_check_settings_title" |
| 94 | android:configChanges="keyboardHidden|orientation" |
| 95 | > |
| 96 | </activity> |
| 97 | <activity |
| 98 | android:name=".activity.setup.AccountSettings" |
| 99 | android:label="@string/account_settings_action" |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 100 | > |
| 101 | </activity> |
| 102 | |
| 103 | <activity |
| 104 | android:name=".activity.Debug" |
| 105 | android:label="@string/debug_title"> |
| 106 | </activity> |
| 107 | <activity |
Andrew Stadler | 72dce73 | 2009-07-09 12:33:09 -0700 | [diff] [blame] | 108 | android:name=".activity.AccountFolderList" |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 109 | android:launchMode="singleTop" > |
| 110 | </activity> |
| 111 | |
| 112 | <activity |
| 113 | android:name=".activity.AccountShortcutPicker" |
| 114 | android:label="@string/app_name" |
| 115 | android:enabled="false" |
| 116 | > |
| 117 | <intent-filter> |
| 118 | <action android:name="android.intent.action.CREATE_SHORTCUT" /> |
| 119 | <category android:name="android.intent.category.DEFAULT" /> |
| 120 | </intent-filter> |
| 121 | </activity> |
| 122 | |
| 123 | <activity |
Andrew Stadler | 9e5ee45 | 2009-07-29 19:21:37 -0700 | [diff] [blame] | 124 | android:name=".activity.MailboxList"> |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 125 | </activity> |
Andrew Stadler | 4765472 | 2009-06-30 15:12:23 -0700 | [diff] [blame] | 126 | |
| 127 | <activity |
| 128 | android:name=".activity.MessageList"> |
Andrew Stadler | 4e4abc6 | 2009-07-21 11:06:14 -0700 | [diff] [blame] | 129 | <intent-filter> |
| 130 | <!-- This action is only to allow an entry point for launcher shortcuts --> |
| 131 | <action android:name="android.intent.action.MAIN" /> |
| 132 | </intent-filter> |
Andrew Stadler | 4765472 | 2009-06-30 15:12:23 -0700 | [diff] [blame] | 133 | </activity> |
| 134 | |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 135 | <activity |
| 136 | android:name=".activity.MessageView" |
| 137 | android:theme="@android:style/Theme.NoTitleBar" > |
| 138 | </activity> |
| 139 | <activity |
| 140 | android:name=".activity.MessageCompose" |
| 141 | android:label="@string/app_name" |
| 142 | android:enabled="false" |
| 143 | > |
| 144 | <intent-filter> |
| 145 | <action android:name="android.intent.action.VIEW" /> |
| 146 | <action android:name="android.intent.action.SENDTO" /> |
| 147 | <data android:scheme="mailto" /> |
| 148 | <category android:name="android.intent.category.DEFAULT" /> |
| 149 | <category android:name="android.intent.category.BROWSABLE" /> |
| 150 | </intent-filter> |
| 151 | <intent-filter android:label="@string/app_name"> |
| 152 | <action android:name="android.intent.action.SEND" /> |
| 153 | <data android:mimeType="text/plain" /> |
| 154 | <data android:mimeType="image/*" /> |
| 155 | <data android:mimeType="video/*" /> |
| 156 | <category android:name="android.intent.category.DEFAULT" /> |
| 157 | </intent-filter> |
| 158 | </activity> |
Marc Blank | 5f25162 | 2009-08-04 22:33:32 -0700 | [diff] [blame] | 159 | <receiver android:name="com.android.exchange.EmailSyncAlarmReceiver"/> |
Marc Blank | b6493a0 | 2009-07-05 12:54:49 -0700 | [diff] [blame] | 160 | <receiver android:name="com.android.exchange.MailboxAlarmReceiver"/> |
| 161 | <receiver android:name=".service.BootReceiver" |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 162 | android:enabled="false" |
| 163 | > |
| 164 | <intent-filter> |
| 165 | <action android:name="android.intent.action.BOOT_COMPLETED" /> |
| 166 | </intent-filter> |
| 167 | <intent-filter> |
| 168 | <action android:name="android.intent.action.DEVICE_STORAGE_LOW" /> |
| 169 | </intent-filter> |
| 170 | <intent-filter> |
| 171 | <action android:name="android.intent.action.DEVICE_STORAGE_OK" /> |
| 172 | </intent-filter> |
| 173 | </receiver> |
| 174 | <service |
| 175 | android:name=".service.MailService" |
| 176 | android:enabled="false" |
| 177 | > |
| 178 | </service> |
Marc Blank | 28fc779 | 2009-07-20 17:15:45 -0700 | [diff] [blame] | 179 | |
Marc Blank | 948c36f | 2009-07-27 10:24:58 -0700 | [diff] [blame] | 180 | <!--Required stanza to register the ContactsSyncAdapterService with SyncManager --> |
| 181 | <service |
| 182 | android:name="com.android.exchange.ContactsSyncAdapterService" |
| 183 | android:exported="true"> |
| 184 | <intent-filter> |
| 185 | <action android:name="android.content.SyncAdapter" /> |
| 186 | </intent-filter> |
| 187 | <meta-data android:name="android.content.SyncAdapter" |
| 188 | android:resource="@xml/syncadapter_contacts" /> |
| 189 | </service> |
| 190 | |
Marc Blank | 28fc779 | 2009-07-20 17:15:45 -0700 | [diff] [blame] | 191 | <!-- Add android:process=":remote" below to enable SyncManager as a separate process --> |
Marc Blank | 2c67f1f | 2009-06-16 12:03:45 -0700 | [diff] [blame] | 192 | <service |
| 193 | android:name="com.android.exchange.SyncManager" |
| 194 | android:enabled="true" |
| 195 | > |
| 196 | </service> |
Andrew Stadler | 1725042 | 2009-07-07 09:39:11 -0700 | [diff] [blame] | 197 | |
| 198 | <!--Required stanza to register the EasAuthenticatorService with AccountManager --> |
| 199 | <service android:name=".service.EasAuthenticatorService" android:exported="true"> |
| 200 | <intent-filter> |
| 201 | <action android:name="android.accounts.AccountAuthenticator" /> |
| 202 | </intent-filter> |
| 203 | <meta-data android:name="android.accounts.AccountAuthenticator" |
| 204 | android:resource="@xml/authenticator" /> |
| 205 | </service> |
| 206 | |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 207 | <provider |
| 208 | android:name=".provider.AttachmentProvider" |
| 209 | android:authorities="com.android.email.attachmentprovider" |
| 210 | android:multiprocess="true" |
| 211 | android:grantUriPermissions="true" |
| 212 | android:readPermission="com.android.email.permission.READ_ATTACHMENT" |
| 213 | /> |
Marc Blank | c5f2a7a | 2009-05-27 15:43:27 -0700 | [diff] [blame] | 214 | <provider |
| 215 | android:name=".provider.EmailProvider" |
| 216 | android:authorities="com.android.email.provider" |
| 217 | android:multiprocess="true" |
| 218 | android:grantUriPermissions="true" |
| 219 | /> |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 220 | </application> |
| 221 | </manifest> |