blob: 3ebfe3c3a5ef428c54d7579a5521249b3329a0d3 [file] [log] [blame]
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -08001<?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 Parekhbe406ff2009-09-16 15:31:22 -07007
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -08008 http://www.apache.org/licenses/LICENSE-2.0
Neel Parekhbe406ff2009-09-16 15:31:22 -07009
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080010 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 Sharkey26c7e732009-04-01 17:30:46 -070018 package="com.android.contacts"
19 android:sharedUserId="android.uid.shared"
Dianne Hackborn15a5ad82010-06-22 16:09:43 -070020 android:sharedUserLabel="@string/sharedUserLabel"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080021>
Jeff Sharkey26c7e732009-04-01 17:30:46 -070022
Jeff Hamiltone7883532010-02-11 16:25:48 -060023 <original-package android:name="com.android.contacts" />
24
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080025 <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 Miyakawa2991dd92009-05-19 08:32:17 +090032 <uses-permission android:name="android.permission.WAKE_LOCK" />
Daisuke Miyakawa72c50522009-07-07 15:37:59 -070033 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Dmitri Plotnikovdaa2d5c2010-01-29 17:44:20 -080034 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
Fred Quintana104b7922009-07-22 20:01:15 -070035 <uses-permission android:name="android.permission.USE_CREDENTIALS" />
Nicolas Catania9bcf4702009-11-06 13:19:43 -080036 <uses-permission android:name="android.permission.VIBRATE" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080037
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"
43 >
44
45 <!-- A virtual 12 key dialer -->
46 <activity android:name="TwelveKeyDialer"
47 android:launchMode="singleTop"
48 >
49 <intent-filter>
50 <action android:name="com.android.phone.action.TOUCH_DIALER" />
51 <category android:name="android.intent.category.DEFAULT" />
52 <category android:name="android.intent.category.TAB" />
53 </intent-filter>
54 </activity>
55
56 <!-- A list of recent calls -->
57 <activity android:name="RecentCallsListActivity"
58 android:label="@string/recentCallsIconLabel"
59 >
60 <intent-filter>
61 <action android:name="com.android.phone.action.RECENT_CALLS" />
62 <category android:name="android.intent.category.DEFAULT" />
63 <category android:name="android.intent.category.TAB" />
64 </intent-filter>
65 </activity>
66
Daniel Lehmann7675e122010-04-21 17:31:11 -070067 <!-- Tab container for all tabs -->
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080068 <activity android:name="DialtactsActivity"
69 android:label="@string/launcherDialer"
Nicolas Catania177d88f2009-09-27 15:15:05 -070070 android:theme="@style/DialtactsTheme"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080071 android:launchMode="singleTask"
72 android:clearTaskOnLaunch="true"
73 android:icon="@drawable/ic_launcher_phone"
74 android:screenOrientation="nosensor"
75 >
76 <intent-filter>
77 <action android:name="android.intent.action.DIAL" />
78 <category android:name="android.intent.category.DEFAULT" />
79 <category android:name="android.intent.category.BROWSABLE" />
80 <data android:mimeType="vnd.android.cursor.item/phone" />
81 <data android:mimeType="vnd.android.cursor.item/person" />
82 </intent-filter>
83 <intent-filter>
84 <action android:name="android.intent.action.DIAL" />
85 <category android:name="android.intent.category.DEFAULT" />
86 <category android:name="android.intent.category.BROWSABLE" />
87 <data android:scheme="voicemail" />
88 </intent-filter>
89 <intent-filter>
90 <action android:name="android.intent.action.DIAL" />
91 <category android:name="android.intent.category.DEFAULT" />
92 </intent-filter>
93 <intent-filter>
94 <action android:name="android.intent.action.MAIN" />
95 <category android:name="android.intent.category.DEFAULT" />
96 <category android:name="android.intent.category.LAUNCHER" />
97 <category android:name="android.intent.category.BROWSABLE" />
98 </intent-filter>
99 <intent-filter>
100 <action android:name="android.intent.action.VIEW" />
101 <action android:name="android.intent.action.DIAL" />
102 <category android:name="android.intent.category.DEFAULT" />
103 <category android:name="android.intent.category.BROWSABLE" />
104 <data android:scheme="tel" />
105 </intent-filter>
106 <intent-filter>
107 <action android:name="android.intent.action.VIEW" />
108 <category android:name="android.intent.category.DEFAULT" />
109 <category android:name="android.intent.category.BROWSABLE" />
110 <data android:mimeType="vnd.android.cursor.dir/calls" />
111 </intent-filter>
112 <intent-filter>
113 <action android:name="android.intent.action.CALL_BUTTON" />
114 <category android:name="android.intent.category.DEFAULT" />
115 <category android:name="android.intent.category.BROWSABLE" />
116 </intent-filter>
117 </activity>
Jeff Sharkey26c7e732009-04-01 17:30:46 -0700118
Jeff Hamiltondf4b1462010-06-28 10:40:26 -0500119 <!-- Front door proxy that picks the right UI based on the screen config -->
120 <activity android:name=".activities.ContactsFrontDoor"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800121 android:label="@string/contactsList"
122 android:icon="@drawable/ic_launcher_contacts"
Jeff Hamiltondf4b1462010-06-28 10:40:26 -0500123 android:theme="@android:style/Theme.NoTitleBar"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800124 >
125 <intent-filter>
126 <action android:name="android.intent.action.MAIN" />
127 <category android:name="android.intent.category.DEFAULT" />
128 <category android:name="android.intent.category.LAUNCHER" />
Dmitri Plotnikov032bb362009-05-06 17:05:39 -0700129 <category android:name="android.intent.category.BROWSABLE" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800130 </intent-filter>
131
132 <intent-filter>
133 <action android:name="android.intent.action.VIEW" />
134 <category android:name="android.intent.category.DEFAULT" />
Jeff Sharkey2428f622009-09-13 01:08:43 -0700135 <data android:mimeType="vnd.android.cursor.dir/person" android:host="contacts" />
136 <data android:mimeType="vnd.android.cursor.dir/contact" android:host="com.android.contacts" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800137 </intent-filter>
Jeff Hamiltondf4b1462010-06-28 10:40:26 -0500138 </activity>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800139
Daniel Lehmann7675e122010-04-21 17:31:11 -0700140 <!-- Main launch Intent to open the Contacts app. This will open the app in its last manual
141 state. This is the state that has been explicitly set by the user (e.g. by clicking a tab).
142 States configured via other Intents (e.g. CallLog after Call) are not considered manual
143 state. At the moment, the Intent always goes to the DialtactsActivity, but this might later
144 be changed to also include sub-activities like Edit or View if they were left open -->
145
146 <activity-alias android:name="ContactsLaunchActivity"
147 android:targetActivity="DialtactsActivity"
148 >
149 <intent-filter>
150 <action android:name="android.intent.action.MAIN" />
151 <category android:name="android.intent.category.DEFAULT" />
152 <category android:name="android.intent.category.BROWSABLE" />
153 </intent-filter>
154 </activity-alias>
155
The Android Open Source Project1f620962009-03-09 11:52:14 -0700156 <!-- An empty activity that presents the DialtactActivity's Favorites tab -->
157 <activity-alias android:name="DialtactsFavoritesEntryActivity"
158 android:targetActivity="DialtactsActivity"
The Android Open Source Project1f620962009-03-09 11:52:14 -0700159 >
160 <intent-filter>
161 <action android:name="android.intent.action.MAIN" />
162 <category android:name="android.intent.category.DEFAULT" />
163 </intent-filter>
164 </activity-alias>
Jeff Sharkey26c7e732009-04-01 17:30:46 -0700165
Dmitri Plotnikov27834b22010-07-01 14:10:08 -0700166 <!-- The actual list of contacts -->
167 <activity android:name=".activities.ContactListActivity"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800168 android:label="@string/contactsList"
169 android:clearTaskOnLaunch="true"
Dmitri Plotnikov424440b2010-07-01 14:48:44 -0700170 android:theme="@android:style/Theme.NoTitleBar"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800171 >
172 <intent-filter>
173 <action android:name="com.android.contacts.action.LIST_DEFAULT" />
174 <category android:name="android.intent.category.DEFAULT" />
175 <category android:name="android.intent.category.TAB" />
176 </intent-filter>
177
178 <intent-filter>
179 <action android:name="com.android.contacts.action.LIST_CONTACTS" />
180 <category android:name="android.intent.category.DEFAULT" />
181 <category android:name="android.intent.category.TAB" />
182 </intent-filter>
183
184 <intent-filter>
185 <action android:name="com.android.contacts.action.LIST_ALL_CONTACTS" />
186 <category android:name="android.intent.category.DEFAULT" />
187 <category android:name="android.intent.category.TAB" />
188 </intent-filter>
189
190 <intent-filter>
191 <action android:name="com.android.contacts.action.LIST_CONTACTS_WITH_PHONES" />
192 <category android:name="android.intent.category.DEFAULT" />
193 <category android:name="android.intent.category.TAB" />
194 </intent-filter>
195
196 <intent-filter android:label="@string/starredList">
197 <action android:name="com.android.contacts.action.LIST_STARRED" />
198 <category android:name="android.intent.category.DEFAULT" />
199 <category android:name="android.intent.category.TAB" />
200 </intent-filter>
Jeff Sharkey26c7e732009-04-01 17:30:46 -0700201
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800202 <intent-filter android:label="@string/frequentList">
203 <action android:name="com.android.contacts.action.LIST_FREQUENT" />
204 <category android:name="android.intent.category.DEFAULT" />
205 <category android:name="android.intent.category.TAB" />
206 </intent-filter>
207
208 <intent-filter android:label="@string/strequentList">
209 <action android:name="com.android.contacts.action.LIST_STREQUENT" />
210 <category android:name="android.intent.category.DEFAULT" />
211 <category android:name="android.intent.category.TAB" />
212 </intent-filter>
Dmitri Plotnikovb979b422010-07-01 15:29:15 -0700213 </activity>
214
215 <activity android:name=".activities.ContactSelectionActivity"
216 android:label="@string/contactsList"
217 android:clearTaskOnLaunch="true"
218 >
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800219 <intent-filter>
220 <action android:name="android.intent.action.INSERT_OR_EDIT" />
221 <category android:name="android.intent.category.DEFAULT" />
222 <data android:mimeType="vnd.android.cursor.item/person" />
Jeff Sharkeyd9798ae2009-08-24 20:46:23 -0700223 <data android:mimeType="vnd.android.cursor.item/contact" />
224 <data android:mimeType="vnd.android.cursor.item/raw_contact" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800225 </intent-filter>
Jeff Sharkey26c7e732009-04-01 17:30:46 -0700226
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800227 <intent-filter>
228 <action android:name="android.intent.action.PICK" />
229 <category android:name="android.intent.category.DEFAULT" />
Evan Millarc2d862e2009-08-31 12:52:39 -0700230 <data android:mimeType="vnd.android.cursor.dir/contact" android:host="com.android.contacts" />
231 <data android:mimeType="vnd.android.cursor.dir/person" android:host="contacts" />
232 <data android:mimeType="vnd.android.cursor.dir/phone_v2" android:host="com.android.contacts" />
233 <data android:mimeType="vnd.android.cursor.dir/phone" android:host="contacts" />
234 <data android:mimeType="vnd.android.cursor.dir/postal-address_v2" android:host="com.android.contacts" />
235 <data android:mimeType="vnd.android.cursor.dir/postal-address" android:host="contacts" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800236 </intent-filter>
237
238 <intent-filter>
239 <action android:name="android.intent.action.GET_CONTENT" />
240 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikov631c1ff2009-09-03 16:57:30 -0700241 <data android:mimeType="vnd.android.cursor.item/contact" android:host="com.android.contacts" />
242 <data android:mimeType="vnd.android.cursor.item/person" android:host="contacts" />
243 <data android:mimeType="vnd.android.cursor.item/phone_v2" android:host="com.android.contacts" />
244 <data android:mimeType="vnd.android.cursor.item/phone" android:host="contacts" />
245 <data android:mimeType="vnd.android.cursor.item/postal-address_v2" android:host="com.android.contacts" />
246 <data android:mimeType="vnd.android.cursor.item/postal-address" android:host="contacts" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800247 </intent-filter>
The Android Open Source Project37a16ac2009-03-18 17:39:48 -0700248 </activity>
249
Dmitri Plotnikov27834b22010-07-01 14:10:08 -0700250 <!-- Backwards compatibility: somebody may have hard coded this activity name -->
251 <activity-alias android:name="ContactsListActivity"
252 android:targetActivity=".activities.ContactListActivity"
253 />
254
Dmitri Plotnikov57d27da2009-09-28 18:06:11 -0700255 <!-- An activity for joining contacts -->
Dmitri Plotnikov501b7ea2010-04-07 17:20:49 -0700256 <activity android:name="JoinContactActivity"
Dmitri Plotnikov57d27da2009-09-28 18:06:11 -0700257 android:theme="@style/TallTitleBarTheme"
258 android:clearTaskOnLaunch="true"
259 >
260 <intent-filter>
Dmitri Plotnikov501b7ea2010-04-07 17:20:49 -0700261 <action android:name="com.android.contacts.action.JOIN_CONTACT" />
Dmitri Plotnikov57d27da2009-09-28 18:06:11 -0700262 <category android:name="android.intent.category.DEFAULT" />
263 </intent-filter>
264 </activity>
265
Dmitri Plotnikove8ae9ac2010-04-21 13:37:15 -0700266 <!-- An activity for selecting multiple phone numbers -->
267 <activity android:name="MultiplePhonePickerActivity">
268 <intent-filter>
269 <action android:name="com.android.contacts.action.GET_MULTIPLE_PHONES" />
270 <category android:name="android.intent.category.DEFAULT" />
271 <data android:mimeType="vnd.android.cursor.dir/phone_v2" android:host="com.android.contacts" />
272 </intent-filter>
273 </activity>
274
Dmitri Plotnikov8e86b752010-02-22 17:47:57 -0800275 <!-- The contacts search/filter UI -->
Dmitri Plotnikov3ef3b1d2010-04-20 15:45:56 -0700276 <activity android:name="ContactsSearchActivity"
Dmitri Plotnikov8e86b752010-02-22 17:47:57 -0800277 android:theme="@style/ContactsSearchTheme"
Dmitri Plotnikovd5061fe2010-06-07 15:06:58 -0700278 android:windowSoftInputMode="stateAlwaysVisible"
Dmitri Plotnikov8e86b752010-02-22 17:47:57 -0800279 >
280 <intent-filter>
281 <action android:name="com.android.contacts.action.FILTER_CONTACTS" />
282 <category android:name="android.intent.category.DEFAULT" />
283 <data android:mimeType="vnd.android.cursor.dir/contact" android:host="com.android.contacts" />
284 </intent-filter>
Dmitri Plotnikov4cc85dd2010-06-29 13:15:26 -0700285
Dmitri Plotnikov8e86b752010-02-22 17:47:57 -0800286 </activity>
Dmitri Plotnikov57d27da2009-09-28 18:06:11 -0700287
Dmitri Plotnikov207d4f62010-03-23 16:38:29 -0700288 <!-- The contacts search/filter UI -->
Dmitri Plotnikov4cc85dd2010-06-29 13:15:26 -0700289 <activity-alias android:name="SearchResultsActivity"
290 android:targetActivity="ContactsSearchActivity"
Dmitri Plotnikov207d4f62010-03-23 16:38:29 -0700291 >
292 <intent-filter>
293 <action android:name="android.intent.action.SEARCH" />
294 <category android:name="android.intent.category.DEFAULT" />
295 </intent-filter>
296
297 <meta-data android:name="android.app.searchable"
298 android:resource="@xml/searchable"
299 />
Dmitri Plotnikov4cc85dd2010-06-29 13:15:26 -0700300 </activity-alias>
Dmitri Plotnikov207d4f62010-03-23 16:38:29 -0700301
Jeff Sharkeye8971622009-09-17 15:42:36 -0700302 <!-- Used to select display and sync groups -->
Dmitri Plotnikov1ea45f22010-02-04 17:17:44 -0800303 <activity android:name=".ui.ContactsPreferencesActivity" android:label="@string/displayGroups" />
Jeff Sharkeyd5c5b9a2009-06-21 19:46:04 -0700304
Jeff Sharkey802b2052009-08-04 14:21:06 -0700305 <activity
Jeff Sharkeye8971622009-09-17 15:42:36 -0700306 android:name=".ui.ShowOrCreateActivity"
307 android:theme="@style/FullyTranslucent">
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700308
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700309 <intent-filter>
310 <action android:name="com.android.contacts.action.SHOW_OR_CREATE_CONTACT" />
Jeff Sharkey802b2052009-08-04 14:21:06 -0700311 <category android:name="android.intent.category.DEFAULT" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700312 <data android:scheme="mailto" />
313 <data android:scheme="tel" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700314 </intent-filter>
Jeff Sharkeye8971622009-09-17 15:42:36 -0700315 </activity>
316
Evan Millar0d0ab342009-09-30 19:03:35 -0700317 <!-- Used to show QuickContact window over a translucent activity, which is a
Jeff Sharkeye8971622009-09-17 15:42:36 -0700318 temporary hack until we add better framework support. -->
319 <activity
Evan Millar0d0ab342009-09-30 19:03:35 -0700320 android:name=".ui.QuickContactActivity"
Jeff Sharkey735e8b12009-09-30 14:57:07 -0700321 android:theme="@style/FullyTranslucent.QuickContact"
322 android:launchMode="singleTop"
Jeff Sharkey5cbf6f42009-10-02 14:22:51 -0700323 android:excludeFromRecents="true"
Dmitri Plotnikovad3bd442010-03-23 22:49:43 -0700324 android:taskAffinity="android.task.quickcontact"
325 android:windowSoftInputMode="stateUnchanged"
326 >
Jeff Sharkey3f177592009-05-18 15:23:12 -0700327
328 <intent-filter>
Evan Millar33b08452009-09-30 21:45:08 -0700329 <action android:name="com.android.contacts.action.QUICK_CONTACT" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700330 <category android:name="android.intent.category.DEFAULT" />
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700331 <data android:mimeType="vnd.android.cursor.item/contact" android:host="com.android.contacts" />
Bai Taod128adc2010-03-24 08:50:35 +0800332 <data android:mimeType="vnd.android.cursor.item/person" android:host="contacts" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700333 </intent-filter>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800334 </activity>
335
336 <activity-alias android:name="ContactShortcut"
Dmitri Plotnikovb979b422010-07-01 15:29:15 -0700337 android:targetActivity=".activities.ContactSelectionActivity"
Romain Guy4eb77b62009-03-24 18:10:17 -0700338 android:label="@string/shortcutContact"
339 android:icon="@drawable/ic_launcher_shortcut_contact">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800340
341 <intent-filter>
342 <action android:name="android.intent.action.CREATE_SHORTCUT" />
343 <category android:name="android.intent.category.DEFAULT" />
344 </intent-filter>
345
346 </activity-alias>
347
Dianne Hackborn333a6152009-05-26 12:46:23 -0700348 <activity-alias android:name="alias.DialShortcut"
Dmitri Plotnikovb979b422010-07-01 15:29:15 -0700349 android:targetActivity=".activities.ContactSelectionActivity"
Dianne Hackborn333a6152009-05-26 12:46:23 -0700350 android:label="@string/shortcutDialContact"
Mike Cleronf143a452009-09-30 01:13:23 -0700351 android:icon="@drawable/ic_launcher_shortcut_directdial">
Dianne Hackborn333a6152009-05-26 12:46:23 -0700352
353 <intent-filter>
354 <action android:name="android.intent.action.CREATE_SHORTCUT" />
355 <category android:name="android.intent.category.DEFAULT" />
Bernd Holzheya497ce52010-03-31 10:06:24 +0200356 <category android:name="android.intent.category.CAR_MODE" />
Dianne Hackborn333a6152009-05-26 12:46:23 -0700357 </intent-filter>
358
359 </activity-alias>
360
361 <activity-alias android:name="alias.MessageShortcut"
Dmitri Plotnikovb979b422010-07-01 15:29:15 -0700362 android:targetActivity=".activities.ContactSelectionActivity"
Dianne Hackborn333a6152009-05-26 12:46:23 -0700363 android:label="@string/shortcutMessageContact"
Mike Cleronf143a452009-09-30 01:13:23 -0700364 android:icon="@drawable/ic_launcher_shortcut_directmessage">
Dianne Hackborn333a6152009-05-26 12:46:23 -0700365
366 <intent-filter>
367 <action android:name="android.intent.action.CREATE_SHORTCUT" />
368 <category android:name="android.intent.category.DEFAULT" />
369 </intent-filter>
370
371 </activity-alias>
372
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800373 <activity android:name="CallDetailActivity"
374 android:label="@string/callDetailTitle"
Romain Guy4eb77b62009-03-24 18:10:17 -0700375 android:theme="@style/TallTitleBarTheme"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800376 >
377 <intent-filter>
378 <action android:name="android.intent.action.VIEW" />
379 <category android:name="android.intent.category.DEFAULT" />
380 <data android:mimeType="vnd.android.cursor.item/calls" />
381 </intent-filter>
382 </activity>
383
384 <!-- Views the details of a single contact -->
Daniel Lehmann4cd94412010-04-08 16:44:36 -0700385 <activity android:name=".activities.ContactDetailActivity"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800386 android:label="@string/viewContactTitle"
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700387 android:theme="@style/TallTitleBarTheme">
388
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800389 <intent-filter android:label="@string/viewContactDesription">
390 <action android:name="android.intent.action.VIEW" />
391 <category android:name="android.intent.category.DEFAULT" />
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700392 <data android:mimeType="vnd.android.cursor.item/person" android:host="contacts" />
393 <data android:mimeType="vnd.android.cursor.item/contact" android:host="com.android.contacts" />
Jeff Sharkeyd9798ae2009-08-24 20:46:23 -0700394 <data android:mimeType="vnd.android.cursor.item/raw_contact" android:host="com.android.contacts" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800395 </intent-filter>
396 </activity>
397
Daniel Lehmannf319cf82010-06-25 17:41:13 -0700398 <!-- Create a new or edit an existing contact -->
Jeff Sharkey14f61ab2009-08-05 21:02:37 -0700399 <activity
Daniel Lehmanncdef2b62010-06-06 18:25:49 -0700400 android:name=".activities.ContactEditorActivity"
Daniel Lehmann3a120772010-06-21 16:21:35 -0700401 android:theme="@style/TallTitleBarTheme"
402 android:windowSoftInputMode="adjustResize">
Jeff Sharkey14f61ab2009-08-05 21:02:37 -0700403
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800404 <intent-filter android:label="@string/editContactDescription">
405 <action android:name="android.intent.action.EDIT" />
406 <category android:name="android.intent.category.DEFAULT" />
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700407 <data android:mimeType="vnd.android.cursor.item/person" android:host="contacts" />
Jeff Sharkeyd9798ae2009-08-24 20:46:23 -0700408 <data android:mimeType="vnd.android.cursor.item/contact" android:host="com.android.contacts" />
Evan Millar8a79cee2009-08-19 17:20:49 -0700409 <data android:mimeType="vnd.android.cursor.item/raw_contact" android:host="com.android.contacts" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800410 </intent-filter>
411 <intent-filter android:label="@string/insertContactDescription">
412 <action android:name="android.intent.action.INSERT" />
413 <category android:name="android.intent.category.DEFAULT" />
Jeff Sharkeyd9798ae2009-08-24 20:46:23 -0700414 <data android:mimeType="vnd.android.cursor.dir/person" />
415 <data android:mimeType="vnd.android.cursor.dir/contact" />
416 <data android:mimeType="vnd.android.cursor.dir/raw_contact" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800417 </intent-filter>
Daniel Lehmanncdef2b62010-06-06 18:25:49 -0700418 </activity>
Neel Parekhbe406ff2009-09-16 15:31:22 -0700419
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700420 <!-- Stub service used to keep our process alive long enough for
421 background threads to finish their operations. -->
422 <service
423 android:name=".util.EmptyService"
424 android:exported="false" />
425
Daniel Lehmann173ffe12010-06-14 18:19:10 -0700426 <!-- Service to save a contact -->
427 <service
428 android:name=".views.ContactSaveService"
429 android:exported="false" />
430
Dmitri Plotnikovef038722009-06-24 18:51:47 -0700431 <!-- Views the details of a single contact -->
432 <activity android:name="ContactOptionsActivity"
433 android:label="@string/contactOptionsTitle"
Neel Parekhbe406ff2009-09-16 15:31:22 -0700434 >
Dmitri Plotnikovef038722009-06-24 18:51:47 -0700435 <intent-filter>
436 <action android:name="android.intent.action.EDIT" />
437 <category android:name="android.intent.category.DEFAULT" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800438 </intent-filter>
439 </activity>
440
441 <!-- Attaches a photo to a contact. Started from external applications -->
442 <activity android:name="AttachImage"
443 android:label="@string/attachToContact"
444 android:taskAffinity="">
445 <intent-filter>
446 <action android:name="android.intent.action.ATTACH_DATA" />
447 <data android:mimeType="image/*" />
448 <category android:name="android.intent.category.DEFAULT" />
449 </intent-filter>
450 />
Neel Parekhbe406ff2009-09-16 15:31:22 -0700451 </activity>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800452
Dmitri Plotnikov884e3932010-05-13 19:13:51 -0700453 <!-- Interstitial activity that shows a phone disambig dialog -->
454 <activity android:name="CallContactActivity"
455 android:theme="@android:style/Theme.Translucent">
456 </activity>
457
Dmitri Plotnikovb979b422010-07-01 15:29:15 -0700458 <!-- Makes .ContactListActivity the search target for any activity in Contacts -->
Jeff Sharkey6831cd92010-02-28 19:56:58 -0800459 <meta-data
460 android:name="android.app.default_searchable"
Dmitri Plotnikovb979b422010-07-01 15:29:15 -0700461 android:value=".activities.ContactListActivity" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800462
463
464 <!-- LIVE FOLDERS -->
465 <activity
466 android:name=".ContactsLiveFolders$AllContacts"
467 android:label="@string/liveFolderAll"
Romain Guy4eb77b62009-03-24 18:10:17 -0700468 android:icon="@drawable/ic_launcher_folder_live_contacts">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800469 <intent-filter>
470 <action android:name="android.intent.action.CREATE_LIVE_FOLDER" />
471 <category android:name="android.intent.category.DEFAULT" />
472 </intent-filter>
473 </activity>
474
475 <activity
476 android:name=".ContactsLiveFolders$StarredContacts"
477 android:label="@string/liveFolderFavorites"
Romain Guy4eb77b62009-03-24 18:10:17 -0700478 android:icon="@drawable/ic_launcher_folder_live_contacts_starred">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800479 <intent-filter>
480 <action android:name="android.intent.action.CREATE_LIVE_FOLDER" />
481 <category android:name="android.intent.category.DEFAULT" />
482 </intent-filter>
483 </activity>
484
485 <activity
486 android:name=".ContactsLiveFolders$PhoneContacts"
487 android:label="@string/liveFolderPhone"
Romain Guy4eb77b62009-03-24 18:10:17 -0700488 android:icon="@drawable/ic_launcher_folder_live_contacts_phone">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800489 <intent-filter>
490 <action android:name="android.intent.action.CREATE_LIVE_FOLDER" />
491 <category android:name="android.intent.category.DEFAULT" />
492 </intent-filter>
493 </activity>
494
Daisuke Miyakawa1b918e52010-06-07 15:48:41 -0700495 <!-- vCard related -->
496 <activity android:name=".vcard.ImportVCardActivity"
Daisuke Miyakawa6448da72010-04-02 12:06:44 +0900497 android:theme="@style/BackgroundOnly">
498 <intent-filter>
Lixin Yue24fc7632009-12-04 17:03:00 +0800499 <action android:name="android.intent.action.VIEW" />
Attila Bodis1261e132010-03-18 22:06:37 -0700500 <data android:mimeType="text/directory" />
Daisuke Miyakawa92ba98a2010-06-22 09:12:19 +0900501 <data android:mimeType="text/vcard" />
Lixin Yue24fc7632009-12-04 17:03:00 +0800502 <data android:mimeType="text/x-vcard" />
503 <category android:name="android.intent.category.DEFAULT" />
504 </intent-filter>
505 </activity>
506
Daisuke Miyakawa1b918e52010-06-07 15:48:41 -0700507 <activity android:name=".vcard.SelectAccountActivity"
Daisuke Miyakawa6d2f27f2010-04-21 16:11:38 +0900508 android:theme="@style/BackgroundOnly" />
509
Daisuke Miyakawa1b918e52010-06-07 15:48:41 -0700510 <activity android:name=".vcard.ExportVCardActivity"
Daisuke Miyakawa0bec3b92009-09-25 13:33:27 -0700511 android:theme="@style/BackgroundOnly" />
Dmitri Plotnikove1247222010-06-02 18:14:21 -0700512
Daisuke Miyakawad8fb81a2010-06-08 17:44:22 -0700513 <service
514 android:name=".vcard.VCardService"
515 android:exported="false" />
516
Dmitri Plotnikove1247222010-06-02 18:14:21 -0700517 <!-- Pinned header list demo -->
518 <activity android:name=".widget.PinnedHeaderListDemoActivity">
519 <intent-filter>
520 <action android:name="android.intent.action.MAIN" />
521 <category android:name="android.intent.category.DEFAULT" />
522 </intent-filter>
523 </activity>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800524 </application>
525</manifest>