blob: 14e5fb06a1ce1f21f20e315efa088fc33a865b82 [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" />
221 <data android:mimeType="vnd.android.cursor.dir/person" />
222 <data android:mimeType="vnd.android.cursor.dir/phone" />
223 <data android:mimeType="vnd.android.cursor.dir/postal-address" />
224 </intent-filter>
225
226 <intent-filter>
227 <action android:name="android.intent.action.GET_CONTENT" />
228 <category android:name="android.intent.category.DEFAULT" />
229 <data android:mimeType="vnd.android.cursor.item/person" />
230 <data android:mimeType="vnd.android.cursor.item/phone" />
231 <data android:mimeType="vnd.android.cursor.item/postal-address" />
232 </intent-filter>
233
234 <intent-filter>
235 <action android:name="android.intent.action.SEARCH" />
236 <category android:name="android.intent.category.DEFAULT" />
237 </intent-filter>
238
The Android Open Source Project37a16ac2009-03-18 17:39:48 -0700239 <meta-data android:name="android.app.searchable"
240 android:resource="@xml/searchable"
241 />
242 </activity>
243
244 <activity android:name="ShowOrCreateActivity"
245 android:theme="@android:style/Theme.Translucent.NoTitleBar">
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700246 <intent-filter>
247 <action android:name="com.android.contacts.action.SHOW_OR_CREATE_CONTACT" />
248 <data android:scheme="mailto" />
249 <data android:scheme="tel" />
250 <category android:name="android.intent.category.DEFAULT" />
251 </intent-filter>
Jeff Sharkey3f177592009-05-18 15:23:12 -0700252
253 <intent-filter>
254 <action android:name="com.android.contacts.action.SHOW_OR_CREATE_CONTACT" />
255 <category android:name="android.intent.category.DEFAULT" />
256 <data android:mimeType="vnd.android.cursor.item/person_aggregate" />
257 </intent-filter>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800258 </activity>
259
260 <activity-alias android:name="ContactShortcut"
261 android:targetActivity="ContactsListActivity"
Romain Guy4eb77b62009-03-24 18:10:17 -0700262 android:label="@string/shortcutContact"
263 android:icon="@drawable/ic_launcher_shortcut_contact">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800264
265 <intent-filter>
266 <action android:name="android.intent.action.CREATE_SHORTCUT" />
267 <category android:name="android.intent.category.DEFAULT" />
268 </intent-filter>
269
270 </activity-alias>
271
272 <activity android:name="CallDetailActivity"
273 android:label="@string/callDetailTitle"
Romain Guy4eb77b62009-03-24 18:10:17 -0700274 android:theme="@style/TallTitleBarTheme"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800275 >
276 <intent-filter>
277 <action android:name="android.intent.action.VIEW" />
278 <category android:name="android.intent.category.DEFAULT" />
279 <data android:mimeType="vnd.android.cursor.item/calls" />
280 </intent-filter>
281 </activity>
282
283 <!-- Views the details of a single contact -->
284 <activity android:name="ViewContactActivity"
285 android:label="@string/viewContactTitle"
Romain Guy4eb77b62009-03-24 18:10:17 -0700286 android:theme="@style/TallTitleBarTheme"
Evan Millar66388be2009-05-28 15:41:07 -0700287 >
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800288 <intent-filter android:label="@string/viewContactDesription">
289 <action android:name="android.intent.action.VIEW" />
290 <category android:name="android.intent.category.DEFAULT" />
Evan Millar66388be2009-05-28 15:41:07 -0700291 <data android:mimeType="vnd.android.cursor.item/person_aggregate" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800292 </intent-filter>
293 </activity>
294
295 <!-- Edits the details of a single contact -->
296 <activity android:name="EditContactActivity"
297 android:windowSoftInputMode="stateVisible|adjustResize">
298 <intent-filter android:label="@string/editContactDescription">
299 <action android:name="android.intent.action.EDIT" />
300 <category android:name="android.intent.category.DEFAULT" />
Evan Millar7e4accf2009-06-08 10:43:26 -0700301 <data android:mimeType="vnd.android.cursor.item/person_aggregate" />
302 </intent-filter>
303 <intent-filter android:label="@string/insertContactDescription">
304 <action android:name="android.intent.action.INSERT" />
305 <category android:name="android.intent.category.DEFAULT" />
306 <data android:mimeType="vnd.android.cursor.item/person_aggregate" />
307 </intent-filter>
308
309 <intent-filter android:label="@string/editContactDescription">
310 <action android:name="android.intent.action.EDIT" />
311 <category android:name="android.intent.category.DEFAULT" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800312 <data android:mimeType="vnd.android.cursor.item/person" />
313 </intent-filter>
314 <intent-filter android:label="@string/insertContactDescription">
315 <action android:name="android.intent.action.INSERT" />
316 <category android:name="android.intent.category.DEFAULT" />
317 <data android:mimeType="vnd.android.cursor.dir/person" />
318 </intent-filter>
319 </activity>
320
321 <!-- Attaches a photo to a contact. Started from external applications -->
322 <activity android:name="AttachImage"
323 android:label="@string/attachToContact"
324 android:taskAffinity="">
325 <intent-filter>
326 <action android:name="android.intent.action.ATTACH_DATA" />
327 <data android:mimeType="image/*" />
328 <category android:name="android.intent.category.DEFAULT" />
329 </intent-filter>
330 />
331 </activity>
332
333 <!-- Activity used to select the groups that should be synced -->
334 <activity android:name="ContactsGroupSyncSelector"
335 android:label="@string/seclectSyncGroups_title"
336 />
337
338 <!-- Makes .ContactsListActivity the search target for any activity in Contacts -->
339 <meta-data android:name="android.app.default_searchable"
340 android:value=".ContactsListActivity" />
341
342
343 <!-- LIVE FOLDERS -->
344 <activity
345 android:name=".ContactsLiveFolders$AllContacts"
346 android:label="@string/liveFolderAll"
Romain Guy4eb77b62009-03-24 18:10:17 -0700347 android:icon="@drawable/ic_launcher_folder_live_contacts">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800348 <intent-filter>
349 <action android:name="android.intent.action.CREATE_LIVE_FOLDER" />
350 <category android:name="android.intent.category.DEFAULT" />
351 </intent-filter>
352 </activity>
353
354 <activity
355 android:name=".ContactsLiveFolders$StarredContacts"
356 android:label="@string/liveFolderFavorites"
Romain Guy4eb77b62009-03-24 18:10:17 -0700357 android:icon="@drawable/ic_launcher_folder_live_contacts_starred">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800358 <intent-filter>
359 <action android:name="android.intent.action.CREATE_LIVE_FOLDER" />
360 <category android:name="android.intent.category.DEFAULT" />
361 </intent-filter>
362 </activity>
363
364 <activity
365 android:name=".ContactsLiveFolders$PhoneContacts"
366 android:label="@string/liveFolderPhone"
Romain Guy4eb77b62009-03-24 18:10:17 -0700367 android:icon="@drawable/ic_launcher_folder_live_contacts_phone">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800368 <intent-filter>
369 <action android:name="android.intent.action.CREATE_LIVE_FOLDER" />
370 <category android:name="android.intent.category.DEFAULT" />
371 </intent-filter>
372 </activity>
373
374 </application>
375</manifest>
376
377
378