The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame^] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2006 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.contacts" |
| 19 | android:sharedUserId="android.uid.shared" |
| 20 | > |
| 21 | <uses-permission android:name="android.permission.CALL_PRIVILEGED" /> |
| 22 | <uses-permission android:name="android.permission.READ_CONTACTS" /> |
| 23 | <uses-permission android:name="android.permission.WRITE_CONTACTS" /> |
| 24 | <uses-permission android:name="android.permission.INTERNET" /> |
| 25 | <uses-permission android:name="android.permission.READ_PHONE_STATE" /> |
| 26 | <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" /> |
| 27 | <uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH.mail" /> |
| 28 | |
| 29 | <application |
| 30 | android:label="@string/contactsList" |
| 31 | android:icon="@drawable/ic_launcher_contacts" |
| 32 | android:process="android.process.acore" |
| 33 | android:taskAffinity="android.task.contacts" |
| 34 | > |
| 35 | |
| 36 | <!-- A virtual 12 key dialer --> |
| 37 | <activity android:name="TwelveKeyDialer" |
| 38 | android:launchMode="singleTop" |
| 39 | > |
| 40 | <intent-filter> |
| 41 | <action android:name="com.android.phone.action.TOUCH_DIALER" /> |
| 42 | <category android:name="android.intent.category.DEFAULT" /> |
| 43 | <category android:name="android.intent.category.TAB" /> |
| 44 | </intent-filter> |
| 45 | </activity> |
| 46 | |
| 47 | <!-- A list of recent calls --> |
| 48 | <activity android:name="RecentCallsListActivity" |
| 49 | android:label="@string/recentCallsIconLabel" |
| 50 | > |
| 51 | <intent-filter> |
| 52 | <action android:name="com.android.phone.action.RECENT_CALLS" /> |
| 53 | <category android:name="android.intent.category.DEFAULT" /> |
| 54 | <category android:name="android.intent.category.TAB" /> |
| 55 | </intent-filter> |
| 56 | </activity> |
| 57 | |
| 58 | <!-- Tab container for TwelveKeyDialer and RecentCallsList --> |
| 59 | <activity android:name="DialtactsActivity" |
| 60 | android:label="@string/launcherDialer" |
| 61 | android:theme="@android:style/Theme.NoTitleBar" |
| 62 | android:launchMode="singleTask" |
| 63 | android:clearTaskOnLaunch="true" |
| 64 | android:icon="@drawable/ic_launcher_phone" |
| 65 | android:screenOrientation="nosensor" |
| 66 | > |
| 67 | <intent-filter> |
| 68 | <action android:name="android.intent.action.DIAL" /> |
| 69 | <category android:name="android.intent.category.DEFAULT" /> |
| 70 | <category android:name="android.intent.category.BROWSABLE" /> |
| 71 | <data android:mimeType="vnd.android.cursor.item/phone" /> |
| 72 | <data android:mimeType="vnd.android.cursor.item/person" /> |
| 73 | </intent-filter> |
| 74 | <intent-filter> |
| 75 | <action android:name="android.intent.action.DIAL" /> |
| 76 | <category android:name="android.intent.category.DEFAULT" /> |
| 77 | <category android:name="android.intent.category.BROWSABLE" /> |
| 78 | <data android:scheme="voicemail" /> |
| 79 | </intent-filter> |
| 80 | <intent-filter> |
| 81 | <action android:name="android.intent.action.DIAL" /> |
| 82 | <category android:name="android.intent.category.DEFAULT" /> |
| 83 | </intent-filter> |
| 84 | <intent-filter> |
| 85 | <action android:name="android.intent.action.MAIN" /> |
| 86 | <category android:name="android.intent.category.DEFAULT" /> |
| 87 | <category android:name="android.intent.category.LAUNCHER" /> |
| 88 | <category android:name="android.intent.category.BROWSABLE" /> |
| 89 | </intent-filter> |
| 90 | <intent-filter> |
| 91 | <action android:name="android.intent.action.VIEW" /> |
| 92 | <action android:name="android.intent.action.DIAL" /> |
| 93 | <category android:name="android.intent.category.DEFAULT" /> |
| 94 | <category android:name="android.intent.category.BROWSABLE" /> |
| 95 | <data android:scheme="tel" /> |
| 96 | </intent-filter> |
| 97 | <intent-filter> |
| 98 | <action android:name="android.intent.action.VIEW" /> |
| 99 | <category android:name="android.intent.category.DEFAULT" /> |
| 100 | <category android:name="android.intent.category.BROWSABLE" /> |
| 101 | <data android:mimeType="vnd.android.cursor.dir/calls" /> |
| 102 | </intent-filter> |
| 103 | <intent-filter> |
| 104 | <action android:name="android.intent.action.CALL_BUTTON" /> |
| 105 | <category android:name="android.intent.category.DEFAULT" /> |
| 106 | <category android:name="android.intent.category.BROWSABLE" /> |
| 107 | </intent-filter> |
| 108 | </activity> |
| 109 | |
| 110 | <!-- An empty activity that presents the DialtactActivity's Contacts tab --> |
| 111 | <activity-alias android:name="DialtactsContactsEntryActivity" |
| 112 | android:targetActivity="DialtactsActivity" |
| 113 | android:label="@string/contactsList" |
| 114 | android:icon="@drawable/ic_launcher_contacts" |
| 115 | > |
| 116 | <intent-filter> |
| 117 | <action android:name="android.intent.action.MAIN" /> |
| 118 | <category android:name="android.intent.category.DEFAULT" /> |
| 119 | <category android:name="android.intent.category.LAUNCHER" /> |
| 120 | </intent-filter> |
| 121 | |
| 122 | <intent-filter> |
| 123 | <action android:name="android.intent.action.VIEW" /> |
| 124 | <category android:name="android.intent.category.DEFAULT" /> |
| 125 | <data android:mimeType="vnd.android.cursor.dir/person" /> |
| 126 | </intent-filter> |
| 127 | |
| 128 | <intent-filter> |
| 129 | <action android:name="com.android.contacts.action.FILTER_CONTACTS" /> |
| 130 | <category android:name="android.intent.category.DEFAULT" /> |
| 131 | </intent-filter> |
| 132 | </activity-alias> |
| 133 | |
| 134 | <!-- The actual list of contacts, usually embedded in ContactsActivity --> |
| 135 | <activity android:name="ContactsListActivity" |
| 136 | android:label="@string/contactsList" |
| 137 | android:clearTaskOnLaunch="true" |
| 138 | > |
| 139 | <intent-filter> |
| 140 | <action android:name="com.android.contacts.action.LIST_DEFAULT" /> |
| 141 | <category android:name="android.intent.category.DEFAULT" /> |
| 142 | <category android:name="android.intent.category.TAB" /> |
| 143 | </intent-filter> |
| 144 | |
| 145 | <intent-filter> |
| 146 | <action android:name="com.android.contacts.action.LIST_CONTACTS" /> |
| 147 | <category android:name="android.intent.category.DEFAULT" /> |
| 148 | <category android:name="android.intent.category.TAB" /> |
| 149 | </intent-filter> |
| 150 | |
| 151 | <intent-filter> |
| 152 | <action android:name="com.android.contacts.action.LIST_ALL_CONTACTS" /> |
| 153 | <category android:name="android.intent.category.DEFAULT" /> |
| 154 | <category android:name="android.intent.category.TAB" /> |
| 155 | </intent-filter> |
| 156 | |
| 157 | <intent-filter> |
| 158 | <action android:name="com.android.contacts.action.LIST_CONTACTS_WITH_PHONES" /> |
| 159 | <category android:name="android.intent.category.DEFAULT" /> |
| 160 | <category android:name="android.intent.category.TAB" /> |
| 161 | </intent-filter> |
| 162 | |
| 163 | <intent-filter android:label="@string/starredList"> |
| 164 | <action android:name="com.android.contacts.action.LIST_STARRED" /> |
| 165 | <category android:name="android.intent.category.DEFAULT" /> |
| 166 | <category android:name="android.intent.category.TAB" /> |
| 167 | </intent-filter> |
| 168 | |
| 169 | <intent-filter android:label="@string/frequentList"> |
| 170 | <action android:name="com.android.contacts.action.LIST_FREQUENT" /> |
| 171 | <category android:name="android.intent.category.DEFAULT" /> |
| 172 | <category android:name="android.intent.category.TAB" /> |
| 173 | </intent-filter> |
| 174 | |
| 175 | <intent-filter android:label="@string/strequentList"> |
| 176 | <action android:name="com.android.contacts.action.LIST_STREQUENT" /> |
| 177 | <category android:name="android.intent.category.DEFAULT" /> |
| 178 | <category android:name="android.intent.category.TAB" /> |
| 179 | </intent-filter> |
| 180 | |
| 181 | <intent-filter> |
| 182 | <action android:name="android.intent.action.INSERT_OR_EDIT" /> |
| 183 | <category android:name="android.intent.category.DEFAULT" /> |
| 184 | <data android:mimeType="vnd.android.cursor.item/person" /> |
| 185 | </intent-filter> |
| 186 | <!-- |
| 187 | <intent-filter android:label="Add To Contacts"> |
| 188 | <action android:name="com.android.contacts.action.ADD_CONTACT" /> |
| 189 | <category android:name="android.intent.category.SELECTED_ALTERNATIVE" /> |
| 190 | <data android:scheme="mailto" /> |
| 191 | <data android:scheme="tel" /> |
| 192 | </intent-filter> |
| 193 | --> |
| 194 | <intent-filter> |
| 195 | <action android:name="android.intent.action.PICK" /> |
| 196 | <category android:name="android.intent.category.DEFAULT" /> |
| 197 | <data android:mimeType="vnd.android.cursor.dir/person" /> |
| 198 | <data android:mimeType="vnd.android.cursor.dir/phone" /> |
| 199 | <data android:mimeType="vnd.android.cursor.dir/postal-address" /> |
| 200 | </intent-filter> |
| 201 | |
| 202 | <intent-filter> |
| 203 | <action android:name="android.intent.action.GET_CONTENT" /> |
| 204 | <category android:name="android.intent.category.DEFAULT" /> |
| 205 | <data android:mimeType="vnd.android.cursor.item/person" /> |
| 206 | <data android:mimeType="vnd.android.cursor.item/phone" /> |
| 207 | <data android:mimeType="vnd.android.cursor.item/postal-address" /> |
| 208 | </intent-filter> |
| 209 | |
| 210 | <intent-filter> |
| 211 | <action android:name="android.intent.action.SEARCH" /> |
| 212 | <category android:name="android.intent.category.DEFAULT" /> |
| 213 | </intent-filter> |
| 214 | |
| 215 | <meta-data android:name="android.app.searchable" |
| 216 | android:resource="@xml/searchable" |
| 217 | /> |
| 218 | </activity> |
| 219 | |
| 220 | <activity-alias android:name="ContactShortcut" |
| 221 | android:targetActivity="ContactsListActivity" |
| 222 | android:label="@string/shortcutContact"> |
| 223 | |
| 224 | <intent-filter> |
| 225 | <action android:name="android.intent.action.CREATE_SHORTCUT" /> |
| 226 | <category android:name="android.intent.category.DEFAULT" /> |
| 227 | </intent-filter> |
| 228 | |
| 229 | </activity-alias> |
| 230 | |
| 231 | <activity android:name="CallDetailActivity" |
| 232 | android:label="@string/callDetailTitle" |
| 233 | android:theme="@android:style/Theme.NoTitleBar" |
| 234 | > |
| 235 | <intent-filter> |
| 236 | <action android:name="android.intent.action.VIEW" /> |
| 237 | <category android:name="android.intent.category.DEFAULT" /> |
| 238 | <data android:mimeType="vnd.android.cursor.item/calls" /> |
| 239 | </intent-filter> |
| 240 | </activity> |
| 241 | |
| 242 | <!-- Views the details of a single contact --> |
| 243 | <activity android:name="ViewContactActivity" |
| 244 | android:label="@string/viewContactTitle" |
| 245 | android:theme="@android:style/Theme.NoTitleBar" |
| 246 | > |
| 247 | <intent-filter android:label="@string/viewContactDesription"> |
| 248 | <action android:name="android.intent.action.VIEW" /> |
| 249 | <category android:name="android.intent.category.DEFAULT" /> |
| 250 | <data android:mimeType="vnd.android.cursor.item/person" /> |
| 251 | </intent-filter> |
| 252 | </activity> |
| 253 | |
| 254 | <!-- Edits the details of a single contact --> |
| 255 | <activity android:name="EditContactActivity" |
| 256 | android:windowSoftInputMode="stateVisible|adjustResize"> |
| 257 | <intent-filter android:label="@string/editContactDescription"> |
| 258 | <action android:name="android.intent.action.EDIT" /> |
| 259 | <category android:name="android.intent.category.DEFAULT" /> |
| 260 | <data android:mimeType="vnd.android.cursor.item/person" /> |
| 261 | </intent-filter> |
| 262 | <intent-filter android:label="@string/insertContactDescription"> |
| 263 | <action android:name="android.intent.action.INSERT" /> |
| 264 | <category android:name="android.intent.category.DEFAULT" /> |
| 265 | <data android:mimeType="vnd.android.cursor.dir/person" /> |
| 266 | </intent-filter> |
| 267 | </activity> |
| 268 | |
| 269 | <!-- Attaches a photo to a contact. Started from external applications --> |
| 270 | <activity android:name="AttachImage" |
| 271 | android:label="@string/attachToContact" |
| 272 | android:taskAffinity=""> |
| 273 | <intent-filter> |
| 274 | <action android:name="android.intent.action.ATTACH_DATA" /> |
| 275 | <data android:mimeType="image/*" /> |
| 276 | <category android:name="android.intent.category.DEFAULT" /> |
| 277 | </intent-filter> |
| 278 | /> |
| 279 | </activity> |
| 280 | |
| 281 | <!-- Activity used to select the groups that should be synced --> |
| 282 | <activity android:name="ContactsGroupSyncSelector" |
| 283 | android:label="@string/seclectSyncGroups_title" |
| 284 | /> |
| 285 | |
| 286 | <!-- Makes .ContactsListActivity the search target for any activity in Contacts --> |
| 287 | <meta-data android:name="android.app.default_searchable" |
| 288 | android:value=".ContactsListActivity" /> |
| 289 | |
| 290 | |
| 291 | <!-- LIVE FOLDERS --> |
| 292 | <activity |
| 293 | android:name=".ContactsLiveFolders$AllContacts" |
| 294 | android:label="@string/liveFolderAll" |
| 295 | android:icon="@drawable/ic_launcher_contacts"> |
| 296 | <intent-filter> |
| 297 | <action android:name="android.intent.action.CREATE_LIVE_FOLDER" /> |
| 298 | <category android:name="android.intent.category.DEFAULT" /> |
| 299 | </intent-filter> |
| 300 | </activity> |
| 301 | |
| 302 | <activity |
| 303 | android:name=".ContactsLiveFolders$StarredContacts" |
| 304 | android:label="@string/liveFolderFavorites" |
| 305 | android:icon="@drawable/ic_launcher_contacts_starred"> |
| 306 | <intent-filter> |
| 307 | <action android:name="android.intent.action.CREATE_LIVE_FOLDER" /> |
| 308 | <category android:name="android.intent.category.DEFAULT" /> |
| 309 | </intent-filter> |
| 310 | </activity> |
| 311 | |
| 312 | <activity |
| 313 | android:name=".ContactsLiveFolders$PhoneContacts" |
| 314 | android:label="@string/liveFolderPhone" |
| 315 | android:icon="@drawable/ic_launcher_contacts_phones"> |
| 316 | <intent-filter> |
| 317 | <action android:name="android.intent.action.CREATE_LIVE_FOLDER" /> |
| 318 | <category android:name="android.intent.category.DEFAULT" /> |
| 319 | </intent-filter> |
| 320 | </activity> |
| 321 | |
| 322 | </application> |
| 323 | </manifest> |
| 324 | |
| 325 | |
| 326 | |