blob: 24becaec02fc8ddbee0dd60f7734abb108e6d117 [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" />
Jeff Hamiltona8ccbd42009-07-29 16:36:28 -0500212 <data android:mimeType="vnd.android.cursor.dir/contact" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800213 <data android:mimeType="vnd.android.cursor.dir/person" />
214 <data android:mimeType="vnd.android.cursor.dir/phone" />
215 <data android:mimeType="vnd.android.cursor.dir/postal-address" />
216 </intent-filter>
217
218 <intent-filter>
219 <action android:name="android.intent.action.GET_CONTENT" />
220 <category android:name="android.intent.category.DEFAULT" />
Jeff Hamiltona8ccbd42009-07-29 16:36:28 -0500221 <data android:mimeType="vnd.android.cursor.item/contact" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800222 <data android:mimeType="vnd.android.cursor.item/person" />
223 <data android:mimeType="vnd.android.cursor.item/phone" />
224 <data android:mimeType="vnd.android.cursor.item/postal-address" />
225 </intent-filter>
226
227 <intent-filter>
228 <action android:name="android.intent.action.SEARCH" />
229 <category android:name="android.intent.category.DEFAULT" />
230 </intent-filter>
231
The Android Open Source Project37a16ac2009-03-18 17:39:48 -0700232 <meta-data android:name="android.app.searchable"
233 android:resource="@xml/searchable"
234 />
235 </activity>
236
Jeff Sharkey170f7752009-08-16 00:12:48 -0700237 <activity android:name=".ui.DisplayGroupsActivity" android:label="@string/displayGroups" />
Jeff Sharkeyd5c5b9a2009-06-21 19:46:04 -0700238
Jeff Sharkey802b2052009-08-04 14:21:06 -0700239 <activity
240 android:name="ShowOrCreateActivity"
241 android:theme="@style/ShowOrCreateTheme">
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700242
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700243 <intent-filter>
244 <action android:name="com.android.contacts.action.SHOW_OR_CREATE_CONTACT" />
Jeff Sharkey802b2052009-08-04 14:21:06 -0700245 <category android:name="android.intent.category.DEFAULT" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700246 <data android:scheme="mailto" />
247 <data android:scheme="tel" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700248 </intent-filter>
Jeff Sharkey3f177592009-05-18 15:23:12 -0700249
250 <intent-filter>
251 <action android:name="com.android.contacts.action.SHOW_OR_CREATE_CONTACT" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700252 <category android:name="android.intent.category.DEFAULT" />
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700253 <data android:mimeType="vnd.android.cursor.item/person" android:host="contacts" />
254 <data android:mimeType="vnd.android.cursor.item/contact" android:host="com.android.contacts" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700255 </intent-filter>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800256 </activity>
257
258 <activity-alias android:name="ContactShortcut"
259 android:targetActivity="ContactsListActivity"
Romain Guy4eb77b62009-03-24 18:10:17 -0700260 android:label="@string/shortcutContact"
261 android:icon="@drawable/ic_launcher_shortcut_contact">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800262
263 <intent-filter>
264 <action android:name="android.intent.action.CREATE_SHORTCUT" />
265 <category android:name="android.intent.category.DEFAULT" />
266 </intent-filter>
267
268 </activity-alias>
269
Dianne Hackborn333a6152009-05-26 12:46:23 -0700270 <activity-alias android:name="alias.DialShortcut"
271 android:targetActivity="ContactsListActivity"
272 android:label="@string/shortcutDialContact"
273 android:icon="@drawable/ic_launcher_shortcut_contact">
274
275 <intent-filter>
276 <action android:name="android.intent.action.CREATE_SHORTCUT" />
277 <category android:name="android.intent.category.DEFAULT" />
278 </intent-filter>
279
280 </activity-alias>
281
282 <activity-alias android:name="alias.MessageShortcut"
283 android:targetActivity="ContactsListActivity"
284 android:label="@string/shortcutMessageContact"
285 android:icon="@drawable/ic_launcher_shortcut_contact">
286
287 <intent-filter>
288 <action android:name="android.intent.action.CREATE_SHORTCUT" />
289 <category android:name="android.intent.category.DEFAULT" />
290 </intent-filter>
291
292 </activity-alias>
293
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800294 <activity android:name="CallDetailActivity"
295 android:label="@string/callDetailTitle"
Romain Guy4eb77b62009-03-24 18:10:17 -0700296 android:theme="@style/TallTitleBarTheme"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800297 >
298 <intent-filter>
299 <action android:name="android.intent.action.VIEW" />
300 <category android:name="android.intent.category.DEFAULT" />
301 <data android:mimeType="vnd.android.cursor.item/calls" />
302 </intent-filter>
303 </activity>
304
305 <!-- Views the details of a single contact -->
306 <activity android:name="ViewContactActivity"
307 android:label="@string/viewContactTitle"
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700308 android:theme="@style/TallTitleBarTheme">
309
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800310 <intent-filter android:label="@string/viewContactDesription">
311 <action android:name="android.intent.action.VIEW" />
312 <category android:name="android.intent.category.DEFAULT" />
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700313 <data android:mimeType="vnd.android.cursor.item/person" android:host="contacts" />
314 <data android:mimeType="vnd.android.cursor.item/contact" android:host="com.android.contacts" />
Jeff Sharkeyd9798ae2009-08-24 20:46:23 -0700315 <data android:mimeType="vnd.android.cursor.item/raw_contact" android:host="com.android.contacts" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800316 </intent-filter>
317 </activity>
318
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700319 <!-- Edit or insert details for a contact -->
Jeff Sharkey14f61ab2009-08-05 21:02:37 -0700320 <activity
321 android:name=".ui.EditContactActivity"
322 android:theme="@style/TallTitleBarTheme"
323 android:windowSoftInputMode="stateVisible|adjustResize">
324
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800325 <intent-filter android:label="@string/editContactDescription">
326 <action android:name="android.intent.action.EDIT" />
327 <category android:name="android.intent.category.DEFAULT" />
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700328 <data android:mimeType="vnd.android.cursor.item/person" android:host="contacts" />
Jeff Sharkeyd9798ae2009-08-24 20:46:23 -0700329 <data android:mimeType="vnd.android.cursor.item/contact" android:host="com.android.contacts" />
Evan Millar8a79cee2009-08-19 17:20:49 -0700330 <data android:mimeType="vnd.android.cursor.item/raw_contact" android:host="com.android.contacts" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800331 </intent-filter>
Jeff Sharkeyd9798ae2009-08-24 20:46:23 -0700332
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800333 <intent-filter android:label="@string/insertContactDescription">
334 <action android:name="android.intent.action.INSERT" />
335 <category android:name="android.intent.category.DEFAULT" />
Jeff Sharkeyd9798ae2009-08-24 20:46:23 -0700336 <data android:mimeType="vnd.android.cursor.dir/person" />
337 <data android:mimeType="vnd.android.cursor.dir/contact" />
338 <data android:mimeType="vnd.android.cursor.dir/raw_contact" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800339 </intent-filter>
340 </activity>
341
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700342 <!-- Stub service used to keep our process alive long enough for
343 background threads to finish their operations. -->
344 <service
345 android:name=".util.EmptyService"
346 android:exported="false" />
347
Dmitri Plotnikovef038722009-06-24 18:51:47 -0700348 <!-- Views the details of a single contact -->
349 <activity android:name="ContactOptionsActivity"
350 android:label="@string/contactOptionsTitle"
351 >
352 <intent-filter>
353 <action android:name="android.intent.action.EDIT" />
354 <category android:name="android.intent.category.DEFAULT" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800355 </intent-filter>
356 </activity>
357
358 <!-- Attaches a photo to a contact. Started from external applications -->
359 <activity android:name="AttachImage"
360 android:label="@string/attachToContact"
361 android:taskAffinity="">
362 <intent-filter>
363 <action android:name="android.intent.action.ATTACH_DATA" />
364 <data android:mimeType="image/*" />
365 <category android:name="android.intent.category.DEFAULT" />
366 </intent-filter>
367 />
368 </activity>
369
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800370 <!-- 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