blob: b37ba3aaab6f82a1fcaa1fb9f84067327120ec10 [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
The Android Open Source Project37a16ac2009-03-18 17:39:48 -0700236 <activity android:name="ShowOrCreateActivity"
237 android:theme="@android:style/Theme.Translucent.NoTitleBar">
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700238 <intent-filter>
239 <action android:name="com.android.contacts.action.SHOW_OR_CREATE_CONTACT" />
240 <data android:scheme="mailto" />
241 <data android:scheme="tel" />
242 <category android:name="android.intent.category.DEFAULT" />
243 </intent-filter>
Jeff Sharkey3f177592009-05-18 15:23:12 -0700244
245 <intent-filter>
246 <action android:name="com.android.contacts.action.SHOW_OR_CREATE_CONTACT" />
247 <category android:name="android.intent.category.DEFAULT" />
Jeff Hamiltona8ccbd42009-07-29 16:36:28 -0500248 <data android:mimeType="vnd.android.cursor.item/contact" />
Jeff Sharkey3f177592009-05-18 15:23:12 -0700249 </intent-filter>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800250 </activity>
251
252 <activity-alias android:name="ContactShortcut"
253 android:targetActivity="ContactsListActivity"
Romain Guy4eb77b62009-03-24 18:10:17 -0700254 android:label="@string/shortcutContact"
255 android:icon="@drawable/ic_launcher_shortcut_contact">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800256
257 <intent-filter>
258 <action android:name="android.intent.action.CREATE_SHORTCUT" />
259 <category android:name="android.intent.category.DEFAULT" />
260 </intent-filter>
261
262 </activity-alias>
263
264 <activity android:name="CallDetailActivity"
265 android:label="@string/callDetailTitle"
Romain Guy4eb77b62009-03-24 18:10:17 -0700266 android:theme="@style/TallTitleBarTheme"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800267 >
268 <intent-filter>
269 <action android:name="android.intent.action.VIEW" />
270 <category android:name="android.intent.category.DEFAULT" />
271 <data android:mimeType="vnd.android.cursor.item/calls" />
272 </intent-filter>
273 </activity>
Evan Millar7911ff52009-07-21 15:55:18 -0700274
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800275 <!-- Views the details of a single contact -->
276 <activity android:name="ViewContactActivity"
277 android:label="@string/viewContactTitle"
Romain Guy4eb77b62009-03-24 18:10:17 -0700278 android:theme="@style/TallTitleBarTheme"
Evan Millar66388be2009-05-28 15:41:07 -0700279 >
Evan Millar7911ff52009-07-21 15:55:18 -0700280 <intent-filter android:label="@string/viewContactDesription">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800281 <action android:name="android.intent.action.VIEW" />
282 <category android:name="android.intent.category.DEFAULT" />
Jeff Hamiltona8ccbd42009-07-29 16:36:28 -0500283 <data android:mimeType="vnd.android.cursor.item/contact" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800284 </intent-filter>
285 </activity>
286
287 <!-- Edits the details of a single contact -->
Jeff Sharkey2ae666e2009-07-21 19:30:57 -0700288 <activity android:name=".ui.EditContactActivity"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800289 android:windowSoftInputMode="stateVisible|adjustResize">
290 <intent-filter android:label="@string/editContactDescription">
291 <action android:name="android.intent.action.EDIT" />
292 <category android:name="android.intent.category.DEFAULT" />
Jeff Hamiltona8ccbd42009-07-29 16:36:28 -0500293 <data android:mimeType="vnd.android.cursor.item/contact" />
Evan Millar7e4accf2009-06-08 10:43:26 -0700294 </intent-filter>
295 <intent-filter android:label="@string/insertContactDescription">
296 <action android:name="android.intent.action.INSERT" />
297 <category android:name="android.intent.category.DEFAULT" />
Jeff Hamiltona8ccbd42009-07-29 16:36:28 -0500298 <data android:mimeType="vnd.android.cursor.item/contact" />
Evan Millar7e4accf2009-06-08 10:43:26 -0700299 </intent-filter>
300
301 <intent-filter android:label="@string/editContactDescription">
302 <action android:name="android.intent.action.EDIT" />
303 <category android:name="android.intent.category.DEFAULT" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800304 <data android:mimeType="vnd.android.cursor.item/person" />
305 </intent-filter>
306 <intent-filter android:label="@string/insertContactDescription">
307 <action android:name="android.intent.action.INSERT" />
308 <category android:name="android.intent.category.DEFAULT" />
309 <data android:mimeType="vnd.android.cursor.dir/person" />
310 </intent-filter>
311 </activity>
312
Dmitri Plotnikovef038722009-06-24 18:51:47 -0700313 <!-- Views the details of a single contact -->
314 <activity android:name="ContactOptionsActivity"
315 android:label="@string/contactOptionsTitle"
316 >
317 <intent-filter>
318 <action android:name="android.intent.action.EDIT" />
319 <category android:name="android.intent.category.DEFAULT" />
320 </intent-filter>
321 </activity>
322
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800323 <!-- Attaches a photo to a contact. Started from external applications -->
324 <activity android:name="AttachImage"
325 android:label="@string/attachToContact"
326 android:taskAffinity="">
327 <intent-filter>
328 <action android:name="android.intent.action.ATTACH_DATA" />
329 <data android:mimeType="image/*" />
330 <category android:name="android.intent.category.DEFAULT" />
331 </intent-filter>
332 />
333 </activity>
334
335 <!-- Activity used to select the groups that should be synced -->
336 <activity android:name="ContactsGroupSyncSelector"
337 android:label="@string/seclectSyncGroups_title"
338 />
339
340 <!-- Makes .ContactsListActivity the search target for any activity in Contacts -->
341 <meta-data android:name="android.app.default_searchable"
342 android:value=".ContactsListActivity" />
343
344
345 <!-- LIVE FOLDERS -->
346 <activity
347 android:name=".ContactsLiveFolders$AllContacts"
348 android:label="@string/liveFolderAll"
Romain Guy4eb77b62009-03-24 18:10:17 -0700349 android:icon="@drawable/ic_launcher_folder_live_contacts">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800350 <intent-filter>
351 <action android:name="android.intent.action.CREATE_LIVE_FOLDER" />
352 <category android:name="android.intent.category.DEFAULT" />
353 </intent-filter>
354 </activity>
355
356 <activity
357 android:name=".ContactsLiveFolders$StarredContacts"
358 android:label="@string/liveFolderFavorites"
Romain Guy4eb77b62009-03-24 18:10:17 -0700359 android:icon="@drawable/ic_launcher_folder_live_contacts_starred">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800360 <intent-filter>
361 <action android:name="android.intent.action.CREATE_LIVE_FOLDER" />
362 <category android:name="android.intent.category.DEFAULT" />
363 </intent-filter>
364 </activity>
365
366 <activity
367 android:name=".ContactsLiveFolders$PhoneContacts"
368 android:label="@string/liveFolderPhone"
Romain Guy4eb77b62009-03-24 18:10:17 -0700369 android:icon="@drawable/ic_launcher_folder_live_contacts_phone">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800370 <intent-filter>
371 <action android:name="android.intent.action.CREATE_LIVE_FOLDER" />
372 <category android:name="android.intent.category.DEFAULT" />
373 </intent-filter>
374 </activity>
375
376 </application>
377</manifest>
378
379
380