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