blob: 041d1ca46100accc1058b221d7a8dd916da8705f [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" />
Evan Millar0a40ffa2009-06-18 16:49:08 -0700220 <data android:mimeType="vnd.android.cursor.item/person_aggregate" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800221 <data android:mimeType="vnd.android.cursor.item/person" />
222 </intent-filter>
Jeff Sharkey26c7e732009-04-01 17:30:46 -0700223
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800224 <intent-filter>
225 <action android:name="android.intent.action.PICK" />
226 <category android:name="android.intent.category.DEFAULT" />
Evan Millarf249bc62009-06-09 16:05:18 -0700227 <data android:mimeType="vnd.android.cursor.dir/person_aggregate" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800228 <data android:mimeType="vnd.android.cursor.dir/person" />
229 <data android:mimeType="vnd.android.cursor.dir/phone" />
230 <data android:mimeType="vnd.android.cursor.dir/postal-address" />
231 </intent-filter>
232
233 <intent-filter>
234 <action android:name="android.intent.action.GET_CONTENT" />
235 <category android:name="android.intent.category.DEFAULT" />
Evan Millar0a40ffa2009-06-18 16:49:08 -0700236 <data android:mimeType="vnd.android.cursor.item/person_aggregate" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800237 <data android:mimeType="vnd.android.cursor.item/person" />
238 <data android:mimeType="vnd.android.cursor.item/phone" />
239 <data android:mimeType="vnd.android.cursor.item/postal-address" />
240 </intent-filter>
241
242 <intent-filter>
243 <action android:name="android.intent.action.SEARCH" />
244 <category android:name="android.intent.category.DEFAULT" />
245 </intent-filter>
246
The Android Open Source Project37a16ac2009-03-18 17:39:48 -0700247 <meta-data android:name="android.app.searchable"
248 android:resource="@xml/searchable"
249 />
250 </activity>
251
252 <activity android:name="ShowOrCreateActivity"
253 android:theme="@android:style/Theme.Translucent.NoTitleBar">
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700254 <intent-filter>
255 <action android:name="com.android.contacts.action.SHOW_OR_CREATE_CONTACT" />
256 <data android:scheme="mailto" />
257 <data android:scheme="tel" />
258 <category android:name="android.intent.category.DEFAULT" />
259 </intent-filter>
Jeff Sharkey3f177592009-05-18 15:23:12 -0700260
261 <intent-filter>
262 <action android:name="com.android.contacts.action.SHOW_OR_CREATE_CONTACT" />
263 <category android:name="android.intent.category.DEFAULT" />
264 <data android:mimeType="vnd.android.cursor.item/person_aggregate" />
265 </intent-filter>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800266 </activity>
267
268 <activity-alias android:name="ContactShortcut"
269 android:targetActivity="ContactsListActivity"
Romain Guy4eb77b62009-03-24 18:10:17 -0700270 android:label="@string/shortcutContact"
271 android:icon="@drawable/ic_launcher_shortcut_contact">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800272
273 <intent-filter>
274 <action android:name="android.intent.action.CREATE_SHORTCUT" />
275 <category android:name="android.intent.category.DEFAULT" />
276 </intent-filter>
277
278 </activity-alias>
279
280 <activity android:name="CallDetailActivity"
281 android:label="@string/callDetailTitle"
Romain Guy4eb77b62009-03-24 18:10:17 -0700282 android:theme="@style/TallTitleBarTheme"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800283 >
284 <intent-filter>
285 <action android:name="android.intent.action.VIEW" />
286 <category android:name="android.intent.category.DEFAULT" />
287 <data android:mimeType="vnd.android.cursor.item/calls" />
288 </intent-filter>
289 </activity>
290
291 <!-- Views the details of a single contact -->
292 <activity android:name="ViewContactActivity"
293 android:label="@string/viewContactTitle"
Romain Guy4eb77b62009-03-24 18:10:17 -0700294 android:theme="@style/TallTitleBarTheme"
Evan Millar66388be2009-05-28 15:41:07 -0700295 >
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800296 <intent-filter android:label="@string/viewContactDesription">
297 <action android:name="android.intent.action.VIEW" />
298 <category android:name="android.intent.category.DEFAULT" />
Evan Millar66388be2009-05-28 15:41:07 -0700299 <data android:mimeType="vnd.android.cursor.item/person_aggregate" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800300 </intent-filter>
301 </activity>
302
303 <!-- Edits the details of a single contact -->
304 <activity android:name="EditContactActivity"
305 android:windowSoftInputMode="stateVisible|adjustResize">
306 <intent-filter android:label="@string/editContactDescription">
307 <action android:name="android.intent.action.EDIT" />
308 <category android:name="android.intent.category.DEFAULT" />
Evan Millar7e4accf2009-06-08 10:43:26 -0700309 <data android:mimeType="vnd.android.cursor.item/person_aggregate" />
310 </intent-filter>
311 <intent-filter android:label="@string/insertContactDescription">
312 <action android:name="android.intent.action.INSERT" />
313 <category android:name="android.intent.category.DEFAULT" />
314 <data android:mimeType="vnd.android.cursor.item/person_aggregate" />
315 </intent-filter>
316
317 <intent-filter android:label="@string/editContactDescription">
318 <action android:name="android.intent.action.EDIT" />
319 <category android:name="android.intent.category.DEFAULT" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800320 <data android:mimeType="vnd.android.cursor.item/person" />
321 </intent-filter>
322 <intent-filter android:label="@string/insertContactDescription">
323 <action android:name="android.intent.action.INSERT" />
324 <category android:name="android.intent.category.DEFAULT" />
325 <data android:mimeType="vnd.android.cursor.dir/person" />
326 </intent-filter>
327 </activity>
328
329 <!-- Attaches a photo to a contact. Started from external applications -->
330 <activity android:name="AttachImage"
331 android:label="@string/attachToContact"
332 android:taskAffinity="">
333 <intent-filter>
334 <action android:name="android.intent.action.ATTACH_DATA" />
335 <data android:mimeType="image/*" />
336 <category android:name="android.intent.category.DEFAULT" />
337 </intent-filter>
338 />
339 </activity>
340
341 <!-- Activity used to select the groups that should be synced -->
342 <activity android:name="ContactsGroupSyncSelector"
343 android:label="@string/seclectSyncGroups_title"
344 />
345
346 <!-- Makes .ContactsListActivity the search target for any activity in Contacts -->
347 <meta-data android:name="android.app.default_searchable"
348 android:value=".ContactsListActivity" />
349
350
351 <!-- LIVE FOLDERS -->
352 <activity
353 android:name=".ContactsLiveFolders$AllContacts"
354 android:label="@string/liveFolderAll"
Romain Guy4eb77b62009-03-24 18:10:17 -0700355 android:icon="@drawable/ic_launcher_folder_live_contacts">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800356 <intent-filter>
357 <action android:name="android.intent.action.CREATE_LIVE_FOLDER" />
358 <category android:name="android.intent.category.DEFAULT" />
359 </intent-filter>
360 </activity>
361
362 <activity
363 android:name=".ContactsLiveFolders$StarredContacts"
364 android:label="@string/liveFolderFavorites"
Romain Guy4eb77b62009-03-24 18:10:17 -0700365 android:icon="@drawable/ic_launcher_folder_live_contacts_starred">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800366 <intent-filter>
367 <action android:name="android.intent.action.CREATE_LIVE_FOLDER" />
368 <category android:name="android.intent.category.DEFAULT" />
369 </intent-filter>
370 </activity>
371
372 <activity
373 android:name=".ContactsLiveFolders$PhoneContacts"
374 android:label="@string/liveFolderPhone"
Romain Guy4eb77b62009-03-24 18:10:17 -0700375 android:icon="@drawable/ic_launcher_folder_live_contacts_phone">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800376 <intent-filter>
377 <action android:name="android.intent.action.CREATE_LIVE_FOLDER" />
378 <category android:name="android.intent.category.DEFAULT" />
379 </intent-filter>
380 </activity>
381
382 </application>
383</manifest>
384
385
386