blob: f77a7bb7f9c1e79c203a9b107de46c6da2ba8668 [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
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 Sharkey26c7e732009-04-01 17:30:46 -070018 package="com.android.contacts"
19 android:sharedUserId="android.uid.shared"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080020>
Jeff Sharkey26c7e732009-04-01 17:30:46 -070021
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080022 <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" />
Daisuke Miyakawa2991dd92009-05-19 08:32:17 +090029 <uses-permission android:name="android.permission.WAKE_LOCK" />
Daisuke Miyakawa72c50522009-07-07 15:37:59 -070030 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Fred Quintana104b7922009-07-22 20:01:15 -070031 <uses-permission android:name="android.permission.USE_CREDENTIALS" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080032
33 <application
34 android:label="@string/contactsList"
35 android:icon="@drawable/ic_launcher_contacts"
36 android:process="android.process.acore"
37 android:taskAffinity="android.task.contacts"
38 >
39
40 <!-- A virtual 12 key dialer -->
41 <activity android:name="TwelveKeyDialer"
42 android:launchMode="singleTop"
43 >
44 <intent-filter>
45 <action android:name="com.android.phone.action.TOUCH_DIALER" />
46 <category android:name="android.intent.category.DEFAULT" />
47 <category android:name="android.intent.category.TAB" />
48 </intent-filter>
49 </activity>
50
51 <!-- A list of recent calls -->
52 <activity android:name="RecentCallsListActivity"
53 android:label="@string/recentCallsIconLabel"
54 >
55 <intent-filter>
56 <action android:name="com.android.phone.action.RECENT_CALLS" />
57 <category android:name="android.intent.category.DEFAULT" />
58 <category android:name="android.intent.category.TAB" />
59 </intent-filter>
60 </activity>
61
62 <!-- Tab container for TwelveKeyDialer and RecentCallsList -->
63 <activity android:name="DialtactsActivity"
64 android:label="@string/launcherDialer"
65 android:theme="@android:style/Theme.NoTitleBar"
66 android:launchMode="singleTask"
67 android:clearTaskOnLaunch="true"
68 android:icon="@drawable/ic_launcher_phone"
69 android:screenOrientation="nosensor"
70 >
71 <intent-filter>
72 <action android:name="android.intent.action.DIAL" />
73 <category android:name="android.intent.category.DEFAULT" />
74 <category android:name="android.intent.category.BROWSABLE" />
75 <data android:mimeType="vnd.android.cursor.item/phone" />
76 <data android:mimeType="vnd.android.cursor.item/person" />
77 </intent-filter>
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:scheme="voicemail" />
83 </intent-filter>
84 <intent-filter>
85 <action android:name="android.intent.action.DIAL" />
86 <category android:name="android.intent.category.DEFAULT" />
87 </intent-filter>
88 <intent-filter>
89 <action android:name="android.intent.action.MAIN" />
90 <category android:name="android.intent.category.DEFAULT" />
91 <category android:name="android.intent.category.LAUNCHER" />
92 <category android:name="android.intent.category.BROWSABLE" />
93 </intent-filter>
94 <intent-filter>
95 <action android:name="android.intent.action.VIEW" />
96 <action android:name="android.intent.action.DIAL" />
97 <category android:name="android.intent.category.DEFAULT" />
98 <category android:name="android.intent.category.BROWSABLE" />
99 <data android:scheme="tel" />
100 </intent-filter>
101 <intent-filter>
102 <action android:name="android.intent.action.VIEW" />
103 <category android:name="android.intent.category.DEFAULT" />
104 <category android:name="android.intent.category.BROWSABLE" />
105 <data android:mimeType="vnd.android.cursor.dir/calls" />
106 </intent-filter>
107 <intent-filter>
108 <action android:name="android.intent.action.CALL_BUTTON" />
109 <category android:name="android.intent.category.DEFAULT" />
110 <category android:name="android.intent.category.BROWSABLE" />
111 </intent-filter>
112 </activity>
Jeff Sharkey26c7e732009-04-01 17:30:46 -0700113
Dmitri Plotnikov032bb362009-05-06 17:05:39 -0700114 <!-- Tab container for Activity Stream and Contacts -->
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800115 <activity-alias android:name="DialtactsContactsEntryActivity"
116 android:targetActivity="DialtactsActivity"
117 android:label="@string/contactsList"
118 android:icon="@drawable/ic_launcher_contacts"
119 >
120 <intent-filter>
121 <action android:name="android.intent.action.MAIN" />
122 <category android:name="android.intent.category.DEFAULT" />
123 <category android:name="android.intent.category.LAUNCHER" />
Dmitri Plotnikov032bb362009-05-06 17:05:39 -0700124 <category android:name="android.intent.category.BROWSABLE" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800125 </intent-filter>
126
127 <intent-filter>
128 <action android:name="android.intent.action.VIEW" />
129 <category android:name="android.intent.category.DEFAULT" />
130 <data android:mimeType="vnd.android.cursor.dir/person" />
131 </intent-filter>
Jeff Sharkey26c7e732009-04-01 17:30:46 -0700132
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800133 <intent-filter>
134 <action android:name="com.android.contacts.action.FILTER_CONTACTS" />
135 <category android:name="android.intent.category.DEFAULT" />
136 </intent-filter>
137 </activity-alias>
138
The Android Open Source Project1f620962009-03-09 11:52:14 -0700139 <!-- An empty activity that presents the DialtactActivity's Favorites tab -->
140 <activity-alias android:name="DialtactsFavoritesEntryActivity"
141 android:targetActivity="DialtactsActivity"
The Android Open Source Project1f620962009-03-09 11:52:14 -0700142 >
143 <intent-filter>
144 <action android:name="android.intent.action.MAIN" />
145 <category android:name="android.intent.category.DEFAULT" />
146 </intent-filter>
147 </activity-alias>
Jeff Sharkey26c7e732009-04-01 17:30:46 -0700148
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800149 <!-- The actual list of contacts, usually embedded in ContactsActivity -->
150 <activity android:name="ContactsListActivity"
151 android:label="@string/contactsList"
152 android:clearTaskOnLaunch="true"
153 >
154 <intent-filter>
155 <action android:name="com.android.contacts.action.LIST_DEFAULT" />
156 <category android:name="android.intent.category.DEFAULT" />
157 <category android:name="android.intent.category.TAB" />
158 </intent-filter>
159
160 <intent-filter>
161 <action android:name="com.android.contacts.action.LIST_CONTACTS" />
162 <category android:name="android.intent.category.DEFAULT" />
163 <category android:name="android.intent.category.TAB" />
164 </intent-filter>
165
166 <intent-filter>
167 <action android:name="com.android.contacts.action.LIST_ALL_CONTACTS" />
168 <category android:name="android.intent.category.DEFAULT" />
169 <category android:name="android.intent.category.TAB" />
170 </intent-filter>
171
172 <intent-filter>
173 <action android:name="com.android.contacts.action.LIST_CONTACTS_WITH_PHONES" />
174 <category android:name="android.intent.category.DEFAULT" />
175 <category android:name="android.intent.category.TAB" />
176 </intent-filter>
177
178 <intent-filter android:label="@string/starredList">
179 <action android:name="com.android.contacts.action.LIST_STARRED" />
180 <category android:name="android.intent.category.DEFAULT" />
181 <category android:name="android.intent.category.TAB" />
182 </intent-filter>
Jeff Sharkey26c7e732009-04-01 17:30:46 -0700183
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800184 <intent-filter android:label="@string/frequentList">
185 <action android:name="com.android.contacts.action.LIST_FREQUENT" />
186 <category android:name="android.intent.category.DEFAULT" />
187 <category android:name="android.intent.category.TAB" />
188 </intent-filter>
189
190 <intent-filter android:label="@string/strequentList">
191 <action android:name="com.android.contacts.action.LIST_STREQUENT" />
192 <category android:name="android.intent.category.DEFAULT" />
193 <category android:name="android.intent.category.TAB" />
194 </intent-filter>
195
196 <intent-filter>
Dmitri Plotnikov49f705f2009-06-17 18:31:56 -0700197 <action android:name="com.android.contacts.action.JOIN_AGGREGATE" />
198 <category android:name="android.intent.category.DEFAULT" />
199 </intent-filter>
200
201 <intent-filter>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800202 <action android:name="android.intent.action.INSERT_OR_EDIT" />
203 <category android:name="android.intent.category.DEFAULT" />
Jeff Hamiltona8ccbd42009-07-29 16:36:28 -0500204 <data android:mimeType="vnd.android.cursor.item/contact" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800205 <data android:mimeType="vnd.android.cursor.item/person" />
206 </intent-filter>
Jeff Sharkey26c7e732009-04-01 17:30:46 -0700207
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800208 <intent-filter>
209 <action android:name="android.intent.action.PICK" />
210 <category android:name="android.intent.category.DEFAULT" />
Jeff Hamiltona8ccbd42009-07-29 16:36:28 -0500211 <data android:mimeType="vnd.android.cursor.dir/contact" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800212 <data android:mimeType="vnd.android.cursor.dir/person" />
213 <data android:mimeType="vnd.android.cursor.dir/phone" />
214 <data android:mimeType="vnd.android.cursor.dir/postal-address" />
215 </intent-filter>
216
217 <intent-filter>
218 <action android:name="android.intent.action.GET_CONTENT" />
219 <category android:name="android.intent.category.DEFAULT" />
Jeff Hamiltona8ccbd42009-07-29 16:36:28 -0500220 <data android:mimeType="vnd.android.cursor.item/contact" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800221 <data android:mimeType="vnd.android.cursor.item/person" />
222 <data android:mimeType="vnd.android.cursor.item/phone" />
223 <data android:mimeType="vnd.android.cursor.item/postal-address" />
224 </intent-filter>
225
226 <intent-filter>
227 <action android:name="android.intent.action.SEARCH" />
228 <category android:name="android.intent.category.DEFAULT" />
229 </intent-filter>
230
The Android Open Source Project37a16ac2009-03-18 17:39:48 -0700231 <meta-data android:name="android.app.searchable"
232 android:resource="@xml/searchable"
233 />
234 </activity>
235
Jeff Sharkey170f7752009-08-16 00:12:48 -0700236 <activity android:name=".ui.DisplayGroupsActivity" android:label="@string/displayGroups" />
Jeff Sharkeyd5c5b9a2009-06-21 19:46:04 -0700237
Jeff Sharkey802b2052009-08-04 14:21:06 -0700238 <activity
239 android:name="ShowOrCreateActivity"
240 android:theme="@style/ShowOrCreateTheme">
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700241
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700242 <intent-filter>
243 <action android:name="com.android.contacts.action.SHOW_OR_CREATE_CONTACT" />
Jeff Sharkey802b2052009-08-04 14:21:06 -0700244 <category android:name="android.intent.category.DEFAULT" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700245 <data android:scheme="mailto" />
246 <data android:scheme="tel" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700247 </intent-filter>
Jeff Sharkey3f177592009-05-18 15:23:12 -0700248
249 <intent-filter>
250 <action android:name="com.android.contacts.action.SHOW_OR_CREATE_CONTACT" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700251 <category android:name="android.intent.category.DEFAULT" />
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700252 <data android:mimeType="vnd.android.cursor.item/person" android:host="contacts" />
253 <data android:mimeType="vnd.android.cursor.item/contact" android:host="com.android.contacts" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700254 </intent-filter>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800255 </activity>
256
257 <activity-alias android:name="ContactShortcut"
258 android:targetActivity="ContactsListActivity"
Romain Guy4eb77b62009-03-24 18:10:17 -0700259 android:label="@string/shortcutContact"
260 android:icon="@drawable/ic_launcher_shortcut_contact">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800261
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
Dianne Hackborn333a6152009-05-26 12:46:23 -0700269 <activity-alias android:name="alias.DialShortcut"
270 android:targetActivity="ContactsListActivity"
271 android:label="@string/shortcutDialContact"
272 android:icon="@drawable/ic_launcher_shortcut_contact">
273
274 <intent-filter>
275 <action android:name="android.intent.action.CREATE_SHORTCUT" />
276 <category android:name="android.intent.category.DEFAULT" />
277 </intent-filter>
278
279 </activity-alias>
280
281 <activity-alias android:name="alias.MessageShortcut"
282 android:targetActivity="ContactsListActivity"
283 android:label="@string/shortcutMessageContact"
284 android:icon="@drawable/ic_launcher_shortcut_contact">
285
286 <intent-filter>
287 <action android:name="android.intent.action.CREATE_SHORTCUT" />
288 <category android:name="android.intent.category.DEFAULT" />
289 </intent-filter>
290
291 </activity-alias>
292
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800293 <activity android:name="CallDetailActivity"
294 android:label="@string/callDetailTitle"
Romain Guy4eb77b62009-03-24 18:10:17 -0700295 android:theme="@style/TallTitleBarTheme"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800296 >
297 <intent-filter>
298 <action android:name="android.intent.action.VIEW" />
299 <category android:name="android.intent.category.DEFAULT" />
300 <data android:mimeType="vnd.android.cursor.item/calls" />
301 </intent-filter>
302 </activity>
303
304 <!-- Views the details of a single contact -->
305 <activity android:name="ViewContactActivity"
306 android:label="@string/viewContactTitle"
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700307 android:theme="@style/TallTitleBarTheme">
308
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800309 <intent-filter android:label="@string/viewContactDesription">
310 <action android:name="android.intent.action.VIEW" />
311 <category android:name="android.intent.category.DEFAULT" />
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700312 <data android:mimeType="vnd.android.cursor.item/person" android:host="contacts" />
313 <data android:mimeType="vnd.android.cursor.item/contact" android:host="com.android.contacts" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800314 </intent-filter>
315 </activity>
316
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700317 <!-- Edit or insert details for a contact -->
Jeff Sharkey14f61ab2009-08-05 21:02:37 -0700318 <activity
319 android:name=".ui.EditContactActivity"
320 android:theme="@style/TallTitleBarTheme"
321 android:windowSoftInputMode="stateVisible|adjustResize">
322
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800323 <intent-filter android:label="@string/editContactDescription">
324 <action android:name="android.intent.action.EDIT" />
325 <category android:name="android.intent.category.DEFAULT" />
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700326 <data android:mimeType="vnd.android.cursor.item/person" android:host="contacts" />
Evan Millar8a79cee2009-08-19 17:20:49 -0700327 <data android:mimeType="vnd.android.cursor.item/raw_contact" android:host="com.android.contacts" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800328 </intent-filter>
329 <intent-filter android:label="@string/insertContactDescription">
330 <action android:name="android.intent.action.INSERT" />
331 <category android:name="android.intent.category.DEFAULT" />
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700332 <data android:mimeType="vnd.android.cursor.dir/person" android:host="contacts" />
333 <data android:mimeType="vnd.android.cursor.dir/contact" android:host="com.android.contacts" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800334 </intent-filter>
335 </activity>
336
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700337 <!-- Stub service used to keep our process alive long enough for
338 background threads to finish their operations. -->
339 <service
340 android:name=".util.EmptyService"
341 android:exported="false" />
342
Dmitri Plotnikovef038722009-06-24 18:51:47 -0700343 <!-- Views the details of a single contact -->
344 <activity android:name="ContactOptionsActivity"
345 android:label="@string/contactOptionsTitle"
346 >
347 <intent-filter>
348 <action android:name="android.intent.action.EDIT" />
349 <category android:name="android.intent.category.DEFAULT" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800350 </intent-filter>
351 </activity>
352
353 <!-- Attaches a photo to a contact. Started from external applications -->
354 <activity android:name="AttachImage"
355 android:label="@string/attachToContact"
356 android:taskAffinity="">
357 <intent-filter>
358 <action android:name="android.intent.action.ATTACH_DATA" />
359 <data android:mimeType="image/*" />
360 <category android:name="android.intent.category.DEFAULT" />
361 </intent-filter>
362 />
363 </activity>
364
365 <!-- Activity used to select the groups that should be synced -->
366 <activity android:name="ContactsGroupSyncSelector"
367 android:label="@string/seclectSyncGroups_title"
368 />
369
370 <!-- Makes .ContactsListActivity the search target for any activity in Contacts -->
371 <meta-data android:name="android.app.default_searchable"
372 android:value=".ContactsListActivity" />
373
374
375 <!-- LIVE FOLDERS -->
376 <activity
377 android:name=".ContactsLiveFolders$AllContacts"
378 android:label="@string/liveFolderAll"
Romain Guy4eb77b62009-03-24 18:10:17 -0700379 android:icon="@drawable/ic_launcher_folder_live_contacts">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800380 <intent-filter>
381 <action android:name="android.intent.action.CREATE_LIVE_FOLDER" />
382 <category android:name="android.intent.category.DEFAULT" />
383 </intent-filter>
384 </activity>
385
386 <activity
387 android:name=".ContactsLiveFolders$StarredContacts"
388 android:label="@string/liveFolderFavorites"
Romain Guy4eb77b62009-03-24 18:10:17 -0700389 android:icon="@drawable/ic_launcher_folder_live_contacts_starred">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800390 <intent-filter>
391 <action android:name="android.intent.action.CREATE_LIVE_FOLDER" />
392 <category android:name="android.intent.category.DEFAULT" />
393 </intent-filter>
394 </activity>
395
396 <activity
397 android:name=".ContactsLiveFolders$PhoneContacts"
398 android:label="@string/liveFolderPhone"
Romain Guy4eb77b62009-03-24 18:10:17 -0700399 android:icon="@drawable/ic_launcher_folder_live_contacts_phone">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800400 <intent-filter>
401 <action android:name="android.intent.action.CREATE_LIVE_FOLDER" />
402 <category android:name="android.intent.category.DEFAULT" />
403 </intent-filter>
404 </activity>
405
Daisuke Miyakawa72c50522009-07-07 15:37:59 -0700406 <activity android:name=".ImportVCardActivity"
407 android:theme="@style/BackgroundOnly" />
408
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800409 </application>
410</manifest>
411
412
413