blob: 4d347867ac854907a473e6699497bca9a0d4f402 [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" />
29
30 <application
31 android:label="@string/contactsList"
32 android:icon="@drawable/ic_launcher_contacts"
33 android:process="android.process.acore"
34 android:taskAffinity="android.task.contacts"
35 >
36
37 <!-- A virtual 12 key dialer -->
38 <activity android:name="TwelveKeyDialer"
39 android:launchMode="singleTop"
40 >
41 <intent-filter>
42 <action android:name="com.android.phone.action.TOUCH_DIALER" />
43 <category android:name="android.intent.category.DEFAULT" />
44 <category android:name="android.intent.category.TAB" />
45 </intent-filter>
46 </activity>
47
48 <!-- A list of recent calls -->
49 <activity android:name="RecentCallsListActivity"
50 android:label="@string/recentCallsIconLabel"
51 >
52 <intent-filter>
53 <action android:name="com.android.phone.action.RECENT_CALLS" />
54 <category android:name="android.intent.category.DEFAULT" />
55 <category android:name="android.intent.category.TAB" />
56 </intent-filter>
57 </activity>
58
59 <!-- Tab container for TwelveKeyDialer and RecentCallsList -->
Dmitri Plotnikov032bb362009-05-06 17:05:39 -070060 <activity android:name="DialerActivity"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080061 android:label="@string/launcherDialer"
62 android:theme="@android:style/Theme.NoTitleBar"
63 android:launchMode="singleTask"
64 android:clearTaskOnLaunch="true"
65 android:icon="@drawable/ic_launcher_phone"
66 android:screenOrientation="nosensor"
67 >
68 <intent-filter>
69 <action android:name="android.intent.action.DIAL" />
70 <category android:name="android.intent.category.DEFAULT" />
71 <category android:name="android.intent.category.BROWSABLE" />
72 <data android:mimeType="vnd.android.cursor.item/phone" />
73 <data android:mimeType="vnd.android.cursor.item/person" />
74 </intent-filter>
75 <intent-filter>
76 <action android:name="android.intent.action.DIAL" />
77 <category android:name="android.intent.category.DEFAULT" />
78 <category android:name="android.intent.category.BROWSABLE" />
79 <data android:scheme="voicemail" />
80 </intent-filter>
81 <intent-filter>
82 <action android:name="android.intent.action.DIAL" />
83 <category android:name="android.intent.category.DEFAULT" />
84 </intent-filter>
85 <intent-filter>
86 <action android:name="android.intent.action.MAIN" />
87 <category android:name="android.intent.category.DEFAULT" />
88 <category android:name="android.intent.category.LAUNCHER" />
89 <category android:name="android.intent.category.BROWSABLE" />
90 </intent-filter>
91 <intent-filter>
92 <action android:name="android.intent.action.VIEW" />
93 <action android:name="android.intent.action.DIAL" />
94 <category android:name="android.intent.category.DEFAULT" />
95 <category android:name="android.intent.category.BROWSABLE" />
96 <data android:scheme="tel" />
97 </intent-filter>
98 <intent-filter>
99 <action android:name="android.intent.action.VIEW" />
100 <category android:name="android.intent.category.DEFAULT" />
101 <category android:name="android.intent.category.BROWSABLE" />
102 <data android:mimeType="vnd.android.cursor.dir/calls" />
103 </intent-filter>
104 <intent-filter>
105 <action android:name="android.intent.action.CALL_BUTTON" />
106 <category android:name="android.intent.category.DEFAULT" />
107 <category android:name="android.intent.category.BROWSABLE" />
108 </intent-filter>
109 </activity>
Jeff Sharkey26c7e732009-04-01 17:30:46 -0700110
Dmitri Plotnikov032bb362009-05-06 17:05:39 -0700111 <!-- An alias for compatibility -->
112 <activity-alias android:name="DialtactsActivity"
113 android:targetActivity="DialerActivity"
114 >
115 </activity-alias>
116
117 <!-- Tab container for Activity Stream and Contacts -->
118 <activity android:name="ContactsActivity"
Jeff Hamilton7f805bf2009-05-21 16:16:35 -0700119 android:label="@string/contactsList"
Dmitri Plotnikov1693c642009-05-20 16:16:03 -0700120 android:theme="@android:style/Theme.NoTitleBar"
Dmitri Plotnikov032bb362009-05-06 17:05:39 -0700121 android:launchMode="singleTask"
122 android:clearTaskOnLaunch="true"
123 android:icon="@drawable/ic_launcher_contacts"
124 android:screenOrientation="nosensor"
125 >
126 <intent-filter>
127 <action android:name="android.intent.action.MAIN" />
128 <category android:name="android.intent.category.DEFAULT" />
129 <category android:name="android.intent.category.LAUNCHER" />
130 <category android:name="android.intent.category.BROWSABLE" />
131 </intent-filter>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800132
133 <intent-filter>
134 <action android:name="android.intent.action.VIEW" />
135 <category android:name="android.intent.category.DEFAULT" />
136 <data android:mimeType="vnd.android.cursor.dir/person" />
137 </intent-filter>
Jeff Sharkey26c7e732009-04-01 17:30:46 -0700138
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800139 <intent-filter>
140 <action android:name="com.android.contacts.action.FILTER_CONTACTS" />
141 <category android:name="android.intent.category.DEFAULT" />
142 </intent-filter>
Jeff Hamilton7f805bf2009-05-21 16:16:35 -0700143 </activity>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800144
The Android Open Source Project1f620962009-03-09 11:52:14 -0700145 <!-- An empty activity that presents the DialtactActivity's Favorites tab -->
146 <activity-alias android:name="DialtactsFavoritesEntryActivity"
Dmitri Plotnikov032bb362009-05-06 17:05:39 -0700147 android:targetActivity="ContactsActivity"
The Android Open Source Project1f620962009-03-09 11:52:14 -0700148 >
149 <intent-filter>
150 <action android:name="android.intent.action.MAIN" />
151 <category android:name="android.intent.category.DEFAULT" />
152 </intent-filter>
153 </activity-alias>
Jeff Sharkey26c7e732009-04-01 17:30:46 -0700154
Dmitri Plotnikov06191cd2009-05-07 14:11:52 -0700155 <!-- Activity stream list -->
Dmitri Plotnikov3a0e2592009-05-11 17:49:53 -0700156 <activity android:name="SocialStreamActivity">
Dmitri Plotnikov06191cd2009-05-07 14:11:52 -0700157 <intent-filter>
Dmitri Plotnikov3a0e2592009-05-11 17:49:53 -0700158 <action android:name="com.android.contacts.action.SOCIAL_STREAM" />
Dmitri Plotnikov06191cd2009-05-07 14:11:52 -0700159 <category android:name="android.intent.category.DEFAULT" />
160 <category android:name="android.intent.category.TAB" />
161 </intent-filter>
162 </activity>
163
164
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800165 <!-- The actual list of contacts, usually embedded in ContactsActivity -->
166 <activity android:name="ContactsListActivity"
167 android:label="@string/contactsList"
168 android:clearTaskOnLaunch="true"
169 >
170 <intent-filter>
171 <action android:name="com.android.contacts.action.LIST_DEFAULT" />
172 <category android:name="android.intent.category.DEFAULT" />
173 <category android:name="android.intent.category.TAB" />
174 </intent-filter>
175
176 <intent-filter>
177 <action android:name="com.android.contacts.action.LIST_CONTACTS" />
178 <category android:name="android.intent.category.DEFAULT" />
179 <category android:name="android.intent.category.TAB" />
180 </intent-filter>
181
182 <intent-filter>
183 <action android:name="com.android.contacts.action.LIST_ALL_CONTACTS" />
184 <category android:name="android.intent.category.DEFAULT" />
185 <category android:name="android.intent.category.TAB" />
186 </intent-filter>
187
188 <intent-filter>
189 <action android:name="com.android.contacts.action.LIST_CONTACTS_WITH_PHONES" />
190 <category android:name="android.intent.category.DEFAULT" />
191 <category android:name="android.intent.category.TAB" />
192 </intent-filter>
193
194 <intent-filter android:label="@string/starredList">
195 <action android:name="com.android.contacts.action.LIST_STARRED" />
196 <category android:name="android.intent.category.DEFAULT" />
197 <category android:name="android.intent.category.TAB" />
198 </intent-filter>
Jeff Sharkey26c7e732009-04-01 17:30:46 -0700199
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800200 <intent-filter android:label="@string/frequentList">
201 <action android:name="com.android.contacts.action.LIST_FREQUENT" />
202 <category android:name="android.intent.category.DEFAULT" />
203 <category android:name="android.intent.category.TAB" />
204 </intent-filter>
205
206 <intent-filter android:label="@string/strequentList">
207 <action android:name="com.android.contacts.action.LIST_STREQUENT" />
208 <category android:name="android.intent.category.DEFAULT" />
209 <category android:name="android.intent.category.TAB" />
210 </intent-filter>
211
212 <intent-filter>
Dmitri Plotnikov49f705f2009-06-17 18:31:56 -0700213 <action android:name="com.android.contacts.action.JOIN_AGGREGATE" />
214 <category android:name="android.intent.category.DEFAULT" />
215 </intent-filter>
216
217 <intent-filter>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800218 <action android:name="android.intent.action.INSERT_OR_EDIT" />
219 <category android:name="android.intent.category.DEFAULT" />
220 <data android:mimeType="vnd.android.cursor.item/person" />
221 </intent-filter>
Jeff Sharkey26c7e732009-04-01 17:30:46 -0700222
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800223 <intent-filter>
224 <action android:name="android.intent.action.PICK" />
225 <category android:name="android.intent.category.DEFAULT" />
Evan Millarf249bc62009-06-09 16:05:18 -0700226 <data android:mimeType="vnd.android.cursor.dir/person_aggregate" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800227 <data android:mimeType="vnd.android.cursor.dir/person" />
228 <data android:mimeType="vnd.android.cursor.dir/phone" />
229 <data android:mimeType="vnd.android.cursor.dir/postal-address" />
230 </intent-filter>
231
232 <intent-filter>
233 <action android:name="android.intent.action.GET_CONTENT" />
234 <category android:name="android.intent.category.DEFAULT" />
235 <data android:mimeType="vnd.android.cursor.item/person" />
236 <data android:mimeType="vnd.android.cursor.item/phone" />
237 <data android:mimeType="vnd.android.cursor.item/postal-address" />
238 </intent-filter>
239
240 <intent-filter>
241 <action android:name="android.intent.action.SEARCH" />
242 <category android:name="android.intent.category.DEFAULT" />
243 </intent-filter>
244
The Android Open Source Project37a16ac2009-03-18 17:39:48 -0700245 <meta-data android:name="android.app.searchable"
246 android:resource="@xml/searchable"
247 />
248 </activity>
249
250 <activity android:name="ShowOrCreateActivity"
251 android:theme="@android:style/Theme.Translucent.NoTitleBar">
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700252 <intent-filter>
253 <action android:name="com.android.contacts.action.SHOW_OR_CREATE_CONTACT" />
254 <data android:scheme="mailto" />
255 <data android:scheme="tel" />
256 <category android:name="android.intent.category.DEFAULT" />
257 </intent-filter>
Jeff Sharkey3f177592009-05-18 15:23:12 -0700258
259 <intent-filter>
260 <action android:name="com.android.contacts.action.SHOW_OR_CREATE_CONTACT" />
261 <category android:name="android.intent.category.DEFAULT" />
262 <data android:mimeType="vnd.android.cursor.item/person_aggregate" />
263 </intent-filter>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800264 </activity>
265
266 <activity-alias android:name="ContactShortcut"
267 android:targetActivity="ContactsListActivity"
Romain Guy4eb77b62009-03-24 18:10:17 -0700268 android:label="@string/shortcutContact"
269 android:icon="@drawable/ic_launcher_shortcut_contact">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800270
271 <intent-filter>
272 <action android:name="android.intent.action.CREATE_SHORTCUT" />
273 <category android:name="android.intent.category.DEFAULT" />
274 </intent-filter>
275
276 </activity-alias>
277
278 <activity android:name="CallDetailActivity"
279 android:label="@string/callDetailTitle"
Romain Guy4eb77b62009-03-24 18:10:17 -0700280 android:theme="@style/TallTitleBarTheme"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800281 >
282 <intent-filter>
283 <action android:name="android.intent.action.VIEW" />
284 <category android:name="android.intent.category.DEFAULT" />
285 <data android:mimeType="vnd.android.cursor.item/calls" />
286 </intent-filter>
287 </activity>
288
289 <!-- Views the details of a single contact -->
290 <activity android:name="ViewContactActivity"
291 android:label="@string/viewContactTitle"
Romain Guy4eb77b62009-03-24 18:10:17 -0700292 android:theme="@style/TallTitleBarTheme"
Evan Millar66388be2009-05-28 15:41:07 -0700293 >
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800294 <intent-filter android:label="@string/viewContactDesription">
295 <action android:name="android.intent.action.VIEW" />
296 <category android:name="android.intent.category.DEFAULT" />
Evan Millar66388be2009-05-28 15:41:07 -0700297 <data android:mimeType="vnd.android.cursor.item/person_aggregate" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800298 </intent-filter>
299 </activity>
300
301 <!-- Edits the details of a single contact -->
302 <activity android:name="EditContactActivity"
303 android:windowSoftInputMode="stateVisible|adjustResize">
304 <intent-filter android:label="@string/editContactDescription">
305 <action android:name="android.intent.action.EDIT" />
306 <category android:name="android.intent.category.DEFAULT" />
Evan Millar7e4accf2009-06-08 10:43:26 -0700307 <data android:mimeType="vnd.android.cursor.item/person_aggregate" />
308 </intent-filter>
309 <intent-filter android:label="@string/insertContactDescription">
310 <action android:name="android.intent.action.INSERT" />
311 <category android:name="android.intent.category.DEFAULT" />
312 <data android:mimeType="vnd.android.cursor.item/person_aggregate" />
313 </intent-filter>
314
315 <intent-filter android:label="@string/editContactDescription">
316 <action android:name="android.intent.action.EDIT" />
317 <category android:name="android.intent.category.DEFAULT" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800318 <data android:mimeType="vnd.android.cursor.item/person" />
319 </intent-filter>
320 <intent-filter android:label="@string/insertContactDescription">
321 <action android:name="android.intent.action.INSERT" />
322 <category android:name="android.intent.category.DEFAULT" />
323 <data android:mimeType="vnd.android.cursor.dir/person" />
324 </intent-filter>
325 </activity>
326
327 <!-- 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