blob: ab409f027b4d1865581de8aa1c111e80ea483342 [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" />
204 <data android:mimeType="vnd.android.cursor.item/person" />
Jeff Sharkeyd9798ae2009-08-24 20:46:23 -0700205 <data android:mimeType="vnd.android.cursor.item/contact" />
206 <data android:mimeType="vnd.android.cursor.item/raw_contact" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800207 </intent-filter>
Jeff Sharkey26c7e732009-04-01 17:30:46 -0700208
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800209 <intent-filter>
210 <action android:name="android.intent.action.PICK" />
211 <category android:name="android.intent.category.DEFAULT" />
Evan Millarc2d862e2009-08-31 12:52:39 -0700212 <data android:mimeType="vnd.android.cursor.dir/contact" android:host="com.android.contacts" />
213 <data android:mimeType="vnd.android.cursor.dir/person" android:host="contacts" />
214 <data android:mimeType="vnd.android.cursor.dir/phone_v2" android:host="com.android.contacts" />
215 <data android:mimeType="vnd.android.cursor.dir/phone" android:host="contacts" />
216 <data android:mimeType="vnd.android.cursor.dir/postal-address_v2" android:host="com.android.contacts" />
217 <data android:mimeType="vnd.android.cursor.dir/postal-address" android:host="contacts" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800218 </intent-filter>
219
220 <intent-filter>
221 <action android:name="android.intent.action.GET_CONTENT" />
222 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikov631c1ff2009-09-03 16:57:30 -0700223 <data android:mimeType="vnd.android.cursor.item/contact" android:host="com.android.contacts" />
224 <data android:mimeType="vnd.android.cursor.item/person" android:host="contacts" />
225 <data android:mimeType="vnd.android.cursor.item/phone_v2" android:host="com.android.contacts" />
226 <data android:mimeType="vnd.android.cursor.item/phone" android:host="contacts" />
227 <data android:mimeType="vnd.android.cursor.item/postal-address_v2" android:host="com.android.contacts" />
228 <data android:mimeType="vnd.android.cursor.item/postal-address" android:host="contacts" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800229 </intent-filter>
230
231 <intent-filter>
232 <action android:name="android.intent.action.SEARCH" />
233 <category android:name="android.intent.category.DEFAULT" />
234 </intent-filter>
235
The Android Open Source Project37a16ac2009-03-18 17:39:48 -0700236 <meta-data android:name="android.app.searchable"
237 android:resource="@xml/searchable"
238 />
239 </activity>
240
Jeff Sharkey170f7752009-08-16 00:12:48 -0700241 <activity android:name=".ui.DisplayGroupsActivity" android:label="@string/displayGroups" />
Jeff Sharkeyd5c5b9a2009-06-21 19:46:04 -0700242
Jeff Sharkey802b2052009-08-04 14:21:06 -0700243 <activity
244 android:name="ShowOrCreateActivity"
245 android:theme="@style/ShowOrCreateTheme">
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700246
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700247 <intent-filter>
248 <action android:name="com.android.contacts.action.SHOW_OR_CREATE_CONTACT" />
Jeff Sharkey802b2052009-08-04 14:21:06 -0700249 <category android:name="android.intent.category.DEFAULT" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700250 <data android:scheme="mailto" />
251 <data android:scheme="tel" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700252 </intent-filter>
Jeff Sharkey3f177592009-05-18 15:23:12 -0700253
254 <intent-filter>
255 <action android:name="com.android.contacts.action.SHOW_OR_CREATE_CONTACT" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700256 <category android:name="android.intent.category.DEFAULT" />
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700257 <data android:mimeType="vnd.android.cursor.item/person" android:host="contacts" />
258 <data android:mimeType="vnd.android.cursor.item/contact" android:host="com.android.contacts" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700259 </intent-filter>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800260 </activity>
261
262 <activity-alias android:name="ContactShortcut"
263 android:targetActivity="ContactsListActivity"
Romain Guy4eb77b62009-03-24 18:10:17 -0700264 android:label="@string/shortcutContact"
265 android:icon="@drawable/ic_launcher_shortcut_contact">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800266
267 <intent-filter>
268 <action android:name="android.intent.action.CREATE_SHORTCUT" />
269 <category android:name="android.intent.category.DEFAULT" />
270 </intent-filter>
271
272 </activity-alias>
273
Dianne Hackborn333a6152009-05-26 12:46:23 -0700274 <activity-alias android:name="alias.DialShortcut"
275 android:targetActivity="ContactsListActivity"
276 android:label="@string/shortcutDialContact"
277 android:icon="@drawable/ic_launcher_shortcut_contact">
278
279 <intent-filter>
280 <action android:name="android.intent.action.CREATE_SHORTCUT" />
281 <category android:name="android.intent.category.DEFAULT" />
282 </intent-filter>
283
284 </activity-alias>
285
286 <activity-alias android:name="alias.MessageShortcut"
287 android:targetActivity="ContactsListActivity"
288 android:label="@string/shortcutMessageContact"
289 android:icon="@drawable/ic_launcher_shortcut_contact">
290
291 <intent-filter>
292 <action android:name="android.intent.action.CREATE_SHORTCUT" />
293 <category android:name="android.intent.category.DEFAULT" />
294 </intent-filter>
295
296 </activity-alias>
297
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800298 <activity android:name="CallDetailActivity"
299 android:label="@string/callDetailTitle"
Romain Guy4eb77b62009-03-24 18:10:17 -0700300 android:theme="@style/TallTitleBarTheme"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800301 >
302 <intent-filter>
303 <action android:name="android.intent.action.VIEW" />
304 <category android:name="android.intent.category.DEFAULT" />
305 <data android:mimeType="vnd.android.cursor.item/calls" />
306 </intent-filter>
307 </activity>
308
309 <!-- Views the details of a single contact -->
310 <activity android:name="ViewContactActivity"
311 android:label="@string/viewContactTitle"
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700312 android:theme="@style/TallTitleBarTheme">
313
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800314 <intent-filter android:label="@string/viewContactDesription">
315 <action android:name="android.intent.action.VIEW" />
316 <category android:name="android.intent.category.DEFAULT" />
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700317 <data android:mimeType="vnd.android.cursor.item/person" android:host="contacts" />
318 <data android:mimeType="vnd.android.cursor.item/contact" android:host="com.android.contacts" />
Jeff Sharkeyd9798ae2009-08-24 20:46:23 -0700319 <data android:mimeType="vnd.android.cursor.item/raw_contact" android:host="com.android.contacts" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800320 </intent-filter>
321 </activity>
322
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700323 <!-- Edit or insert details for a contact -->
Jeff Sharkey14f61ab2009-08-05 21:02:37 -0700324 <activity
325 android:name=".ui.EditContactActivity"
326 android:theme="@style/TallTitleBarTheme"
327 android:windowSoftInputMode="stateVisible|adjustResize">
328
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800329 <intent-filter android:label="@string/editContactDescription">
330 <action android:name="android.intent.action.EDIT" />
331 <category android:name="android.intent.category.DEFAULT" />
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700332 <data android:mimeType="vnd.android.cursor.item/person" android:host="contacts" />
Jeff Sharkeyd9798ae2009-08-24 20:46:23 -0700333 <data android:mimeType="vnd.android.cursor.item/contact" android:host="com.android.contacts" />
Evan Millar8a79cee2009-08-19 17:20:49 -0700334 <data android:mimeType="vnd.android.cursor.item/raw_contact" android:host="com.android.contacts" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800335 </intent-filter>
Jeff Sharkeyd9798ae2009-08-24 20:46:23 -0700336
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800337 <intent-filter android:label="@string/insertContactDescription">
338 <action android:name="android.intent.action.INSERT" />
339 <category android:name="android.intent.category.DEFAULT" />
Jeff Sharkeyd9798ae2009-08-24 20:46:23 -0700340 <data android:mimeType="vnd.android.cursor.dir/person" />
341 <data android:mimeType="vnd.android.cursor.dir/contact" />
342 <data android:mimeType="vnd.android.cursor.dir/raw_contact" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800343 </intent-filter>
344 </activity>
345
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700346 <!-- Stub service used to keep our process alive long enough for
347 background threads to finish their operations. -->
348 <service
349 android:name=".util.EmptyService"
350 android:exported="false" />
351
Dmitri Plotnikovef038722009-06-24 18:51:47 -0700352 <!-- Views the details of a single contact -->
353 <activity android:name="ContactOptionsActivity"
354 android:label="@string/contactOptionsTitle"
355 >
356 <intent-filter>
357 <action android:name="android.intent.action.EDIT" />
358 <category android:name="android.intent.category.DEFAULT" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800359 </intent-filter>
360 </activity>
361
362 <!-- Attaches a photo to a contact. Started from external applications -->
363 <activity android:name="AttachImage"
364 android:label="@string/attachToContact"
365 android:taskAffinity="">
366 <intent-filter>
367 <action android:name="android.intent.action.ATTACH_DATA" />
368 <data android:mimeType="image/*" />
369 <category android:name="android.intent.category.DEFAULT" />
370 </intent-filter>
371 />
372 </activity>
373
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800374 <!-- Makes .ContactsListActivity the search target for any activity in Contacts -->
375 <meta-data android:name="android.app.default_searchable"
376 android:value=".ContactsListActivity" />
377
378
379 <!-- LIVE FOLDERS -->
380 <activity
381 android:name=".ContactsLiveFolders$AllContacts"
382 android:label="@string/liveFolderAll"
Romain Guy4eb77b62009-03-24 18:10:17 -0700383 android:icon="@drawable/ic_launcher_folder_live_contacts">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800384 <intent-filter>
385 <action android:name="android.intent.action.CREATE_LIVE_FOLDER" />
386 <category android:name="android.intent.category.DEFAULT" />
387 </intent-filter>
388 </activity>
389
390 <activity
391 android:name=".ContactsLiveFolders$StarredContacts"
392 android:label="@string/liveFolderFavorites"
Romain Guy4eb77b62009-03-24 18:10:17 -0700393 android:icon="@drawable/ic_launcher_folder_live_contacts_starred">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800394 <intent-filter>
395 <action android:name="android.intent.action.CREATE_LIVE_FOLDER" />
396 <category android:name="android.intent.category.DEFAULT" />
397 </intent-filter>
398 </activity>
399
400 <activity
401 android:name=".ContactsLiveFolders$PhoneContacts"
402 android:label="@string/liveFolderPhone"
Romain Guy4eb77b62009-03-24 18:10:17 -0700403 android:icon="@drawable/ic_launcher_folder_live_contacts_phone">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800404 <intent-filter>
405 <action android:name="android.intent.action.CREATE_LIVE_FOLDER" />
406 <category android:name="android.intent.category.DEFAULT" />
407 </intent-filter>
408 </activity>
409
Daisuke Miyakawa72c50522009-07-07 15:37:59 -0700410 <activity android:name=".ImportVCardActivity"
411 android:theme="@style/BackgroundOnly" />
412
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800413 </application>
414</manifest>
415
416
417