blob: b1014adf43d88d967c9b958d4654970017db060e [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" />
Jeff Sharkey2428f622009-09-13 01:08:43 -0700130 <data android:mimeType="vnd.android.cursor.dir/person" android:host="contacts" />
131 <data android:mimeType="vnd.android.cursor.dir/contact" android:host="com.android.contacts" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800132 </intent-filter>
Jeff Sharkey26c7e732009-04-01 17:30:46 -0700133
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800134 <intent-filter>
135 <action android:name="com.android.contacts.action.FILTER_CONTACTS" />
136 <category android:name="android.intent.category.DEFAULT" />
137 </intent-filter>
138 </activity-alias>
139
The Android Open Source Project1f620962009-03-09 11:52:14 -0700140 <!-- An empty activity that presents the DialtactActivity's Favorites tab -->
141 <activity-alias android:name="DialtactsFavoritesEntryActivity"
142 android:targetActivity="DialtactsActivity"
The Android Open Source Project1f620962009-03-09 11:52:14 -0700143 >
144 <intent-filter>
145 <action android:name="android.intent.action.MAIN" />
146 <category android:name="android.intent.category.DEFAULT" />
147 </intent-filter>
148 </activity-alias>
Jeff Sharkey26c7e732009-04-01 17:30:46 -0700149
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800150 <!-- The actual list of contacts, usually embedded in ContactsActivity -->
151 <activity android:name="ContactsListActivity"
152 android:label="@string/contactsList"
153 android:clearTaskOnLaunch="true"
154 >
155 <intent-filter>
156 <action android:name="com.android.contacts.action.LIST_DEFAULT" />
157 <category android:name="android.intent.category.DEFAULT" />
158 <category android:name="android.intent.category.TAB" />
159 </intent-filter>
160
161 <intent-filter>
162 <action android:name="com.android.contacts.action.LIST_CONTACTS" />
163 <category android:name="android.intent.category.DEFAULT" />
164 <category android:name="android.intent.category.TAB" />
165 </intent-filter>
166
167 <intent-filter>
168 <action android:name="com.android.contacts.action.LIST_ALL_CONTACTS" />
169 <category android:name="android.intent.category.DEFAULT" />
170 <category android:name="android.intent.category.TAB" />
171 </intent-filter>
172
173 <intent-filter>
174 <action android:name="com.android.contacts.action.LIST_CONTACTS_WITH_PHONES" />
175 <category android:name="android.intent.category.DEFAULT" />
176 <category android:name="android.intent.category.TAB" />
177 </intent-filter>
178
179 <intent-filter android:label="@string/starredList">
180 <action android:name="com.android.contacts.action.LIST_STARRED" />
181 <category android:name="android.intent.category.DEFAULT" />
182 <category android:name="android.intent.category.TAB" />
183 </intent-filter>
Jeff Sharkey26c7e732009-04-01 17:30:46 -0700184
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800185 <intent-filter android:label="@string/frequentList">
186 <action android:name="com.android.contacts.action.LIST_FREQUENT" />
187 <category android:name="android.intent.category.DEFAULT" />
188 <category android:name="android.intent.category.TAB" />
189 </intent-filter>
190
191 <intent-filter android:label="@string/strequentList">
192 <action android:name="com.android.contacts.action.LIST_STREQUENT" />
193 <category android:name="android.intent.category.DEFAULT" />
194 <category android:name="android.intent.category.TAB" />
195 </intent-filter>
196
197 <intent-filter>
Dmitri Plotnikov49f705f2009-06-17 18:31:56 -0700198 <action android:name="com.android.contacts.action.JOIN_AGGREGATE" />
199 <category android:name="android.intent.category.DEFAULT" />
200 </intent-filter>
201
202 <intent-filter>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800203 <action android:name="android.intent.action.INSERT_OR_EDIT" />
204 <category android:name="android.intent.category.DEFAULT" />
205 <data android:mimeType="vnd.android.cursor.item/person" />
Jeff Sharkeyd9798ae2009-08-24 20:46:23 -0700206 <data android:mimeType="vnd.android.cursor.item/contact" />
207 <data android:mimeType="vnd.android.cursor.item/raw_contact" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800208 </intent-filter>
Jeff Sharkey26c7e732009-04-01 17:30:46 -0700209
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800210 <intent-filter>
211 <action android:name="android.intent.action.PICK" />
212 <category android:name="android.intent.category.DEFAULT" />
Evan Millarc2d862e2009-08-31 12:52:39 -0700213 <data android:mimeType="vnd.android.cursor.dir/contact" android:host="com.android.contacts" />
214 <data android:mimeType="vnd.android.cursor.dir/person" android:host="contacts" />
215 <data android:mimeType="vnd.android.cursor.dir/phone_v2" android:host="com.android.contacts" />
216 <data android:mimeType="vnd.android.cursor.dir/phone" android:host="contacts" />
217 <data android:mimeType="vnd.android.cursor.dir/postal-address_v2" android:host="com.android.contacts" />
218 <data android:mimeType="vnd.android.cursor.dir/postal-address" android:host="contacts" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800219 </intent-filter>
220
221 <intent-filter>
222 <action android:name="android.intent.action.GET_CONTENT" />
223 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikov631c1ff2009-09-03 16:57:30 -0700224 <data android:mimeType="vnd.android.cursor.item/contact" android:host="com.android.contacts" />
225 <data android:mimeType="vnd.android.cursor.item/person" android:host="contacts" />
226 <data android:mimeType="vnd.android.cursor.item/phone_v2" android:host="com.android.contacts" />
227 <data android:mimeType="vnd.android.cursor.item/phone" android:host="contacts" />
228 <data android:mimeType="vnd.android.cursor.item/postal-address_v2" android:host="com.android.contacts" />
229 <data android:mimeType="vnd.android.cursor.item/postal-address" android:host="contacts" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800230 </intent-filter>
231
232 <intent-filter>
233 <action android:name="android.intent.action.SEARCH" />
234 <category android:name="android.intent.category.DEFAULT" />
235 </intent-filter>
236
The Android Open Source Project37a16ac2009-03-18 17:39:48 -0700237 <meta-data android:name="android.app.searchable"
238 android:resource="@xml/searchable"
239 />
240 </activity>
241
Jeff Sharkey170f7752009-08-16 00:12:48 -0700242 <activity android:name=".ui.DisplayGroupsActivity" android:label="@string/displayGroups" />
Jeff Sharkeyd5c5b9a2009-06-21 19:46:04 -0700243
Jeff Sharkey802b2052009-08-04 14:21:06 -0700244 <activity
245 android:name="ShowOrCreateActivity"
246 android:theme="@style/ShowOrCreateTheme">
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700247
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700248 <intent-filter>
249 <action android:name="com.android.contacts.action.SHOW_OR_CREATE_CONTACT" />
Jeff Sharkey802b2052009-08-04 14:21:06 -0700250 <category android:name="android.intent.category.DEFAULT" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700251 <data android:scheme="mailto" />
252 <data android:scheme="tel" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700253 </intent-filter>
Jeff Sharkey3f177592009-05-18 15:23:12 -0700254
255 <intent-filter>
256 <action android:name="com.android.contacts.action.SHOW_OR_CREATE_CONTACT" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700257 <category android:name="android.intent.category.DEFAULT" />
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700258 <data android:mimeType="vnd.android.cursor.item/person" android:host="contacts" />
259 <data android:mimeType="vnd.android.cursor.item/contact" android:host="com.android.contacts" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700260 </intent-filter>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800261 </activity>
262
263 <activity-alias android:name="ContactShortcut"
264 android:targetActivity="ContactsListActivity"
Romain Guy4eb77b62009-03-24 18:10:17 -0700265 android:label="@string/shortcutContact"
266 android:icon="@drawable/ic_launcher_shortcut_contact">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800267
268 <intent-filter>
269 <action android:name="android.intent.action.CREATE_SHORTCUT" />
270 <category android:name="android.intent.category.DEFAULT" />
271 </intent-filter>
272
273 </activity-alias>
274
Dianne Hackborn333a6152009-05-26 12:46:23 -0700275 <activity-alias android:name="alias.DialShortcut"
276 android:targetActivity="ContactsListActivity"
277 android:label="@string/shortcutDialContact"
278 android:icon="@drawable/ic_launcher_shortcut_contact">
279
280 <intent-filter>
281 <action android:name="android.intent.action.CREATE_SHORTCUT" />
282 <category android:name="android.intent.category.DEFAULT" />
283 </intent-filter>
284
285 </activity-alias>
286
287 <activity-alias android:name="alias.MessageShortcut"
288 android:targetActivity="ContactsListActivity"
289 android:label="@string/shortcutMessageContact"
290 android:icon="@drawable/ic_launcher_shortcut_contact">
291
292 <intent-filter>
293 <action android:name="android.intent.action.CREATE_SHORTCUT" />
294 <category android:name="android.intent.category.DEFAULT" />
295 </intent-filter>
296
297 </activity-alias>
298
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800299 <activity android:name="CallDetailActivity"
300 android:label="@string/callDetailTitle"
Romain Guy4eb77b62009-03-24 18:10:17 -0700301 android:theme="@style/TallTitleBarTheme"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800302 >
303 <intent-filter>
304 <action android:name="android.intent.action.VIEW" />
305 <category android:name="android.intent.category.DEFAULT" />
306 <data android:mimeType="vnd.android.cursor.item/calls" />
307 </intent-filter>
308 </activity>
309
310 <!-- Views the details of a single contact -->
311 <activity android:name="ViewContactActivity"
312 android:label="@string/viewContactTitle"
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700313 android:theme="@style/TallTitleBarTheme">
314
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800315 <intent-filter android:label="@string/viewContactDesription">
316 <action android:name="android.intent.action.VIEW" />
317 <category android:name="android.intent.category.DEFAULT" />
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700318 <data android:mimeType="vnd.android.cursor.item/person" android:host="contacts" />
319 <data android:mimeType="vnd.android.cursor.item/contact" android:host="com.android.contacts" />
Jeff Sharkeyd9798ae2009-08-24 20:46:23 -0700320 <data android:mimeType="vnd.android.cursor.item/raw_contact" android:host="com.android.contacts" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800321 </intent-filter>
322 </activity>
323
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700324 <!-- Edit or insert details for a contact -->
Jeff Sharkey14f61ab2009-08-05 21:02:37 -0700325 <activity
326 android:name=".ui.EditContactActivity"
327 android:theme="@style/TallTitleBarTheme"
328 android:windowSoftInputMode="stateVisible|adjustResize">
329
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800330 <intent-filter android:label="@string/editContactDescription">
331 <action android:name="android.intent.action.EDIT" />
332 <category android:name="android.intent.category.DEFAULT" />
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700333 <data android:mimeType="vnd.android.cursor.item/person" android:host="contacts" />
Jeff Sharkeyd9798ae2009-08-24 20:46:23 -0700334 <data android:mimeType="vnd.android.cursor.item/contact" android:host="com.android.contacts" />
Evan Millar8a79cee2009-08-19 17:20:49 -0700335 <data android:mimeType="vnd.android.cursor.item/raw_contact" android:host="com.android.contacts" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800336 </intent-filter>
Jeff Sharkeyd9798ae2009-08-24 20:46:23 -0700337
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800338 <intent-filter android:label="@string/insertContactDescription">
339 <action android:name="android.intent.action.INSERT" />
340 <category android:name="android.intent.category.DEFAULT" />
Jeff Sharkeyd9798ae2009-08-24 20:46:23 -0700341 <data android:mimeType="vnd.android.cursor.dir/person" />
342 <data android:mimeType="vnd.android.cursor.dir/contact" />
343 <data android:mimeType="vnd.android.cursor.dir/raw_contact" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800344 </intent-filter>
345 </activity>
346
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700347 <!-- Stub service used to keep our process alive long enough for
348 background threads to finish their operations. -->
349 <service
350 android:name=".util.EmptyService"
351 android:exported="false" />
352
Dmitri Plotnikovef038722009-06-24 18:51:47 -0700353 <!-- Views the details of a single contact -->
354 <activity android:name="ContactOptionsActivity"
355 android:label="@string/contactOptionsTitle"
356 >
357 <intent-filter>
358 <action android:name="android.intent.action.EDIT" />
359 <category android:name="android.intent.category.DEFAULT" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800360 </intent-filter>
361 </activity>
362
363 <!-- Attaches a photo to a contact. Started from external applications -->
364 <activity android:name="AttachImage"
365 android:label="@string/attachToContact"
366 android:taskAffinity="">
367 <intent-filter>
368 <action android:name="android.intent.action.ATTACH_DATA" />
369 <data android:mimeType="image/*" />
370 <category android:name="android.intent.category.DEFAULT" />
371 </intent-filter>
372 />
373 </activity>
374
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800375 <!-- Makes .ContactsListActivity the search target for any activity in Contacts -->
376 <meta-data android:name="android.app.default_searchable"
377 android:value=".ContactsListActivity" />
378
379
380 <!-- LIVE FOLDERS -->
381 <activity
382 android:name=".ContactsLiveFolders$AllContacts"
383 android:label="@string/liveFolderAll"
Romain Guy4eb77b62009-03-24 18:10:17 -0700384 android:icon="@drawable/ic_launcher_folder_live_contacts">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800385 <intent-filter>
386 <action android:name="android.intent.action.CREATE_LIVE_FOLDER" />
387 <category android:name="android.intent.category.DEFAULT" />
388 </intent-filter>
389 </activity>
390
391 <activity
392 android:name=".ContactsLiveFolders$StarredContacts"
393 android:label="@string/liveFolderFavorites"
Romain Guy4eb77b62009-03-24 18:10:17 -0700394 android:icon="@drawable/ic_launcher_folder_live_contacts_starred">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800395 <intent-filter>
396 <action android:name="android.intent.action.CREATE_LIVE_FOLDER" />
397 <category android:name="android.intent.category.DEFAULT" />
398 </intent-filter>
399 </activity>
400
401 <activity
402 android:name=".ContactsLiveFolders$PhoneContacts"
403 android:label="@string/liveFolderPhone"
Romain Guy4eb77b62009-03-24 18:10:17 -0700404 android:icon="@drawable/ic_launcher_folder_live_contacts_phone">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800405 <intent-filter>
406 <action android:name="android.intent.action.CREATE_LIVE_FOLDER" />
407 <category android:name="android.intent.category.DEFAULT" />
408 </intent-filter>
409 </activity>
410
Daisuke Miyakawa72c50522009-07-07 15:37:59 -0700411 <activity android:name=".ImportVCardActivity"
412 android:theme="@style/BackgroundOnly" />
413
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800414 </application>
415</manifest>
416
417
418