blob: 809c82a4ffdf43774c2e92e1b501555789f5848e [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>
213 <action android:name="android.intent.action.INSERT_OR_EDIT" />
214 <category android:name="android.intent.category.DEFAULT" />
215 <data android:mimeType="vnd.android.cursor.item/person" />
216 </intent-filter>
Jeff Sharkey26c7e732009-04-01 17:30:46 -0700217
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800218 <intent-filter>
219 <action android:name="android.intent.action.PICK" />
220 <category android:name="android.intent.category.DEFAULT" />
Evan Millarf249bc62009-06-09 16:05:18 -0700221 <data android:mimeType="vnd.android.cursor.dir/person_aggregate" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800222 <data android:mimeType="vnd.android.cursor.dir/person" />
223 <data android:mimeType="vnd.android.cursor.dir/phone" />
224 <data android:mimeType="vnd.android.cursor.dir/postal-address" />
225 </intent-filter>
226
227 <intent-filter>
228 <action android:name="android.intent.action.GET_CONTENT" />
229 <category android:name="android.intent.category.DEFAULT" />
230 <data android:mimeType="vnd.android.cursor.item/person" />
231 <data android:mimeType="vnd.android.cursor.item/phone" />
232 <data android:mimeType="vnd.android.cursor.item/postal-address" />
233 </intent-filter>
234
235 <intent-filter>
236 <action android:name="android.intent.action.SEARCH" />
237 <category android:name="android.intent.category.DEFAULT" />
238 </intent-filter>
239
The Android Open Source Project37a16ac2009-03-18 17:39:48 -0700240 <meta-data android:name="android.app.searchable"
241 android:resource="@xml/searchable"
242 />
243 </activity>
244
245 <activity android:name="ShowOrCreateActivity"
246 android:theme="@android:style/Theme.Translucent.NoTitleBar">
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700247 <intent-filter>
248 <action android:name="com.android.contacts.action.SHOW_OR_CREATE_CONTACT" />
249 <data android:scheme="mailto" />
250 <data android:scheme="tel" />
251 <category android:name="android.intent.category.DEFAULT" />
252 </intent-filter>
Jeff Sharkey3f177592009-05-18 15:23:12 -0700253
254 <intent-filter>
255 <action android:name="com.android.contacts.action.SHOW_OR_CREATE_CONTACT" />
256 <category android:name="android.intent.category.DEFAULT" />
257 <data android:mimeType="vnd.android.cursor.item/person_aggregate" />
258 </intent-filter>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800259 </activity>
260
261 <activity-alias android:name="ContactShortcut"
262 android:targetActivity="ContactsListActivity"
Romain Guy4eb77b62009-03-24 18:10:17 -0700263 android:label="@string/shortcutContact"
264 android:icon="@drawable/ic_launcher_shortcut_contact">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800265
266 <intent-filter>
267 <action android:name="android.intent.action.CREATE_SHORTCUT" />
268 <category android:name="android.intent.category.DEFAULT" />
269 </intent-filter>
270
271 </activity-alias>
272
273 <activity android:name="CallDetailActivity"
274 android:label="@string/callDetailTitle"
Romain Guy4eb77b62009-03-24 18:10:17 -0700275 android:theme="@style/TallTitleBarTheme"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800276 >
277 <intent-filter>
278 <action android:name="android.intent.action.VIEW" />
279 <category android:name="android.intent.category.DEFAULT" />
280 <data android:mimeType="vnd.android.cursor.item/calls" />
281 </intent-filter>
282 </activity>
283
284 <!-- Views the details of a single contact -->
285 <activity android:name="ViewContactActivity"
286 android:label="@string/viewContactTitle"
Romain Guy4eb77b62009-03-24 18:10:17 -0700287 android:theme="@style/TallTitleBarTheme"
Evan Millar66388be2009-05-28 15:41:07 -0700288 >
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800289 <intent-filter android:label="@string/viewContactDesription">
290 <action android:name="android.intent.action.VIEW" />
291 <category android:name="android.intent.category.DEFAULT" />
Evan Millar66388be2009-05-28 15:41:07 -0700292 <data android:mimeType="vnd.android.cursor.item/person_aggregate" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800293 </intent-filter>
294 </activity>
295
296 <!-- Edits the details of a single contact -->
297 <activity android:name="EditContactActivity"
298 android:windowSoftInputMode="stateVisible|adjustResize">
299 <intent-filter android:label="@string/editContactDescription">
300 <action android:name="android.intent.action.EDIT" />
301 <category android:name="android.intent.category.DEFAULT" />
Evan Millar7e4accf2009-06-08 10:43:26 -0700302 <data android:mimeType="vnd.android.cursor.item/person_aggregate" />
303 </intent-filter>
304 <intent-filter android:label="@string/insertContactDescription">
305 <action android:name="android.intent.action.INSERT" />
306 <category android:name="android.intent.category.DEFAULT" />
307 <data android:mimeType="vnd.android.cursor.item/person_aggregate" />
308 </intent-filter>
309
310 <intent-filter android:label="@string/editContactDescription">
311 <action android:name="android.intent.action.EDIT" />
312 <category android:name="android.intent.category.DEFAULT" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800313 <data android:mimeType="vnd.android.cursor.item/person" />
314 </intent-filter>
315 <intent-filter android:label="@string/insertContactDescription">
316 <action android:name="android.intent.action.INSERT" />
317 <category android:name="android.intent.category.DEFAULT" />
318 <data android:mimeType="vnd.android.cursor.dir/person" />
319 </intent-filter>
320 </activity>
321
322 <!-- Attaches a photo to a contact. Started from external applications -->
323 <activity android:name="AttachImage"
324 android:label="@string/attachToContact"
325 android:taskAffinity="">
326 <intent-filter>
327 <action android:name="android.intent.action.ATTACH_DATA" />
328 <data android:mimeType="image/*" />
329 <category android:name="android.intent.category.DEFAULT" />
330 </intent-filter>
331 />
332 </activity>
333
334 <!-- Activity used to select the groups that should be synced -->
335 <activity android:name="ContactsGroupSyncSelector"
336 android:label="@string/seclectSyncGroups_title"
337 />
338
339 <!-- Makes .ContactsListActivity the search target for any activity in Contacts -->
340 <meta-data android:name="android.app.default_searchable"
341 android:value=".ContactsListActivity" />
342
343
344 <!-- LIVE FOLDERS -->
345 <activity
346 android:name=".ContactsLiveFolders$AllContacts"
347 android:label="@string/liveFolderAll"
Romain Guy4eb77b62009-03-24 18:10:17 -0700348 android:icon="@drawable/ic_launcher_folder_live_contacts">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800349 <intent-filter>
350 <action android:name="android.intent.action.CREATE_LIVE_FOLDER" />
351 <category android:name="android.intent.category.DEFAULT" />
352 </intent-filter>
353 </activity>
354
355 <activity
356 android:name=".ContactsLiveFolders$StarredContacts"
357 android:label="@string/liveFolderFavorites"
Romain Guy4eb77b62009-03-24 18:10:17 -0700358 android:icon="@drawable/ic_launcher_folder_live_contacts_starred">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800359 <intent-filter>
360 <action android:name="android.intent.action.CREATE_LIVE_FOLDER" />
361 <category android:name="android.intent.category.DEFAULT" />
362 </intent-filter>
363 </activity>
364
365 <activity
366 android:name=".ContactsLiveFolders$PhoneContacts"
367 android:label="@string/liveFolderPhone"
Romain Guy4eb77b62009-03-24 18:10:17 -0700368 android:icon="@drawable/ic_launcher_folder_live_contacts_phone">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800369 <intent-filter>
370 <action android:name="android.intent.action.CREATE_LIVE_FOLDER" />
371 <category android:name="android.intent.category.DEFAULT" />
372 </intent-filter>
373 </activity>
374
375 </application>
376</manifest>
377
378
379