blob: 0492c2e632d3990116d61a2945081223bd7a4bd4 [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" />
Fred Quintana104b7922009-07-22 20:01:15 -070029 <uses-permission android:name="android.permission.USE_CREDENTIALS" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080030
31 <application
32 android:label="@string/contactsList"
33 android:icon="@drawable/ic_launcher_contacts"
34 android:process="android.process.acore"
35 android:taskAffinity="android.task.contacts"
36 >
37
38 <!-- A virtual 12 key dialer -->
39 <activity android:name="TwelveKeyDialer"
40 android:launchMode="singleTop"
41 >
42 <intent-filter>
43 <action android:name="com.android.phone.action.TOUCH_DIALER" />
44 <category android:name="android.intent.category.DEFAULT" />
45 <category android:name="android.intent.category.TAB" />
46 </intent-filter>
47 </activity>
48
49 <!-- A list of recent calls -->
50 <activity android:name="RecentCallsListActivity"
51 android:label="@string/recentCallsIconLabel"
52 >
53 <intent-filter>
54 <action android:name="com.android.phone.action.RECENT_CALLS" />
55 <category android:name="android.intent.category.DEFAULT" />
56 <category android:name="android.intent.category.TAB" />
57 </intent-filter>
58 </activity>
59
60 <!-- Tab container for TwelveKeyDialer and RecentCallsList -->
Jeff Hamilton90313772009-07-28 10:20:31 -050061 <activity android:name="DialtactsActivity"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080062 android:label="@string/launcherDialer"
63 android:theme="@android:style/Theme.NoTitleBar"
64 android:launchMode="singleTask"
65 android:clearTaskOnLaunch="true"
66 android:icon="@drawable/ic_launcher_phone"
67 android:screenOrientation="nosensor"
68 >
69 <intent-filter>
70 <action android:name="android.intent.action.DIAL" />
71 <category android:name="android.intent.category.DEFAULT" />
72 <category android:name="android.intent.category.BROWSABLE" />
73 <data android:mimeType="vnd.android.cursor.item/phone" />
74 <data android:mimeType="vnd.android.cursor.item/person" />
75 </intent-filter>
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:scheme="voicemail" />
81 </intent-filter>
82 <intent-filter>
83 <action android:name="android.intent.action.DIAL" />
84 <category android:name="android.intent.category.DEFAULT" />
85 </intent-filter>
86 <intent-filter>
87 <action android:name="android.intent.action.MAIN" />
88 <category android:name="android.intent.category.DEFAULT" />
89 <category android:name="android.intent.category.LAUNCHER" />
90 <category android:name="android.intent.category.BROWSABLE" />
91 </intent-filter>
92 <intent-filter>
93 <action android:name="android.intent.action.VIEW" />
94 <action android:name="android.intent.action.DIAL" />
95 <category android:name="android.intent.category.DEFAULT" />
96 <category android:name="android.intent.category.BROWSABLE" />
97 <data android:scheme="tel" />
98 </intent-filter>
99 <intent-filter>
100 <action android:name="android.intent.action.VIEW" />
101 <category android:name="android.intent.category.DEFAULT" />
102 <category android:name="android.intent.category.BROWSABLE" />
103 <data android:mimeType="vnd.android.cursor.dir/calls" />
104 </intent-filter>
105 <intent-filter>
106 <action android:name="android.intent.action.CALL_BUTTON" />
107 <category android:name="android.intent.category.DEFAULT" />
108 <category android:name="android.intent.category.BROWSABLE" />
109 </intent-filter>
110 </activity>
Jeff Sharkey26c7e732009-04-01 17:30:46 -0700111
Dmitri Plotnikov032bb362009-05-06 17:05:39 -0700112 <!-- Tab container for Activity Stream and Contacts -->
Jeff Hamilton90313772009-07-28 10:20:31 -0500113 <activity-alias android:name="DialtactsContactsEntryActivity"
114 android:targetActivity="DialtactsActivity"
Jeff Hamilton7f805bf2009-05-21 16:16:35 -0700115 android:label="@string/contactsList"
Dmitri Plotnikov032bb362009-05-06 17:05:39 -0700116 android:icon="@drawable/ic_launcher_contacts"
Dmitri Plotnikov032bb362009-05-06 17:05:39 -0700117 >
118 <intent-filter>
119 <action android:name="android.intent.action.MAIN" />
120 <category android:name="android.intent.category.DEFAULT" />
121 <category android:name="android.intent.category.LAUNCHER" />
122 <category android:name="android.intent.category.BROWSABLE" />
123 </intent-filter>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800124
125 <intent-filter>
126 <action android:name="android.intent.action.VIEW" />
127 <category android:name="android.intent.category.DEFAULT" />
128 <data android:mimeType="vnd.android.cursor.dir/person" />
129 </intent-filter>
Jeff Sharkey26c7e732009-04-01 17:30:46 -0700130
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800131 <intent-filter>
132 <action android:name="com.android.contacts.action.FILTER_CONTACTS" />
133 <category android:name="android.intent.category.DEFAULT" />
134 </intent-filter>
Jeff Hamilton90313772009-07-28 10:20:31 -0500135 </activity-alias>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800136
The Android Open Source Project1f620962009-03-09 11:52:14 -0700137 <!-- An empty activity that presents the DialtactActivity's Favorites tab -->
138 <activity-alias android:name="DialtactsFavoritesEntryActivity"
Jeff Hamilton90313772009-07-28 10:20:31 -0500139 android:targetActivity="DialtactsActivity"
The Android Open Source Project1f620962009-03-09 11:52:14 -0700140 >
141 <intent-filter>
142 <action android:name="android.intent.action.MAIN" />
143 <category android:name="android.intent.category.DEFAULT" />
144 </intent-filter>
145 </activity-alias>
Jeff Sharkey26c7e732009-04-01 17:30:46 -0700146
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800147 <!-- The actual list of contacts, usually embedded in ContactsActivity -->
148 <activity android:name="ContactsListActivity"
149 android:label="@string/contactsList"
150 android:clearTaskOnLaunch="true"
151 >
152 <intent-filter>
153 <action android:name="com.android.contacts.action.LIST_DEFAULT" />
154 <category android:name="android.intent.category.DEFAULT" />
155 <category android:name="android.intent.category.TAB" />
156 </intent-filter>
157
158 <intent-filter>
159 <action android:name="com.android.contacts.action.LIST_CONTACTS" />
160 <category android:name="android.intent.category.DEFAULT" />
161 <category android:name="android.intent.category.TAB" />
162 </intent-filter>
163
164 <intent-filter>
165 <action android:name="com.android.contacts.action.LIST_ALL_CONTACTS" />
166 <category android:name="android.intent.category.DEFAULT" />
167 <category android:name="android.intent.category.TAB" />
168 </intent-filter>
169
170 <intent-filter>
171 <action android:name="com.android.contacts.action.LIST_CONTACTS_WITH_PHONES" />
172 <category android:name="android.intent.category.DEFAULT" />
173 <category android:name="android.intent.category.TAB" />
174 </intent-filter>
175
176 <intent-filter android:label="@string/starredList">
177 <action android:name="com.android.contacts.action.LIST_STARRED" />
178 <category android:name="android.intent.category.DEFAULT" />
179 <category android:name="android.intent.category.TAB" />
180 </intent-filter>
Jeff Sharkey26c7e732009-04-01 17:30:46 -0700181
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800182 <intent-filter android:label="@string/frequentList">
183 <action android:name="com.android.contacts.action.LIST_FREQUENT" />
184 <category android:name="android.intent.category.DEFAULT" />
185 <category android:name="android.intent.category.TAB" />
186 </intent-filter>
187
188 <intent-filter android:label="@string/strequentList">
189 <action android:name="com.android.contacts.action.LIST_STREQUENT" />
190 <category android:name="android.intent.category.DEFAULT" />
191 <category android:name="android.intent.category.TAB" />
192 </intent-filter>
193
194 <intent-filter>
Dmitri Plotnikov49f705f2009-06-17 18:31:56 -0700195 <action android:name="com.android.contacts.action.JOIN_AGGREGATE" />
196 <category android:name="android.intent.category.DEFAULT" />
197 </intent-filter>
198
199 <intent-filter>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800200 <action android:name="android.intent.action.INSERT_OR_EDIT" />
201 <category android:name="android.intent.category.DEFAULT" />
Jeff Hamiltona8ccbd42009-07-29 16:36:28 -0500202 <data android:mimeType="vnd.android.cursor.item/contact" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800203 <data android:mimeType="vnd.android.cursor.item/person" />
204 </intent-filter>
Jeff Sharkey26c7e732009-04-01 17:30:46 -0700205
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800206 <intent-filter>
207 <action android:name="android.intent.action.PICK" />
208 <category android:name="android.intent.category.DEFAULT" />
Jeff Hamiltona8ccbd42009-07-29 16:36:28 -0500209 <data android:mimeType="vnd.android.cursor.dir/contact" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800210 <data android:mimeType="vnd.android.cursor.dir/person" />
211 <data android:mimeType="vnd.android.cursor.dir/phone" />
212 <data android:mimeType="vnd.android.cursor.dir/postal-address" />
213 </intent-filter>
214
215 <intent-filter>
216 <action android:name="android.intent.action.GET_CONTENT" />
217 <category android:name="android.intent.category.DEFAULT" />
Jeff Hamiltona8ccbd42009-07-29 16:36:28 -0500218 <data android:mimeType="vnd.android.cursor.item/contact" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800219 <data android:mimeType="vnd.android.cursor.item/person" />
220 <data android:mimeType="vnd.android.cursor.item/phone" />
221 <data android:mimeType="vnd.android.cursor.item/postal-address" />
222 </intent-filter>
223
224 <intent-filter>
225 <action android:name="android.intent.action.SEARCH" />
226 <category android:name="android.intent.category.DEFAULT" />
227 </intent-filter>
228
The Android Open Source Project37a16ac2009-03-18 17:39:48 -0700229 <meta-data android:name="android.app.searchable"
230 android:resource="@xml/searchable"
231 />
232 </activity>
233
Jeff Sharkeyd5c5b9a2009-06-21 19:46:04 -0700234 <activity android:name=".DisplayGroupsActivity" android:label="@string/displayGroups" />
235
Jeff Sharkey802b2052009-08-04 14:21:06 -0700236 <activity
237 android:name="ShowOrCreateActivity"
238 android:theme="@style/ShowOrCreateTheme">
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700239 <intent-filter>
240 <action android:name="com.android.contacts.action.SHOW_OR_CREATE_CONTACT" />
Jeff Sharkey802b2052009-08-04 14:21:06 -0700241 <category android:name="android.intent.category.DEFAULT" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700242 <data android:scheme="mailto" />
243 <data android:scheme="tel" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700244 </intent-filter>
Jeff Sharkey3f177592009-05-18 15:23:12 -0700245
246 <intent-filter>
247 <action android:name="com.android.contacts.action.SHOW_OR_CREATE_CONTACT" />
248 <category android:name="android.intent.category.DEFAULT" />
Jeff Hamiltona8ccbd42009-07-29 16:36:28 -0500249 <data android:mimeType="vnd.android.cursor.item/contact" />
Jeff Sharkey3f177592009-05-18 15:23:12 -0700250 </intent-filter>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800251 </activity>
252
253 <activity-alias android:name="ContactShortcut"
254 android:targetActivity="ContactsListActivity"
Romain Guy4eb77b62009-03-24 18:10:17 -0700255 android:label="@string/shortcutContact"
256 android:icon="@drawable/ic_launcher_shortcut_contact">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800257
258 <intent-filter>
259 <action android:name="android.intent.action.CREATE_SHORTCUT" />
260 <category android:name="android.intent.category.DEFAULT" />
261 </intent-filter>
262
263 </activity-alias>
264
265 <activity android:name="CallDetailActivity"
266 android:label="@string/callDetailTitle"
Romain Guy4eb77b62009-03-24 18:10:17 -0700267 android:theme="@style/TallTitleBarTheme"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800268 >
269 <intent-filter>
270 <action android:name="android.intent.action.VIEW" />
271 <category android:name="android.intent.category.DEFAULT" />
272 <data android:mimeType="vnd.android.cursor.item/calls" />
273 </intent-filter>
274 </activity>
Evan Millar7911ff52009-07-21 15:55:18 -0700275
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800276 <!-- Views the details of a single contact -->
277 <activity android:name="ViewContactActivity"
278 android:label="@string/viewContactTitle"
Romain Guy4eb77b62009-03-24 18:10:17 -0700279 android:theme="@style/TallTitleBarTheme"
Evan Millar66388be2009-05-28 15:41:07 -0700280 >
Evan Millar7911ff52009-07-21 15:55:18 -0700281 <intent-filter android:label="@string/viewContactDesription">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800282 <action android:name="android.intent.action.VIEW" />
283 <category android:name="android.intent.category.DEFAULT" />
Jeff Hamiltona8ccbd42009-07-29 16:36:28 -0500284 <data android:mimeType="vnd.android.cursor.item/contact" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800285 </intent-filter>
286 </activity>
287
288 <!-- Edits the details of a single contact -->
Jeff Sharkey14f61ab2009-08-05 21:02:37 -0700289 <activity
290 android:name=".ui.EditContactActivity"
291 android:theme="@style/TallTitleBarTheme"
292 android:windowSoftInputMode="stateVisible|adjustResize">
293
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800294 <intent-filter android:label="@string/editContactDescription">
295 <action android:name="android.intent.action.EDIT" />
296 <category android:name="android.intent.category.DEFAULT" />
Jeff Hamiltona8ccbd42009-07-29 16:36:28 -0500297 <data android:mimeType="vnd.android.cursor.item/contact" />
Evan Millar7e4accf2009-06-08 10:43:26 -0700298 </intent-filter>
299 <intent-filter android:label="@string/insertContactDescription">
300 <action android:name="android.intent.action.INSERT" />
301 <category android:name="android.intent.category.DEFAULT" />
Jeff Hamiltona8ccbd42009-07-29 16:36:28 -0500302 <data android:mimeType="vnd.android.cursor.item/contact" />
Evan Millar7e4accf2009-06-08 10:43:26 -0700303 </intent-filter>
304
305 <intent-filter android:label="@string/editContactDescription">
306 <action android:name="android.intent.action.EDIT" />
307 <category android:name="android.intent.category.DEFAULT" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800308 <data android:mimeType="vnd.android.cursor.item/person" />
309 </intent-filter>
310 <intent-filter android:label="@string/insertContactDescription">
311 <action android:name="android.intent.action.INSERT" />
312 <category android:name="android.intent.category.DEFAULT" />
313 <data android:mimeType="vnd.android.cursor.dir/person" />
314 </intent-filter>
315 </activity>
316
Dmitri Plotnikovef038722009-06-24 18:51:47 -0700317 <!-- Views the details of a single contact -->
318 <activity android:name="ContactOptionsActivity"
319 android:label="@string/contactOptionsTitle"
320 >
321 <intent-filter>
322 <action android:name="android.intent.action.EDIT" />
323 <category android:name="android.intent.category.DEFAULT" />
324 </intent-filter>
325 </activity>
326
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800327 <!-- Attaches a photo to a contact. Started from external applications -->
328 <activity android:name="AttachImage"
329 android:label="@string/attachToContact"
330 android:taskAffinity="">
331 <intent-filter>
332 <action android:name="android.intent.action.ATTACH_DATA" />
333 <data android:mimeType="image/*" />
334 <category android:name="android.intent.category.DEFAULT" />
335 </intent-filter>
336 />
337 </activity>
338
339 <!-- Activity used to select the groups that should be synced -->
340 <activity android:name="ContactsGroupSyncSelector"
341 android:label="@string/seclectSyncGroups_title"
342 />
343
344 <!-- Makes .ContactsListActivity the search target for any activity in Contacts -->
345 <meta-data android:name="android.app.default_searchable"
346 android:value=".ContactsListActivity" />
347
348
349 <!-- LIVE FOLDERS -->
350 <activity
351 android:name=".ContactsLiveFolders$AllContacts"
352 android:label="@string/liveFolderAll"
Romain Guy4eb77b62009-03-24 18:10:17 -0700353 android:icon="@drawable/ic_launcher_folder_live_contacts">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800354 <intent-filter>
355 <action android:name="android.intent.action.CREATE_LIVE_FOLDER" />
356 <category android:name="android.intent.category.DEFAULT" />
357 </intent-filter>
358 </activity>
359
360 <activity
361 android:name=".ContactsLiveFolders$StarredContacts"
362 android:label="@string/liveFolderFavorites"
Romain Guy4eb77b62009-03-24 18:10:17 -0700363 android:icon="@drawable/ic_launcher_folder_live_contacts_starred">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800364 <intent-filter>
365 <action android:name="android.intent.action.CREATE_LIVE_FOLDER" />
366 <category android:name="android.intent.category.DEFAULT" />
367 </intent-filter>
368 </activity>
369
370 <activity
371 android:name=".ContactsLiveFolders$PhoneContacts"
372 android:label="@string/liveFolderPhone"
Romain Guy4eb77b62009-03-24 18:10:17 -0700373 android:icon="@drawable/ic_launcher_folder_live_contacts_phone">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800374 <intent-filter>
375 <action android:name="android.intent.action.CREATE_LIVE_FOLDER" />
376 <category android:name="android.intent.category.DEFAULT" />
377 </intent-filter>
378 </activity>
379
380 </application>
381</manifest>
382
383
384