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 |
Neel Parekh | be406ff | 2009-09-16 15:31:22 -0700 | [diff] [blame] | 7 | |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 8 | http://www.apache.org/licenses/LICENSE-2.0 |
Neel Parekh | be406ff | 2009-09-16 15:31:22 -0700 | [diff] [blame] | 9 | |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 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" |
Dianne Hackborn | 15a5ad8 | 2010-06-22 16:09:43 -0700 | [diff] [blame] | 20 | android:sharedUserLabel="@string/sharedUserLabel" |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 21 | > |
Jeff Sharkey | 26c7e73 | 2009-04-01 17:30:46 -0700 | [diff] [blame] | 22 | |
Jeff Hamilton | e788353 | 2010-02-11 16:25:48 -0600 | [diff] [blame] | 23 | <original-package android:name="com.android.contacts" /> |
| 24 | |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 25 | <uses-permission android:name="android.permission.CALL_PRIVILEGED" /> |
| 26 | <uses-permission android:name="android.permission.READ_CONTACTS" /> |
| 27 | <uses-permission android:name="android.permission.WRITE_CONTACTS" /> |
| 28 | <uses-permission android:name="android.permission.INTERNET" /> |
| 29 | <uses-permission android:name="android.permission.READ_PHONE_STATE" /> |
| 30 | <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" /> |
| 31 | <uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH.mail" /> |
Daisuke Miyakawa | 2991dd9 | 2009-05-19 08:32:17 +0900 | [diff] [blame] | 32 | <uses-permission android:name="android.permission.WAKE_LOCK" /> |
Daisuke Miyakawa | 72c5052 | 2009-07-07 15:37:59 -0700 | [diff] [blame] | 33 | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
Dmitri Plotnikov | daa2d5c | 2010-01-29 17:44:20 -0800 | [diff] [blame] | 34 | <uses-permission android:name="android.permission.WRITE_SETTINGS" /> |
Fred Quintana | 104b792 | 2009-07-22 20:01:15 -0700 | [diff] [blame] | 35 | <uses-permission android:name="android.permission.USE_CREDENTIALS" /> |
Nicolas Catania | 9bcf470 | 2009-11-06 13:19:43 -0800 | [diff] [blame] | 36 | <uses-permission android:name="android.permission.VIBRATE" /> |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 37 | |
| 38 | <application |
| 39 | android:label="@string/contactsList" |
| 40 | android:icon="@drawable/ic_launcher_contacts" |
| 41 | android:process="android.process.acore" |
| 42 | android:taskAffinity="android.task.contacts" |
Daniel Lehmann | 57b5aa1 | 2010-09-23 17:42:23 -0700 | [diff] [blame] | 43 | android:hardwareAccelerated="true" |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 44 | > |
| 45 | |
| 46 | <!-- A virtual 12 key dialer --> |
| 47 | <activity android:name="TwelveKeyDialer" |
| 48 | android:launchMode="singleTop" |
| 49 | > |
| 50 | <intent-filter> |
| 51 | <action android:name="com.android.phone.action.TOUCH_DIALER" /> |
| 52 | <category android:name="android.intent.category.DEFAULT" /> |
| 53 | <category android:name="android.intent.category.TAB" /> |
| 54 | </intent-filter> |
| 55 | </activity> |
| 56 | |
| 57 | <!-- A list of recent calls --> |
| 58 | <activity android:name="RecentCallsListActivity" |
| 59 | android:label="@string/recentCallsIconLabel" |
| 60 | > |
| 61 | <intent-filter> |
| 62 | <action android:name="com.android.phone.action.RECENT_CALLS" /> |
| 63 | <category android:name="android.intent.category.DEFAULT" /> |
| 64 | <category android:name="android.intent.category.TAB" /> |
| 65 | </intent-filter> |
| 66 | </activity> |
| 67 | |
Daniel Lehmann | 7675e12 | 2010-04-21 17:31:11 -0700 | [diff] [blame] | 68 | <!-- Tab container for all tabs --> |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 69 | <activity android:name="DialtactsActivity" |
| 70 | android:label="@string/launcherDialer" |
Nicolas Catania | 177d88f | 2009-09-27 15:15:05 -0700 | [diff] [blame] | 71 | android:theme="@style/DialtactsTheme" |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 72 | android:launchMode="singleTask" |
| 73 | android:clearTaskOnLaunch="true" |
| 74 | android:icon="@drawable/ic_launcher_phone" |
| 75 | android:screenOrientation="nosensor" |
Dmitri Plotnikov | 30c2699 | 2010-09-10 14:00:34 -0700 | [diff] [blame] | 76 | android:enabled="@bool/dialerEnabled" |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 77 | > |
| 78 | <intent-filter> |
| 79 | <action android:name="android.intent.action.DIAL" /> |
| 80 | <category android:name="android.intent.category.DEFAULT" /> |
| 81 | <category android:name="android.intent.category.BROWSABLE" /> |
| 82 | <data android:mimeType="vnd.android.cursor.item/phone" /> |
| 83 | <data android:mimeType="vnd.android.cursor.item/person" /> |
| 84 | </intent-filter> |
| 85 | <intent-filter> |
| 86 | <action android:name="android.intent.action.DIAL" /> |
| 87 | <category android:name="android.intent.category.DEFAULT" /> |
| 88 | <category android:name="android.intent.category.BROWSABLE" /> |
| 89 | <data android:scheme="voicemail" /> |
| 90 | </intent-filter> |
| 91 | <intent-filter> |
| 92 | <action android:name="android.intent.action.DIAL" /> |
| 93 | <category android:name="android.intent.category.DEFAULT" /> |
| 94 | </intent-filter> |
| 95 | <intent-filter> |
| 96 | <action android:name="android.intent.action.MAIN" /> |
| 97 | <category android:name="android.intent.category.DEFAULT" /> |
| 98 | <category android:name="android.intent.category.LAUNCHER" /> |
| 99 | <category android:name="android.intent.category.BROWSABLE" /> |
| 100 | </intent-filter> |
| 101 | <intent-filter> |
| 102 | <action android:name="android.intent.action.VIEW" /> |
| 103 | <action android:name="android.intent.action.DIAL" /> |
| 104 | <category android:name="android.intent.category.DEFAULT" /> |
| 105 | <category android:name="android.intent.category.BROWSABLE" /> |
| 106 | <data android:scheme="tel" /> |
| 107 | </intent-filter> |
| 108 | <intent-filter> |
| 109 | <action android:name="android.intent.action.VIEW" /> |
| 110 | <category android:name="android.intent.category.DEFAULT" /> |
| 111 | <category android:name="android.intent.category.BROWSABLE" /> |
| 112 | <data android:mimeType="vnd.android.cursor.dir/calls" /> |
| 113 | </intent-filter> |
| 114 | <intent-filter> |
| 115 | <action android:name="android.intent.action.CALL_BUTTON" /> |
| 116 | <category android:name="android.intent.category.DEFAULT" /> |
| 117 | <category android:name="android.intent.category.BROWSABLE" /> |
| 118 | </intent-filter> |
| 119 | </activity> |
Jeff Sharkey | 26c7e73 | 2009-04-01 17:30:46 -0700 | [diff] [blame] | 120 | |
Jeff Hamilton | df4b146 | 2010-06-28 10:40:26 -0500 | [diff] [blame] | 121 | <!-- Front door proxy that picks the right UI based on the screen config --> |
| 122 | <activity android:name=".activities.ContactsFrontDoor" |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 123 | android:label="@string/contactsList" |
| 124 | android:icon="@drawable/ic_launcher_contacts" |
Jeff Hamilton | df4b146 | 2010-06-28 10:40:26 -0500 | [diff] [blame] | 125 | android:theme="@android:style/Theme.NoTitleBar" |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 126 | > |
| 127 | <intent-filter> |
| 128 | <action android:name="android.intent.action.MAIN" /> |
| 129 | <category android:name="android.intent.category.DEFAULT" /> |
| 130 | <category android:name="android.intent.category.LAUNCHER" /> |
Dmitri Plotnikov | 032bb36 | 2009-05-06 17:05:39 -0700 | [diff] [blame] | 131 | <category android:name="android.intent.category.BROWSABLE" /> |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 132 | </intent-filter> |
| 133 | |
| 134 | <intent-filter> |
| 135 | <action android:name="android.intent.action.VIEW" /> |
| 136 | <category android:name="android.intent.category.DEFAULT" /> |
Jeff Sharkey | 2428f62 | 2009-09-13 01:08:43 -0700 | [diff] [blame] | 137 | <data android:mimeType="vnd.android.cursor.dir/person" android:host="contacts" /> |
| 138 | <data android:mimeType="vnd.android.cursor.dir/contact" android:host="com.android.contacts" /> |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 139 | </intent-filter> |
Jeff Hamilton | df4b146 | 2010-06-28 10:40:26 -0500 | [diff] [blame] | 140 | </activity> |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 141 | |
Daniel Lehmann | 7675e12 | 2010-04-21 17:31:11 -0700 | [diff] [blame] | 142 | <!-- Main launch Intent to open the Contacts app. This will open the app in its last manual |
| 143 | state. This is the state that has been explicitly set by the user (e.g. by clicking a tab). |
| 144 | States configured via other Intents (e.g. CallLog after Call) are not considered manual |
| 145 | state. At the moment, the Intent always goes to the DialtactsActivity, but this might later |
| 146 | be changed to also include sub-activities like Edit or View if they were left open --> |
| 147 | |
| 148 | <activity-alias android:name="ContactsLaunchActivity" |
| 149 | android:targetActivity="DialtactsActivity" |
| 150 | > |
| 151 | <intent-filter> |
| 152 | <action android:name="android.intent.action.MAIN" /> |
| 153 | <category android:name="android.intent.category.DEFAULT" /> |
| 154 | <category android:name="android.intent.category.BROWSABLE" /> |
| 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" |
| 160 | android:targetActivity="DialtactsActivity" |
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 | |
Dmitri Plotnikov | 27834b2 | 2010-07-01 14:10:08 -0700 | [diff] [blame] | 168 | <!-- The actual list of contacts --> |
Dmitri Plotnikov | cfa3900 | 2010-07-09 18:05:17 -0700 | [diff] [blame] | 169 | <activity android:name=".activities.ContactBrowserActivity" |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 170 | android:label="@string/contactsList" |
| 171 | android:clearTaskOnLaunch="true" |
Dmitri Plotnikov | e1d4c06 | 2010-07-15 16:20:36 -0700 | [diff] [blame] | 172 | android:theme="@style/ContactBrowserTheme" |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 173 | > |
| 174 | <intent-filter> |
| 175 | <action android:name="com.android.contacts.action.LIST_DEFAULT" /> |
| 176 | <category android:name="android.intent.category.DEFAULT" /> |
| 177 | <category android:name="android.intent.category.TAB" /> |
| 178 | </intent-filter> |
| 179 | |
| 180 | <intent-filter> |
| 181 | <action android:name="com.android.contacts.action.LIST_CONTACTS" /> |
| 182 | <category android:name="android.intent.category.DEFAULT" /> |
| 183 | <category android:name="android.intent.category.TAB" /> |
| 184 | </intent-filter> |
| 185 | |
| 186 | <intent-filter> |
| 187 | <action android:name="com.android.contacts.action.LIST_ALL_CONTACTS" /> |
| 188 | <category android:name="android.intent.category.DEFAULT" /> |
| 189 | <category android:name="android.intent.category.TAB" /> |
| 190 | </intent-filter> |
| 191 | |
| 192 | <intent-filter> |
| 193 | <action android:name="com.android.contacts.action.LIST_CONTACTS_WITH_PHONES" /> |
| 194 | <category android:name="android.intent.category.DEFAULT" /> |
| 195 | <category android:name="android.intent.category.TAB" /> |
| 196 | </intent-filter> |
| 197 | |
| 198 | <intent-filter android:label="@string/starredList"> |
| 199 | <action android:name="com.android.contacts.action.LIST_STARRED" /> |
| 200 | <category android:name="android.intent.category.DEFAULT" /> |
| 201 | <category android:name="android.intent.category.TAB" /> |
| 202 | </intent-filter> |
Jeff Sharkey | 26c7e73 | 2009-04-01 17:30:46 -0700 | [diff] [blame] | 203 | |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 204 | <intent-filter android:label="@string/frequentList"> |
| 205 | <action android:name="com.android.contacts.action.LIST_FREQUENT" /> |
| 206 | <category android:name="android.intent.category.DEFAULT" /> |
| 207 | <category android:name="android.intent.category.TAB" /> |
| 208 | </intent-filter> |
| 209 | |
| 210 | <intent-filter android:label="@string/strequentList"> |
| 211 | <action android:name="com.android.contacts.action.LIST_STREQUENT" /> |
| 212 | <category android:name="android.intent.category.DEFAULT" /> |
| 213 | <category android:name="android.intent.category.TAB" /> |
| 214 | </intent-filter> |
Dmitri Plotnikov | b979b42 | 2010-07-01 15:29:15 -0700 | [diff] [blame] | 215 | </activity> |
| 216 | |
| 217 | <activity android:name=".activities.ContactSelectionActivity" |
| 218 | android:label="@string/contactsList" |
| 219 | android:clearTaskOnLaunch="true" |
Dmitri Plotnikov | e1d4c06 | 2010-07-15 16:20:36 -0700 | [diff] [blame] | 220 | android:theme="@style/ContactPickerTheme" |
Dmitri Plotnikov | b979b42 | 2010-07-01 15:29:15 -0700 | [diff] [blame] | 221 | > |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 222 | <intent-filter> |
| 223 | <action android:name="android.intent.action.INSERT_OR_EDIT" /> |
| 224 | <category android:name="android.intent.category.DEFAULT" /> |
| 225 | <data android:mimeType="vnd.android.cursor.item/person" /> |
Jeff Sharkey | d9798ae | 2009-08-24 20:46:23 -0700 | [diff] [blame] | 226 | <data android:mimeType="vnd.android.cursor.item/contact" /> |
| 227 | <data android:mimeType="vnd.android.cursor.item/raw_contact" /> |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 228 | </intent-filter> |
Jeff Sharkey | 26c7e73 | 2009-04-01 17:30:46 -0700 | [diff] [blame] | 229 | |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 230 | <intent-filter> |
| 231 | <action android:name="android.intent.action.PICK" /> |
| 232 | <category android:name="android.intent.category.DEFAULT" /> |
Evan Millar | c2d862e | 2009-08-31 12:52:39 -0700 | [diff] [blame] | 233 | <data android:mimeType="vnd.android.cursor.dir/contact" android:host="com.android.contacts" /> |
| 234 | <data android:mimeType="vnd.android.cursor.dir/person" android:host="contacts" /> |
| 235 | <data android:mimeType="vnd.android.cursor.dir/phone_v2" android:host="com.android.contacts" /> |
| 236 | <data android:mimeType="vnd.android.cursor.dir/phone" android:host="contacts" /> |
| 237 | <data android:mimeType="vnd.android.cursor.dir/postal-address_v2" android:host="com.android.contacts" /> |
| 238 | <data android:mimeType="vnd.android.cursor.dir/postal-address" android:host="contacts" /> |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 239 | </intent-filter> |
| 240 | |
| 241 | <intent-filter> |
| 242 | <action android:name="android.intent.action.GET_CONTENT" /> |
| 243 | <category android:name="android.intent.category.DEFAULT" /> |
Dmitri Plotnikov | 631c1ff | 2009-09-03 16:57:30 -0700 | [diff] [blame] | 244 | <data android:mimeType="vnd.android.cursor.item/contact" android:host="com.android.contacts" /> |
| 245 | <data android:mimeType="vnd.android.cursor.item/person" android:host="contacts" /> |
| 246 | <data android:mimeType="vnd.android.cursor.item/phone_v2" android:host="com.android.contacts" /> |
| 247 | <data android:mimeType="vnd.android.cursor.item/phone" android:host="contacts" /> |
| 248 | <data android:mimeType="vnd.android.cursor.item/postal-address_v2" android:host="com.android.contacts" /> |
| 249 | <data android:mimeType="vnd.android.cursor.item/postal-address" android:host="contacts" /> |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 250 | </intent-filter> |
The Android Open Source Project | 37a16ac | 2009-03-18 17:39:48 -0700 | [diff] [blame] | 251 | </activity> |
| 252 | |
Dmitri Plotnikov | 27834b2 | 2010-07-01 14:10:08 -0700 | [diff] [blame] | 253 | <!-- Backwards compatibility: somebody may have hard coded this activity name --> |
| 254 | <activity-alias android:name="ContactsListActivity" |
Dmitri Plotnikov | cfa3900 | 2010-07-09 18:05:17 -0700 | [diff] [blame] | 255 | android:targetActivity=".activities.ContactBrowserActivity" |
Dmitri Plotnikov | 27834b2 | 2010-07-01 14:10:08 -0700 | [diff] [blame] | 256 | /> |
| 257 | |
Dmitri Plotnikov | 57d27da | 2009-09-28 18:06:11 -0700 | [diff] [blame] | 258 | <!-- An activity for joining contacts --> |
Dmitri Plotnikov | 501b7ea | 2010-04-07 17:20:49 -0700 | [diff] [blame] | 259 | <activity android:name="JoinContactActivity" |
Daniel Lehmann | 134e53f | 2010-08-25 14:21:51 -0700 | [diff] [blame] | 260 | android:theme="@style/JoinContactActivityTheme" |
Dmitri Plotnikov | 57d27da | 2009-09-28 18:06:11 -0700 | [diff] [blame] | 261 | android:clearTaskOnLaunch="true" |
| 262 | > |
| 263 | <intent-filter> |
Dmitri Plotnikov | 501b7ea | 2010-04-07 17:20:49 -0700 | [diff] [blame] | 264 | <action android:name="com.android.contacts.action.JOIN_CONTACT" /> |
Dmitri Plotnikov | 57d27da | 2009-09-28 18:06:11 -0700 | [diff] [blame] | 265 | <category android:name="android.intent.category.DEFAULT" /> |
| 266 | </intent-filter> |
| 267 | </activity> |
| 268 | |
Dmitri Plotnikov | e8ae9ac | 2010-04-21 13:37:15 -0700 | [diff] [blame] | 269 | <!-- An activity for selecting multiple phone numbers --> |
| 270 | <activity android:name="MultiplePhonePickerActivity"> |
| 271 | <intent-filter> |
| 272 | <action android:name="com.android.contacts.action.GET_MULTIPLE_PHONES" /> |
| 273 | <category android:name="android.intent.category.DEFAULT" /> |
| 274 | <data android:mimeType="vnd.android.cursor.dir/phone_v2" android:host="com.android.contacts" /> |
| 275 | </intent-filter> |
| 276 | </activity> |
| 277 | |
Dmitri Plotnikov | 8e86b75 | 2010-02-22 17:47:57 -0800 | [diff] [blame] | 278 | <!-- The contacts search/filter UI --> |
Dmitri Plotnikov | e1d4c06 | 2010-07-15 16:20:36 -0700 | [diff] [blame] | 279 | <activity android:name=".activities.ContactSearchActivity" |
Dmitri Plotnikov | 8e86b75 | 2010-02-22 17:47:57 -0800 | [diff] [blame] | 280 | android:theme="@style/ContactsSearchTheme" |
Dmitri Plotnikov | d5061fe | 2010-06-07 15:06:58 -0700 | [diff] [blame] | 281 | android:windowSoftInputMode="stateAlwaysVisible" |
Dmitri Plotnikov | 8e86b75 | 2010-02-22 17:47:57 -0800 | [diff] [blame] | 282 | > |
| 283 | <intent-filter> |
| 284 | <action android:name="com.android.contacts.action.FILTER_CONTACTS" /> |
| 285 | <category android:name="android.intent.category.DEFAULT" /> |
| 286 | <data android:mimeType="vnd.android.cursor.dir/contact" android:host="com.android.contacts" /> |
| 287 | </intent-filter> |
Dmitri Plotnikov | 4cc85dd | 2010-06-29 13:15:26 -0700 | [diff] [blame] | 288 | |
Dmitri Plotnikov | 8e86b75 | 2010-02-22 17:47:57 -0800 | [diff] [blame] | 289 | </activity> |
Dmitri Plotnikov | 57d27da | 2009-09-28 18:06:11 -0700 | [diff] [blame] | 290 | |
Dmitri Plotnikov | 207d4f6 | 2010-03-23 16:38:29 -0700 | [diff] [blame] | 291 | <!-- The contacts search/filter UI --> |
Dmitri Plotnikov | 4cc85dd | 2010-06-29 13:15:26 -0700 | [diff] [blame] | 292 | <activity-alias android:name="SearchResultsActivity" |
Dmitri Plotnikov | e1d4c06 | 2010-07-15 16:20:36 -0700 | [diff] [blame] | 293 | android:targetActivity=".activities.ContactSearchActivity" |
Dmitri Plotnikov | 207d4f6 | 2010-03-23 16:38:29 -0700 | [diff] [blame] | 294 | > |
| 295 | <intent-filter> |
| 296 | <action android:name="android.intent.action.SEARCH" /> |
| 297 | <category android:name="android.intent.category.DEFAULT" /> |
| 298 | </intent-filter> |
| 299 | |
| 300 | <meta-data android:name="android.app.searchable" |
| 301 | android:resource="@xml/searchable" |
| 302 | /> |
Dmitri Plotnikov | 4cc85dd | 2010-06-29 13:15:26 -0700 | [diff] [blame] | 303 | </activity-alias> |
Dmitri Plotnikov | 207d4f6 | 2010-03-23 16:38:29 -0700 | [diff] [blame] | 304 | |
Dmitri Plotnikov | c85ad18 | 2010-09-17 18:12:49 -0700 | [diff] [blame] | 305 | <!-- Used to set options --> |
Daniel Lehmann | 1010574 | 2010-07-15 17:35:57 -0700 | [diff] [blame] | 306 | <activity |
Dmitri Plotnikov | c85ad18 | 2010-09-17 18:12:49 -0700 | [diff] [blame] | 307 | android:name=".preference.ContactsPreferenceActivity" |
| 308 | android:label="@string/activity_title_settings" |
Daniel Lehmann | 1010574 | 2010-07-15 17:35:57 -0700 | [diff] [blame] | 309 | android:theme="@style/ContactsPreferencesTheme" /> |
Jeff Sharkey | d5c5b9a | 2009-06-21 19:46:04 -0700 | [diff] [blame] | 310 | |
Dmitri Plotnikov | d6e6b8a | 2010-09-15 16:23:02 -0700 | [diff] [blame] | 311 | <!-- Used to select display and sync groups --> |
| 312 | <activity |
| 313 | android:name=".list.CustomContactListFilterActivity" |
| 314 | android:label="@string/custom_list_filter" |
| 315 | android:theme="@style/ContactsPreferencesTheme" /> |
| 316 | |
Jeff Sharkey | 802b205 | 2009-08-04 14:21:06 -0700 | [diff] [blame] | 317 | <activity |
Jeff Sharkey | e897162 | 2009-09-17 15:42:36 -0700 | [diff] [blame] | 318 | android:name=".ui.ShowOrCreateActivity" |
| 319 | android:theme="@style/FullyTranslucent"> |
Jeff Sharkey | 3f0b7b8 | 2009-08-12 11:28:53 -0700 | [diff] [blame] | 320 | |
The Android Open Source Project | e740e2e | 2009-03-11 12:11:58 -0700 | [diff] [blame] | 321 | <intent-filter> |
| 322 | <action android:name="com.android.contacts.action.SHOW_OR_CREATE_CONTACT" /> |
Jeff Sharkey | 802b205 | 2009-08-04 14:21:06 -0700 | [diff] [blame] | 323 | <category android:name="android.intent.category.DEFAULT" /> |
The Android Open Source Project | e740e2e | 2009-03-11 12:11:58 -0700 | [diff] [blame] | 324 | <data android:scheme="mailto" /> |
| 325 | <data android:scheme="tel" /> |
The Android Open Source Project | e740e2e | 2009-03-11 12:11:58 -0700 | [diff] [blame] | 326 | </intent-filter> |
Jeff Sharkey | e897162 | 2009-09-17 15:42:36 -0700 | [diff] [blame] | 327 | </activity> |
| 328 | |
Evan Millar | 0d0ab34 | 2009-09-30 19:03:35 -0700 | [diff] [blame] | 329 | <!-- Used to show QuickContact window over a translucent activity, which is a |
Jeff Sharkey | e897162 | 2009-09-17 15:42:36 -0700 | [diff] [blame] | 330 | temporary hack until we add better framework support. --> |
| 331 | <activity |
Evan Millar | 0d0ab34 | 2009-09-30 19:03:35 -0700 | [diff] [blame] | 332 | android:name=".ui.QuickContactActivity" |
Jeff Sharkey | 735e8b1 | 2009-09-30 14:57:07 -0700 | [diff] [blame] | 333 | android:theme="@style/FullyTranslucent.QuickContact" |
| 334 | android:launchMode="singleTop" |
Jeff Sharkey | 5cbf6f4 | 2009-10-02 14:22:51 -0700 | [diff] [blame] | 335 | android:excludeFromRecents="true" |
Dmitri Plotnikov | ad3bd44 | 2010-03-23 22:49:43 -0700 | [diff] [blame] | 336 | android:taskAffinity="android.task.quickcontact" |
| 337 | android:windowSoftInputMode="stateUnchanged" |
| 338 | > |
Jeff Sharkey | 3f17759 | 2009-05-18 15:23:12 -0700 | [diff] [blame] | 339 | |
| 340 | <intent-filter> |
Evan Millar | 33b0845 | 2009-09-30 21:45:08 -0700 | [diff] [blame] | 341 | <action android:name="com.android.contacts.action.QUICK_CONTACT" /> |
The Android Open Source Project | e740e2e | 2009-03-11 12:11:58 -0700 | [diff] [blame] | 342 | <category android:name="android.intent.category.DEFAULT" /> |
Jeff Sharkey | 3f0b7b8 | 2009-08-12 11:28:53 -0700 | [diff] [blame] | 343 | <data android:mimeType="vnd.android.cursor.item/contact" android:host="com.android.contacts" /> |
Bai Tao | d128adc | 2010-03-24 08:50:35 +0800 | [diff] [blame] | 344 | <data android:mimeType="vnd.android.cursor.item/person" android:host="contacts" /> |
The Android Open Source Project | e740e2e | 2009-03-11 12:11:58 -0700 | [diff] [blame] | 345 | </intent-filter> |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 346 | </activity> |
| 347 | |
| 348 | <activity-alias android:name="ContactShortcut" |
Dmitri Plotnikov | b979b42 | 2010-07-01 15:29:15 -0700 | [diff] [blame] | 349 | android:targetActivity=".activities.ContactSelectionActivity" |
Romain Guy | 4eb77b6 | 2009-03-24 18:10:17 -0700 | [diff] [blame] | 350 | android:label="@string/shortcutContact" |
| 351 | android:icon="@drawable/ic_launcher_shortcut_contact"> |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 352 | |
| 353 | <intent-filter> |
| 354 | <action android:name="android.intent.action.CREATE_SHORTCUT" /> |
| 355 | <category android:name="android.intent.category.DEFAULT" /> |
| 356 | </intent-filter> |
| 357 | |
| 358 | </activity-alias> |
| 359 | |
Dianne Hackborn | 333a615 | 2009-05-26 12:46:23 -0700 | [diff] [blame] | 360 | <activity-alias android:name="alias.DialShortcut" |
Dmitri Plotnikov | b979b42 | 2010-07-01 15:29:15 -0700 | [diff] [blame] | 361 | android:targetActivity=".activities.ContactSelectionActivity" |
Dianne Hackborn | 333a615 | 2009-05-26 12:46:23 -0700 | [diff] [blame] | 362 | android:label="@string/shortcutDialContact" |
Mike Cleron | f143a45 | 2009-09-30 01:13:23 -0700 | [diff] [blame] | 363 | android:icon="@drawable/ic_launcher_shortcut_directdial"> |
Dianne Hackborn | 333a615 | 2009-05-26 12:46:23 -0700 | [diff] [blame] | 364 | |
| 365 | <intent-filter> |
| 366 | <action android:name="android.intent.action.CREATE_SHORTCUT" /> |
| 367 | <category android:name="android.intent.category.DEFAULT" /> |
Bernd Holzhey | a497ce5 | 2010-03-31 10:06:24 +0200 | [diff] [blame] | 368 | <category android:name="android.intent.category.CAR_MODE" /> |
Dianne Hackborn | 333a615 | 2009-05-26 12:46:23 -0700 | [diff] [blame] | 369 | </intent-filter> |
| 370 | |
| 371 | </activity-alias> |
| 372 | |
| 373 | <activity-alias android:name="alias.MessageShortcut" |
Dmitri Plotnikov | b979b42 | 2010-07-01 15:29:15 -0700 | [diff] [blame] | 374 | android:targetActivity=".activities.ContactSelectionActivity" |
Dianne Hackborn | 333a615 | 2009-05-26 12:46:23 -0700 | [diff] [blame] | 375 | android:label="@string/shortcutMessageContact" |
Mike Cleron | f143a45 | 2009-09-30 01:13:23 -0700 | [diff] [blame] | 376 | android:icon="@drawable/ic_launcher_shortcut_directmessage"> |
Dianne Hackborn | 333a615 | 2009-05-26 12:46:23 -0700 | [diff] [blame] | 377 | |
| 378 | <intent-filter> |
| 379 | <action android:name="android.intent.action.CREATE_SHORTCUT" /> |
| 380 | <category android:name="android.intent.category.DEFAULT" /> |
| 381 | </intent-filter> |
| 382 | |
| 383 | </activity-alias> |
| 384 | |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 385 | <activity android:name="CallDetailActivity" |
| 386 | android:label="@string/callDetailTitle" |
Daniel Lehmann | 134e53f | 2010-08-25 14:21:51 -0700 | [diff] [blame] | 387 | android:theme="@style/CallDetailActivityTheme" |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 388 | > |
| 389 | <intent-filter> |
| 390 | <action android:name="android.intent.action.VIEW" /> |
| 391 | <category android:name="android.intent.category.DEFAULT" /> |
| 392 | <data android:mimeType="vnd.android.cursor.item/calls" /> |
| 393 | </intent-filter> |
| 394 | </activity> |
| 395 | |
| 396 | <!-- Views the details of a single contact --> |
Daniel Lehmann | 4cd9441 | 2010-04-08 16:44:36 -0700 | [diff] [blame] | 397 | <activity android:name=".activities.ContactDetailActivity" |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 398 | android:label="@string/viewContactTitle" |
Daniel Lehmann | 134e53f | 2010-08-25 14:21:51 -0700 | [diff] [blame] | 399 | android:theme="@style/ContactDetailActivityTheme"> |
Jeff Sharkey | 3f0b7b8 | 2009-08-12 11:28:53 -0700 | [diff] [blame] | 400 | |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 401 | <intent-filter android:label="@string/viewContactDesription"> |
| 402 | <action android:name="android.intent.action.VIEW" /> |
| 403 | <category android:name="android.intent.category.DEFAULT" /> |
Jeff Sharkey | 3f0b7b8 | 2009-08-12 11:28:53 -0700 | [diff] [blame] | 404 | <data android:mimeType="vnd.android.cursor.item/person" android:host="contacts" /> |
| 405 | <data android:mimeType="vnd.android.cursor.item/contact" android:host="com.android.contacts" /> |
Jeff Sharkey | d9798ae | 2009-08-24 20:46:23 -0700 | [diff] [blame] | 406 | <data android:mimeType="vnd.android.cursor.item/raw_contact" android:host="com.android.contacts" /> |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 407 | </intent-filter> |
| 408 | </activity> |
| 409 | |
Daniel Lehmann | f319cf8 | 2010-06-25 17:41:13 -0700 | [diff] [blame] | 410 | <!-- Create a new or edit an existing contact --> |
Jeff Sharkey | 14f61ab | 2009-08-05 21:02:37 -0700 | [diff] [blame] | 411 | <activity |
Daniel Lehmann | cdef2b6 | 2010-06-06 18:25:49 -0700 | [diff] [blame] | 412 | android:name=".activities.ContactEditorActivity" |
Daniel Lehmann | 134e53f | 2010-08-25 14:21:51 -0700 | [diff] [blame] | 413 | android:theme="@style/ContactEditorActivityTheme" |
Daniel Lehmann | 3a12077 | 2010-06-21 16:21:35 -0700 | [diff] [blame] | 414 | android:windowSoftInputMode="adjustResize"> |
Jeff Sharkey | 14f61ab | 2009-08-05 21:02:37 -0700 | [diff] [blame] | 415 | |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 416 | <intent-filter android:label="@string/editContactDescription"> |
| 417 | <action android:name="android.intent.action.EDIT" /> |
| 418 | <category android:name="android.intent.category.DEFAULT" /> |
Jeff Sharkey | 3f0b7b8 | 2009-08-12 11:28:53 -0700 | [diff] [blame] | 419 | <data android:mimeType="vnd.android.cursor.item/person" android:host="contacts" /> |
Jeff Sharkey | d9798ae | 2009-08-24 20:46:23 -0700 | [diff] [blame] | 420 | <data android:mimeType="vnd.android.cursor.item/contact" android:host="com.android.contacts" /> |
Evan Millar | 8a79cee | 2009-08-19 17:20:49 -0700 | [diff] [blame] | 421 | <data android:mimeType="vnd.android.cursor.item/raw_contact" android:host="com.android.contacts" /> |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 422 | </intent-filter> |
| 423 | <intent-filter android:label="@string/insertContactDescription"> |
| 424 | <action android:name="android.intent.action.INSERT" /> |
| 425 | <category android:name="android.intent.category.DEFAULT" /> |
Jeff Sharkey | d9798ae | 2009-08-24 20:46:23 -0700 | [diff] [blame] | 426 | <data android:mimeType="vnd.android.cursor.dir/person" /> |
| 427 | <data android:mimeType="vnd.android.cursor.dir/contact" /> |
| 428 | <data android:mimeType="vnd.android.cursor.dir/raw_contact" /> |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 429 | </intent-filter> |
Daniel Lehmann | cdef2b6 | 2010-06-06 18:25:49 -0700 | [diff] [blame] | 430 | </activity> |
Neel Parekh | be406ff | 2009-09-16 15:31:22 -0700 | [diff] [blame] | 431 | |
Jeff Sharkey | 3f0b7b8 | 2009-08-12 11:28:53 -0700 | [diff] [blame] | 432 | <!-- Stub service used to keep our process alive long enough for |
| 433 | background threads to finish their operations. --> |
| 434 | <service |
| 435 | android:name=".util.EmptyService" |
| 436 | android:exported="false" /> |
| 437 | |
Daniel Lehmann | 173ffe1 | 2010-06-14 18:19:10 -0700 | [diff] [blame] | 438 | <!-- Service to save a contact --> |
| 439 | <service |
| 440 | android:name=".views.ContactSaveService" |
| 441 | android:exported="false" /> |
| 442 | |
Dmitri Plotnikov | ef03872 | 2009-06-24 18:51:47 -0700 | [diff] [blame] | 443 | <!-- Views the details of a single contact --> |
| 444 | <activity android:name="ContactOptionsActivity" |
| 445 | android:label="@string/contactOptionsTitle" |
Neel Parekh | be406ff | 2009-09-16 15:31:22 -0700 | [diff] [blame] | 446 | > |
Dmitri Plotnikov | ef03872 | 2009-06-24 18:51:47 -0700 | [diff] [blame] | 447 | <intent-filter> |
| 448 | <action android:name="android.intent.action.EDIT" /> |
| 449 | <category android:name="android.intent.category.DEFAULT" /> |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 450 | </intent-filter> |
| 451 | </activity> |
| 452 | |
| 453 | <!-- Attaches a photo to a contact. Started from external applications --> |
| 454 | <activity android:name="AttachImage" |
| 455 | android:label="@string/attachToContact" |
| 456 | android:taskAffinity=""> |
| 457 | <intent-filter> |
| 458 | <action android:name="android.intent.action.ATTACH_DATA" /> |
| 459 | <data android:mimeType="image/*" /> |
| 460 | <category android:name="android.intent.category.DEFAULT" /> |
| 461 | </intent-filter> |
| 462 | /> |
Neel Parekh | be406ff | 2009-09-16 15:31:22 -0700 | [diff] [blame] | 463 | </activity> |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 464 | |
Dmitri Plotnikov | 884e393 | 2010-05-13 19:13:51 -0700 | [diff] [blame] | 465 | <!-- Interstitial activity that shows a phone disambig dialog --> |
| 466 | <activity android:name="CallContactActivity" |
| 467 | android:theme="@android:style/Theme.Translucent"> |
| 468 | </activity> |
| 469 | |
Dmitri Plotnikov | ea82f90 | 2010-08-24 17:22:29 -0700 | [diff] [blame] | 470 | <!-- Makes .ContactBrowserActivity the search target for any activity in Contacts --> |
Jeff Sharkey | 6831cd9 | 2010-02-28 19:56:58 -0800 | [diff] [blame] | 471 | <meta-data |
| 472 | android:name="android.app.default_searchable" |
Dmitri Plotnikov | cfa3900 | 2010-07-09 18:05:17 -0700 | [diff] [blame] | 473 | android:value=".activities.ContactBrowserActivity" /> |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 474 | |
| 475 | |
| 476 | <!-- LIVE FOLDERS --> |
| 477 | <activity |
| 478 | android:name=".ContactsLiveFolders$AllContacts" |
| 479 | android:label="@string/liveFolderAll" |
Romain Guy | 4eb77b6 | 2009-03-24 18:10:17 -0700 | [diff] [blame] | 480 | android:icon="@drawable/ic_launcher_folder_live_contacts"> |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 481 | <intent-filter> |
| 482 | <action android:name="android.intent.action.CREATE_LIVE_FOLDER" /> |
| 483 | <category android:name="android.intent.category.DEFAULT" /> |
| 484 | </intent-filter> |
| 485 | </activity> |
| 486 | |
| 487 | <activity |
| 488 | android:name=".ContactsLiveFolders$StarredContacts" |
| 489 | android:label="@string/liveFolderFavorites" |
Romain Guy | 4eb77b6 | 2009-03-24 18:10:17 -0700 | [diff] [blame] | 490 | android:icon="@drawable/ic_launcher_folder_live_contacts_starred"> |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 491 | <intent-filter> |
| 492 | <action android:name="android.intent.action.CREATE_LIVE_FOLDER" /> |
| 493 | <category android:name="android.intent.category.DEFAULT" /> |
| 494 | </intent-filter> |
| 495 | </activity> |
| 496 | |
| 497 | <activity |
| 498 | android:name=".ContactsLiveFolders$PhoneContacts" |
| 499 | android:label="@string/liveFolderPhone" |
Romain Guy | 4eb77b6 | 2009-03-24 18:10:17 -0700 | [diff] [blame] | 500 | android:icon="@drawable/ic_launcher_folder_live_contacts_phone"> |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 501 | <intent-filter> |
| 502 | <action android:name="android.intent.action.CREATE_LIVE_FOLDER" /> |
| 503 | <category android:name="android.intent.category.DEFAULT" /> |
| 504 | </intent-filter> |
| 505 | </activity> |
| 506 | |
Daisuke Miyakawa | 1b918e5 | 2010-06-07 15:48:41 -0700 | [diff] [blame] | 507 | <!-- vCard related --> |
| 508 | <activity android:name=".vcard.ImportVCardActivity" |
Daisuke Miyakawa | 6448da7 | 2010-04-02 12:06:44 +0900 | [diff] [blame] | 509 | android:theme="@style/BackgroundOnly"> |
| 510 | <intent-filter> |
Lixin Yue | 24fc763 | 2009-12-04 17:03:00 +0800 | [diff] [blame] | 511 | <action android:name="android.intent.action.VIEW" /> |
Attila Bodis | 1261e13 | 2010-03-18 22:06:37 -0700 | [diff] [blame] | 512 | <data android:mimeType="text/directory" /> |
Daisuke Miyakawa | 92ba98a | 2010-06-22 09:12:19 +0900 | [diff] [blame] | 513 | <data android:mimeType="text/vcard" /> |
Lixin Yue | 24fc763 | 2009-12-04 17:03:00 +0800 | [diff] [blame] | 514 | <data android:mimeType="text/x-vcard" /> |
| 515 | <category android:name="android.intent.category.DEFAULT" /> |
| 516 | </intent-filter> |
| 517 | </activity> |
| 518 | |
Daisuke Miyakawa | 18b5190 | 2010-08-19 14:13:38 -0700 | [diff] [blame] | 519 | <activity android:name=".vcard.CancelImportActivity" |
| 520 | android:theme="@style/BackgroundOnly" /> |
| 521 | |
Daisuke Miyakawa | 1b918e5 | 2010-06-07 15:48:41 -0700 | [diff] [blame] | 522 | <activity android:name=".vcard.SelectAccountActivity" |
Daisuke Miyakawa | 6d2f27f | 2010-04-21 16:11:38 +0900 | [diff] [blame] | 523 | android:theme="@style/BackgroundOnly" /> |
| 524 | |
Daisuke Miyakawa | 1b918e5 | 2010-06-07 15:48:41 -0700 | [diff] [blame] | 525 | <activity android:name=".vcard.ExportVCardActivity" |
Daisuke Miyakawa | 0bec3b9 | 2009-09-25 13:33:27 -0700 | [diff] [blame] | 526 | android:theme="@style/BackgroundOnly" /> |
Dmitri Plotnikov | e124722 | 2010-06-02 18:14:21 -0700 | [diff] [blame] | 527 | |
Daisuke Miyakawa | d8fb81a | 2010-06-08 17:44:22 -0700 | [diff] [blame] | 528 | <service |
| 529 | android:name=".vcard.VCardService" |
| 530 | android:exported="false" /> |
| 531 | |
Dmitri Plotnikov | e124722 | 2010-06-02 18:14:21 -0700 | [diff] [blame] | 532 | <!-- Pinned header list demo --> |
| 533 | <activity android:name=".widget.PinnedHeaderListDemoActivity"> |
| 534 | <intent-filter> |
| 535 | <action android:name="android.intent.action.MAIN" /> |
| 536 | <category android:name="android.intent.category.DEFAULT" /> |
| 537 | </intent-filter> |
| 538 | </activity> |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 539 | </application> |
| 540 | </manifest> |