blob: 470d7ebe975f9463452e1d89cd3a842792641a1f [file] [log] [blame]
The Android Open Source Project146de362009-03-03 19:32:18 -08001<?xml version="1.0" encoding="utf-8"?>
2<!--
3/* //device/apps/Calendar/AndroidManifest.xml
4**
5** Copyright 2006, The Android Open Source Project
6**
Michael Chane2ae1ef2009-11-18 18:37:09 -08007** Licensed under the Apache License, Version 2.0 (the "License");
8** you may not use this file except in compliance with the License.
9** You may obtain a copy of the License at
The Android Open Source Project146de362009-03-03 19:32:18 -080010**
Michael Chane2ae1ef2009-11-18 18:37:09 -080011** http://www.apache.org/licenses/LICENSE-2.0
The Android Open Source Project146de362009-03-03 19:32:18 -080012**
Michael Chane2ae1ef2009-11-18 18:37:09 -080013** Unless required by applicable law or agreed to in writing, software
14** distributed under the License is distributed on an "AS IS" BASIS,
15** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16** See the License for the specific language governing permissions and
The Android Open Source Project146de362009-03-03 19:32:18 -080017** limitations under the License.
18*/
19-->
20<manifest xmlns:android="http://schemas.android.com/apk/res/android"
21 package="com.android.calendar"
The Android Open Source Project146de362009-03-03 19:32:18 -080022 android:sharedUserLabel="@string/app_label">
23
Jeff Hamiltona17725e2010-02-16 18:28:16 -060024 <!--
25 NOTE: and original-package cannot be used, since the Eclair
26 version was using a shared user ID with the provider.
27 -->
Jeff Hamiltonc78d2d22010-02-11 16:25:47 -060028
Jeff Hamiltona17725e2010-02-16 18:28:16 -060029 <uses-permission android:name="android.permission.GET_ACCOUNTS" />
The Android Open Source Project146de362009-03-03 19:32:18 -080030 <uses-permission android:name="android.permission.INTERNET" />
31 <uses-permission android:name="android.permission.VIBRATE"/>
Michael Chan47f3f702009-07-23 16:01:07 -070032 <uses-permission android:name="android.permission.READ_CONTACTS"/>
The Android Open Source Project146de362009-03-03 19:32:18 -080033 <uses-permission android:name="android.permission.READ_CALENDAR" />
34 <uses-permission android:name="android.permission.WRITE_CALENDAR" />
35 <uses-permission android:name="android.permission.WAKE_LOCK" />
Fred Quintana13719582009-07-22 20:01:03 -070036 <uses-permission android:name="android.permission.USE_CREDENTIALS" />
Erik6b858fc2010-09-15 18:59:04 -070037 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
The Android Open Source Project146de362009-03-03 19:32:18 -080038 <uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH.mail" />
39
40 <application android:name="CalendarApplication"
41 android:label="@string/app_label" android:icon="@drawable/app_icon"
Erikc29b2d32010-10-26 10:51:31 -070042 android:taskAffinity="android.task.calendar"
43 android:hardwareAccelerated="false" >
The Android Open Source Project146de362009-03-03 19:32:18 -080044
Michael Chand6734db2010-07-22 00:48:08 -070045 <activity
46 android:name="AllInOneActivity"
47 android:theme="@style/CalendarTheme.WithActionBar">
48 </activity>
49
50 <activity-alias android:name="LaunchActivity"
51 android:targetActivity=".AllInOneActivity">
The Android Open Source Project146de362009-03-03 19:32:18 -080052 <intent-filter>
53 <action android:name="android.intent.action.MAIN" />
54 <category android:name="android.intent.category.DEFAULT" />
55 <category android:name="android.intent.category.LAUNCHER" />
56 </intent-filter>
Erik1ef7f3a2010-02-24 14:46:03 -080057 <intent-filter>
58 <action android:name="android.intent.action.VIEW" />
59 <category android:name="android.intent.category.DEFAULT" />
60 <data android:mimeType="time/epoch" />
61 <data android:host="com.android.calendar" />
62 <data android:scheme="content"/>
63 </intent-filter>
Erik5f620792010-10-27 12:42:01 -070064 </activity-alias>
65
66 <activity android:name=".event.EditEventActivity"
67 android:theme="@style/CalendarTheme.WithActionBar">
68 </activity>
69
70 <activity-alias android:name="EditEventActivity"
71 android:targetActivity=".event.EditEventActivity">
The Android Open Source Project146de362009-03-03 19:32:18 -080072 <intent-filter>
73 <action android:name="android.intent.action.EDIT" />
74 <category android:name="android.intent.category.DEFAULT" />
75 <data android:mimeType="vnd.android.cursor.item/event" />
76 </intent-filter>
Erik5f620792010-10-27 12:42:01 -070077 <intent-filter>
78 <action android:name="android.intent.action.EDIT" />
79 <category android:name="android.intent.category.DEFAULT" />
80 <data android:mimeType="vnd.android.cursor.dir/event" />
81 </intent-filter>
Erikdd95df52010-08-27 09:31:18 -070082 </activity-alias>
Michael Chane2ae1ef2009-11-18 18:37:09 -080083
The Android Open Source Project146de362009-03-03 19:32:18 -080084 <activity android:name="EventInfoActivity" android:label="@string/event_info_title"
Mason Tang1df2ca62010-08-18 16:10:25 -070085 android:theme="@style/CalendarTheme.WithActionBar"
The Android Open Source Project146de362009-03-03 19:32:18 -080086 android:configChanges="orientation|keyboardHidden">
Michael Chane2ae1ef2009-11-18 18:37:09 -080087
The Android Open Source Project146de362009-03-03 19:32:18 -080088 <intent-filter>
89 <action android:name="android.intent.action.VIEW" />
90 <category android:name="android.intent.category.DEFAULT" />
91 <data android:mimeType="vnd.android.cursor.item/event" />
92 </intent-filter>
93 </activity>
Michael Chanb84a1512009-07-07 13:39:33 -070094
Michael Chan66988c62009-09-16 15:17:57 -070095 <activity android:name="GoogleCalendarUriIntentFilter" android:label="@string/app_label"
Michael Chanb84a1512009-07-07 13:39:33 -070096 android:theme="@android:style/Theme.Light"
97 android:configChanges="orientation|keyboardHidden">
98
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:scheme="http" android:host="www.google.com" android:pathPrefix="/calendar/event" />
104 <data android:scheme="https" android:host="www.google.com" android:pathPrefix="/calendar/event" />
105 <data android:scheme="http" android:host="www.google.com" android:pathPattern="/calendar/hosted/.*/event" />
106 <data android:scheme="https" android:host="www.google.com" android:pathPattern="/calendar/hosted/.*/event" />
107 </intent-filter>
108 </activity>
109
The Android Open Source Project146de362009-03-03 19:32:18 -0800110 <activity android:name="SelectCalendarsActivity" android:label="@string/calendars_title" />
Erik7c92a472010-10-01 15:52:00 -0700111 <activity android:name="CalendarSettingsActivity" android:label="@string/preferences_title"
112 android:theme="@android:style/Theme.Light.Holo"/>
Mason Tang9138ce82010-06-28 11:08:46 -0700113
Mason Tang3a0e67b2010-08-23 16:59:30 -0700114 <!-- Declarations for search -->
115 <!-- Make all activities a searchable context -->
116 <meta-data android:name="android.app.default_searchable"
117 android:value="com.android.calendar.SearchActivity"/>
118
Mason Tang9138ce82010-06-28 11:08:46 -0700119 <activity android:name="SearchActivity" android:label="@string/search_title"
Mason Tang1df2ca62010-08-18 16:10:25 -0700120 android:launchMode="singleTop" android:theme="@style/CalendarTheme.WithActionBar">
Mason Tang9138ce82010-06-28 11:08:46 -0700121 <intent-filter>
122 <action android:name="android.intent.action.SEARCH"/>
123 </intent-filter>
124 <meta-data android:name="android.app.searchable" android:resource="@xml/searchable"/>
125 </activity>
126
Mason Tang3a0e67b2010-08-23 16:59:30 -0700127 <provider android:name=".CalendarRecentSuggestionsProvider"
128 android:authorities="com.android.calendar.CalendarRecentSuggestionsProvider" />
129
Mason Tang23e7da32010-07-27 15:24:02 -0700130 <!-- Declarations for alerts/reminders -->
131 <activity android:name=".alerts.AlertActivity" android:launchMode="singleInstance"
The Android Open Source Project7abd8562009-03-05 14:34:37 -0800132 android:theme="@android:style/Theme.Light" android:excludeFromRecents="true" />
Mason Tang23e7da32010-07-27 15:24:02 -0700133
134 <receiver android:name=".alerts.AlertReceiver">
The Android Open Source Project146de362009-03-03 19:32:18 -0800135 <intent-filter>
136 <action android:name="android.intent.action.EVENT_REMINDER" />
Michael Chane2ae1ef2009-11-18 18:37:09 -0800137 <action android:name="android.intent.action.LOCALE_CHANGED" />
The Android Open Source Project146de362009-03-03 19:32:18 -0800138 <action android:name="android.intent.action.BOOT_COMPLETED" />
139 <action android:name="android.intent.action.TIME_SET" />
Erik320dfc12010-03-17 16:37:18 -0700140 <data android:scheme="content" />
The Android Open Source Project146de362009-03-03 19:32:18 -0800141 </intent-filter>
142 </receiver>
143
Mason Tang23e7da32010-07-27 15:24:02 -0700144 <service android:name=".alerts.AlertService" />
The Android Open Source Project146de362009-03-03 19:32:18 -0800145
Mason Tang23e7da32010-07-27 15:24:02 -0700146 <service android:name=".alerts.DismissAllAlarmsService" />
The Android Open Source Project3cfe2e52009-03-13 13:04:24 -0700147
Mason Tangbb3f08a2010-06-22 17:03:54 -0700148 <!-- Declarations for the widget -->
Mason Tang9a3cb142010-07-27 12:16:41 -0700149 <receiver android:name=".widget.CalendarAppWidgetReceiver" android:enabled="false">
Mason Tangbb3f08a2010-06-22 17:03:54 -0700150 <intent-filter>
151 <action android:name="android.intent.action.TIMEZONE_CHANGED" />
152 <action android:name="android.intent.action.TIME_SET" />
153 <action android:name="android.intent.action.DATE_CHANGED" />
154 </intent-filter>
155 <intent-filter>
156 <data android:scheme="content" android:host="com.android.calendar"/>
157 <action android:name="android.intent.action.PROVIDER_CHANGED"/>
158 </intent-filter>
159 </receiver>
160
Mason Tang9a3cb142010-07-27 12:16:41 -0700161 <receiver android:name=".widget.CalendarAppWidgetProvider" android:label="@string/gadget_title">
Mason Tangbb3f08a2010-06-22 17:03:54 -0700162 <intent-filter>
163 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
164 <action android:name="com.android.calendar.APPWIDGET_UPDATE" />
165 </intent-filter>
166 <meta-data android:name="android.appwidget.provider" android:resource="@xml/appwidget_info" />
167 </receiver>
168
Mason Tang47d40322010-08-09 10:57:05 -0700169 <service android:name=".widget.CalendarAppWidgetService" android:exported="true"/>
Mason Tangbb3f08a2010-06-22 17:03:54 -0700170
The Android Open Source Project146de362009-03-03 19:32:18 -0800171 <activity android:name="CalendarTests" android:label="Calendar Tests">
172 <intent-filter>
173 <action android:name="android.intent.action.MAIN" />
174 <category android:name="android.intent.category.UNIT_TEST" />
175 </intent-filter>
176 </activity>
Michael Chanbed02752010-04-27 10:56:53 -0700177
178 <service android:name=".AsyncQueryServiceHelper" />
179
The Android Open Source Project146de362009-03-03 19:32:18 -0800180 </application>
181</manifest>
182