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 --> |
| 60 | <activity android:name="DialtactsActivity" |
| 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 | |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 111 | <!-- An empty activity that presents the DialtactActivity's Contacts tab --> |
| 112 | <activity-alias android:name="DialtactsContactsEntryActivity" |
| 113 | android:targetActivity="DialtactsActivity" |
| 114 | android:label="@string/contactsList" |
| 115 | android:icon="@drawable/ic_launcher_contacts" |
| 116 | > |
| 117 | <intent-filter> |
| 118 | <action android:name="android.intent.action.MAIN" /> |
| 119 | <category android:name="android.intent.category.DEFAULT" /> |
| 120 | <category android:name="android.intent.category.LAUNCHER" /> |
| 121 | </intent-filter> |
| 122 | |
| 123 | <intent-filter> |
| 124 | <action android:name="android.intent.action.VIEW" /> |
| 125 | <category android:name="android.intent.category.DEFAULT" /> |
| 126 | <data android:mimeType="vnd.android.cursor.dir/person" /> |
| 127 | </intent-filter> |
Jeff Sharkey | 26c7e73 | 2009-04-01 17:30:46 -0700 | [diff] [blame^] | 128 | |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 129 | <intent-filter> |
| 130 | <action android:name="com.android.contacts.action.FILTER_CONTACTS" /> |
| 131 | <category android:name="android.intent.category.DEFAULT" /> |
| 132 | </intent-filter> |
| 133 | </activity-alias> |
| 134 | |
The Android Open Source Project | 1f62096 | 2009-03-09 11:52:14 -0700 | [diff] [blame] | 135 | <!-- An empty activity that presents the DialtactActivity's Favorites tab --> |
| 136 | <activity-alias android:name="DialtactsFavoritesEntryActivity" |
| 137 | android:targetActivity="DialtactsActivity" |
| 138 | android:label="@string/strequentList" |
| 139 | android:icon="@drawable/ic_launcher_contacts" |
| 140 | > |
| 141 | <intent-filter> |
| 142 | <action android:name="android.intent.action.MAIN" /> |
| 143 | <category android:name="android.intent.category.DEFAULT" /> |
| 144 | </intent-filter> |
| 145 | </activity-alias> |
Jeff Sharkey | 26c7e73 | 2009-04-01 17:30:46 -0700 | [diff] [blame^] | 146 | |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 147 | <!-- The actual list of contacts, usually embedded in ContactsActivity --> |
| 148 | <activity android:name="ContactsListActivity" |
| 149 | android:label="@string/contactsList" |
| 150 | android:clearTaskOnLaunch="true" |
| 151 | > |
| 152 | <intent-filter> |
| 153 | <action android:name="com.android.contacts.action.LIST_DEFAULT" /> |
| 154 | <category android:name="android.intent.category.DEFAULT" /> |
| 155 | <category android:name="android.intent.category.TAB" /> |
| 156 | </intent-filter> |
| 157 | |
| 158 | <intent-filter> |
| 159 | <action android:name="com.android.contacts.action.LIST_CONTACTS" /> |
| 160 | <category android:name="android.intent.category.DEFAULT" /> |
| 161 | <category android:name="android.intent.category.TAB" /> |
| 162 | </intent-filter> |
| 163 | |
| 164 | <intent-filter> |
| 165 | <action android:name="com.android.contacts.action.LIST_ALL_CONTACTS" /> |
| 166 | <category android:name="android.intent.category.DEFAULT" /> |
| 167 | <category android:name="android.intent.category.TAB" /> |
| 168 | </intent-filter> |
| 169 | |
| 170 | <intent-filter> |
| 171 | <action android:name="com.android.contacts.action.LIST_CONTACTS_WITH_PHONES" /> |
| 172 | <category android:name="android.intent.category.DEFAULT" /> |
| 173 | <category android:name="android.intent.category.TAB" /> |
| 174 | </intent-filter> |
| 175 | |
| 176 | <intent-filter android:label="@string/starredList"> |
| 177 | <action android:name="com.android.contacts.action.LIST_STARRED" /> |
| 178 | <category android:name="android.intent.category.DEFAULT" /> |
| 179 | <category android:name="android.intent.category.TAB" /> |
| 180 | </intent-filter> |
Jeff Sharkey | 26c7e73 | 2009-04-01 17:30:46 -0700 | [diff] [blame^] | 181 | |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 182 | <intent-filter android:label="@string/frequentList"> |
| 183 | <action android:name="com.android.contacts.action.LIST_FREQUENT" /> |
| 184 | <category android:name="android.intent.category.DEFAULT" /> |
| 185 | <category android:name="android.intent.category.TAB" /> |
| 186 | </intent-filter> |
| 187 | |
| 188 | <intent-filter android:label="@string/strequentList"> |
| 189 | <action android:name="com.android.contacts.action.LIST_STREQUENT" /> |
| 190 | <category android:name="android.intent.category.DEFAULT" /> |
| 191 | <category android:name="android.intent.category.TAB" /> |
| 192 | </intent-filter> |
| 193 | |
| 194 | <intent-filter> |
| 195 | <action android:name="android.intent.action.INSERT_OR_EDIT" /> |
| 196 | <category android:name="android.intent.category.DEFAULT" /> |
| 197 | <data android:mimeType="vnd.android.cursor.item/person" /> |
| 198 | </intent-filter> |
Jeff Sharkey | 26c7e73 | 2009-04-01 17:30:46 -0700 | [diff] [blame^] | 199 | |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 200 | <intent-filter> |
| 201 | <action android:name="android.intent.action.PICK" /> |
| 202 | <category android:name="android.intent.category.DEFAULT" /> |
| 203 | <data android:mimeType="vnd.android.cursor.dir/person" /> |
| 204 | <data android:mimeType="vnd.android.cursor.dir/phone" /> |
| 205 | <data android:mimeType="vnd.android.cursor.dir/postal-address" /> |
| 206 | </intent-filter> |
| 207 | |
| 208 | <intent-filter> |
| 209 | <action android:name="android.intent.action.GET_CONTENT" /> |
| 210 | <category android:name="android.intent.category.DEFAULT" /> |
| 211 | <data android:mimeType="vnd.android.cursor.item/person" /> |
| 212 | <data android:mimeType="vnd.android.cursor.item/phone" /> |
| 213 | <data android:mimeType="vnd.android.cursor.item/postal-address" /> |
| 214 | </intent-filter> |
| 215 | |
| 216 | <intent-filter> |
| 217 | <action android:name="android.intent.action.SEARCH" /> |
| 218 | <category android:name="android.intent.category.DEFAULT" /> |
| 219 | </intent-filter> |
| 220 | |
The Android Open Source Project | 37a16ac | 2009-03-18 17:39:48 -0700 | [diff] [blame] | 221 | <meta-data android:name="android.app.searchable" |
| 222 | android:resource="@xml/searchable" |
| 223 | /> |
| 224 | </activity> |
| 225 | |
| 226 | <activity android:name="ShowOrCreateActivity" |
| 227 | android:theme="@android:style/Theme.Translucent.NoTitleBar"> |
The Android Open Source Project | e740e2e | 2009-03-11 12:11:58 -0700 | [diff] [blame] | 228 | <intent-filter> |
| 229 | <action android:name="com.android.contacts.action.SHOW_OR_CREATE_CONTACT" /> |
| 230 | <data android:scheme="mailto" /> |
| 231 | <data android:scheme="tel" /> |
| 232 | <category android:name="android.intent.category.DEFAULT" /> |
| 233 | </intent-filter> |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 234 | </activity> |
| 235 | |
| 236 | <activity-alias android:name="ContactShortcut" |
| 237 | android:targetActivity="ContactsListActivity" |
Romain Guy | 4eb77b6 | 2009-03-24 18:10:17 -0700 | [diff] [blame] | 238 | android:label="@string/shortcutContact" |
| 239 | android:icon="@drawable/ic_launcher_shortcut_contact"> |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 240 | |
| 241 | <intent-filter> |
| 242 | <action android:name="android.intent.action.CREATE_SHORTCUT" /> |
| 243 | <category android:name="android.intent.category.DEFAULT" /> |
| 244 | </intent-filter> |
| 245 | |
| 246 | </activity-alias> |
| 247 | |
| 248 | <activity android:name="CallDetailActivity" |
| 249 | android:label="@string/callDetailTitle" |
Romain Guy | 4eb77b6 | 2009-03-24 18:10:17 -0700 | [diff] [blame] | 250 | android:theme="@style/TallTitleBarTheme" |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 251 | > |
| 252 | <intent-filter> |
| 253 | <action android:name="android.intent.action.VIEW" /> |
| 254 | <category android:name="android.intent.category.DEFAULT" /> |
| 255 | <data android:mimeType="vnd.android.cursor.item/calls" /> |
| 256 | </intent-filter> |
| 257 | </activity> |
| 258 | |
| 259 | <!-- Views the details of a single contact --> |
| 260 | <activity android:name="ViewContactActivity" |
| 261 | android:label="@string/viewContactTitle" |
Romain Guy | 4eb77b6 | 2009-03-24 18:10:17 -0700 | [diff] [blame] | 262 | android:theme="@style/TallTitleBarTheme" |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 263 | > |
| 264 | <intent-filter android:label="@string/viewContactDesription"> |
| 265 | <action android:name="android.intent.action.VIEW" /> |
| 266 | <category android:name="android.intent.category.DEFAULT" /> |
| 267 | <data android:mimeType="vnd.android.cursor.item/person" /> |
| 268 | </intent-filter> |
| 269 | </activity> |
| 270 | |
| 271 | <!-- Edits the details of a single contact --> |
| 272 | <activity android:name="EditContactActivity" |
| 273 | android:windowSoftInputMode="stateVisible|adjustResize"> |
| 274 | <intent-filter android:label="@string/editContactDescription"> |
| 275 | <action android:name="android.intent.action.EDIT" /> |
| 276 | <category android:name="android.intent.category.DEFAULT" /> |
| 277 | <data android:mimeType="vnd.android.cursor.item/person" /> |
| 278 | </intent-filter> |
| 279 | <intent-filter android:label="@string/insertContactDescription"> |
| 280 | <action android:name="android.intent.action.INSERT" /> |
| 281 | <category android:name="android.intent.category.DEFAULT" /> |
| 282 | <data android:mimeType="vnd.android.cursor.dir/person" /> |
| 283 | </intent-filter> |
| 284 | </activity> |
| 285 | |
| 286 | <!-- Attaches a photo to a contact. Started from external applications --> |
| 287 | <activity android:name="AttachImage" |
| 288 | android:label="@string/attachToContact" |
| 289 | android:taskAffinity=""> |
| 290 | <intent-filter> |
| 291 | <action android:name="android.intent.action.ATTACH_DATA" /> |
| 292 | <data android:mimeType="image/*" /> |
| 293 | <category android:name="android.intent.category.DEFAULT" /> |
| 294 | </intent-filter> |
| 295 | /> |
| 296 | </activity> |
| 297 | |
| 298 | <!-- Activity used to select the groups that should be synced --> |
| 299 | <activity android:name="ContactsGroupSyncSelector" |
| 300 | android:label="@string/seclectSyncGroups_title" |
| 301 | /> |
| 302 | |
| 303 | <!-- Makes .ContactsListActivity the search target for any activity in Contacts --> |
| 304 | <meta-data android:name="android.app.default_searchable" |
| 305 | android:value=".ContactsListActivity" /> |
| 306 | |
| 307 | |
| 308 | <!-- LIVE FOLDERS --> |
| 309 | <activity |
| 310 | android:name=".ContactsLiveFolders$AllContacts" |
| 311 | android:label="@string/liveFolderAll" |
Romain Guy | 4eb77b6 | 2009-03-24 18:10:17 -0700 | [diff] [blame] | 312 | android:icon="@drawable/ic_launcher_folder_live_contacts"> |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 313 | <intent-filter> |
| 314 | <action android:name="android.intent.action.CREATE_LIVE_FOLDER" /> |
| 315 | <category android:name="android.intent.category.DEFAULT" /> |
| 316 | </intent-filter> |
| 317 | </activity> |
| 318 | |
| 319 | <activity |
| 320 | android:name=".ContactsLiveFolders$StarredContacts" |
| 321 | android:label="@string/liveFolderFavorites" |
Romain Guy | 4eb77b6 | 2009-03-24 18:10:17 -0700 | [diff] [blame] | 322 | android:icon="@drawable/ic_launcher_folder_live_contacts_starred"> |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 323 | <intent-filter> |
| 324 | <action android:name="android.intent.action.CREATE_LIVE_FOLDER" /> |
| 325 | <category android:name="android.intent.category.DEFAULT" /> |
| 326 | </intent-filter> |
| 327 | </activity> |
| 328 | |
| 329 | <activity |
| 330 | android:name=".ContactsLiveFolders$PhoneContacts" |
| 331 | android:label="@string/liveFolderPhone" |
Romain Guy | 4eb77b6 | 2009-03-24 18:10:17 -0700 | [diff] [blame] | 332 | android:icon="@drawable/ic_launcher_folder_live_contacts_phone"> |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 333 | <intent-filter> |
| 334 | <action android:name="android.intent.action.CREATE_LIVE_FOLDER" /> |
| 335 | <category android:name="android.intent.category.DEFAULT" /> |
| 336 | </intent-filter> |
| 337 | </activity> |
| 338 | |
| 339 | </application> |
| 340 | </manifest> |
| 341 | |
| 342 | |
| 343 | |