blob: d32e4097207d43d93da99e0cd55f1977cbec65a7 [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" />
The Android Open Source Project146de362009-03-03 19:32:18 -080037 <uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH.mail" />
38
39 <application android:name="CalendarApplication"
40 android:label="@string/app_label" android:icon="@drawable/app_icon"
41 android:taskAffinity="android.task.calendar">
42 <!-- TODO: Remove dependency of application on the test runner
43 (android.test) library. -->
44 <uses-library android:name="android.test.runner" />
45
Michael Chand6734db2010-07-22 00:48:08 -070046 <activity
47 android:name="AllInOneActivity"
48 android:theme="@style/CalendarTheme.WithActionBar">
49 </activity>
50
51 <activity-alias android:name="LaunchActivity"
52 android:targetActivity=".AllInOneActivity">
The Android Open Source Project146de362009-03-03 19:32:18 -080053 <intent-filter>
54 <action android:name="android.intent.action.MAIN" />
55 <category android:name="android.intent.category.DEFAULT" />
56 <category android:name="android.intent.category.LAUNCHER" />
57 </intent-filter>
Erik1ef7f3a2010-02-24 14:46:03 -080058 <intent-filter>
59 <action android:name="android.intent.action.VIEW" />
60 <category android:name="android.intent.category.DEFAULT" />
61 <data android:mimeType="time/epoch" />
62 <data android:host="com.android.calendar" />
63 <data android:scheme="content"/>
64 </intent-filter>
Michael Chand6734db2010-07-22 00:48:08 -070065 </activity-alias>
Michael Chan49701592010-06-30 11:04:03 -070066
Mason Tang9138ce82010-06-28 11:08:46 -070067 <!-- Make all activities a searchable context -->
68 <meta-data android:name="android.app.default_searchable"
Mason Tang50c41092010-07-23 16:08:45 -070069 android:value="com.android.calendar.SearchActivity"/>
Mason Tang9138ce82010-06-28 11:08:46 -070070
Erikeca82e92010-06-11 14:05:00 -070071 <activity android:name="EditEventActivity" android:label="@string/event_edit_title"
Michael Chan47f3f702009-07-23 16:01:07 -070072 android:theme="@android:style/Theme"
The Android Open Source Project146de362009-03-03 19:32:18 -080073 android:configChanges="orientation|keyboardHidden">
Michael Chane2ae1ef2009-11-18 18:37:09 -080074
The Android Open Source Project146de362009-03-03 19:32:18 -080075 <intent-filter>
76 <action android:name="android.intent.action.EDIT" />
77 <category android:name="android.intent.category.DEFAULT" />
78 <data android:mimeType="vnd.android.cursor.item/event" />
79 </intent-filter>
80 </activity>
Michael Chane2ae1ef2009-11-18 18:37:09 -080081
The Android Open Source Project146de362009-03-03 19:32:18 -080082 <activity android:name="EventInfoActivity" android:label="@string/event_info_title"
Michael Chandc0125c2009-03-24 19:26:33 -070083 android:theme="@android:style/Theme.Light"
The Android Open Source Project146de362009-03-03 19:32:18 -080084 android:configChanges="orientation|keyboardHidden">
Michael Chane2ae1ef2009-11-18 18:37:09 -080085
The Android Open Source Project146de362009-03-03 19:32:18 -080086 <intent-filter>
87 <action android:name="android.intent.action.VIEW" />
88 <category android:name="android.intent.category.DEFAULT" />
89 <data android:mimeType="vnd.android.cursor.item/event" />
90 </intent-filter>
91 </activity>
Michael Chanb84a1512009-07-07 13:39:33 -070092
Michael Chan66988c62009-09-16 15:17:57 -070093 <activity android:name="GoogleCalendarUriIntentFilter" android:label="@string/app_label"
Michael Chanb84a1512009-07-07 13:39:33 -070094 android:theme="@android:style/Theme.Light"
95 android:configChanges="orientation|keyboardHidden">
96
97 <intent-filter>
98 <action android:name="android.intent.action.VIEW" />
99 <category android:name="android.intent.category.DEFAULT" />
100 <category android:name="android.intent.category.BROWSABLE" />
101 <data android:scheme="http" android:host="www.google.com" android:pathPrefix="/calendar/event" />
102 <data android:scheme="https" android:host="www.google.com" android:pathPrefix="/calendar/event" />
103 <data android:scheme="http" android:host="www.google.com" android:pathPattern="/calendar/hosted/.*/event" />
104 <data android:scheme="https" android:host="www.google.com" android:pathPattern="/calendar/hosted/.*/event" />
105 </intent-filter>
106 </activity>
107
The Android Open Source Project146de362009-03-03 19:32:18 -0800108 <activity android:name="SelectCalendarsActivity" android:label="@string/calendars_title" />
109 <activity android:name="CalendarPreferenceActivity" android:label="@string/preferences_title" />
Mason Tang9138ce82010-06-28 11:08:46 -0700110
111 <activity android:name="SearchActivity" android:label="@string/search_title"
112 android:launchMode="singleTop" android:theme="@android:style/Theme.Light">
113 <intent-filter>
114 <action android:name="android.intent.action.SEARCH"/>
115 </intent-filter>
116 <meta-data android:name="android.app.searchable" android:resource="@xml/searchable"/>
117 </activity>
118
Mason Tang23e7da32010-07-27 15:24:02 -0700119 <!-- Declarations for alerts/reminders -->
120 <activity android:name=".alerts.AlertActivity" android:launchMode="singleInstance"
The Android Open Source Project7abd8562009-03-05 14:34:37 -0800121 android:theme="@android:style/Theme.Light" android:excludeFromRecents="true" />
Mason Tang23e7da32010-07-27 15:24:02 -0700122
123 <receiver android:name=".alerts.AlertReceiver">
The Android Open Source Project146de362009-03-03 19:32:18 -0800124 <intent-filter>
125 <action android:name="android.intent.action.EVENT_REMINDER" />
Michael Chane2ae1ef2009-11-18 18:37:09 -0800126 <action android:name="android.intent.action.LOCALE_CHANGED" />
The Android Open Source Project146de362009-03-03 19:32:18 -0800127 <action android:name="android.intent.action.BOOT_COMPLETED" />
128 <action android:name="android.intent.action.TIME_SET" />
Erik320dfc12010-03-17 16:37:18 -0700129 <data android:scheme="content" />
The Android Open Source Project146de362009-03-03 19:32:18 -0800130 </intent-filter>
131 </receiver>
132
Mason Tang23e7da32010-07-27 15:24:02 -0700133 <service android:name=".alerts.AlertService" />
The Android Open Source Project146de362009-03-03 19:32:18 -0800134
Mason Tang23e7da32010-07-27 15:24:02 -0700135 <service android:name=".alerts.DismissAllAlarmsService" />
The Android Open Source Project3cfe2e52009-03-13 13:04:24 -0700136
Mason Tangbb3f08a2010-06-22 17:03:54 -0700137 <!-- Declarations for the widget -->
Mason Tang9a3cb142010-07-27 12:16:41 -0700138 <receiver android:name=".widget.CalendarAppWidgetReceiver" android:enabled="false">
Mason Tangbb3f08a2010-06-22 17:03:54 -0700139 <intent-filter>
140 <action android:name="android.intent.action.TIMEZONE_CHANGED" />
141 <action android:name="android.intent.action.TIME_SET" />
142 <action android:name="android.intent.action.DATE_CHANGED" />
143 </intent-filter>
144 <intent-filter>
145 <data android:scheme="content" android:host="com.android.calendar"/>
146 <action android:name="android.intent.action.PROVIDER_CHANGED"/>
147 </intent-filter>
148 </receiver>
149
Mason Tang9a3cb142010-07-27 12:16:41 -0700150 <receiver android:name=".widget.CalendarAppWidgetProvider" android:label="@string/gadget_title">
Mason Tangbb3f08a2010-06-22 17:03:54 -0700151 <intent-filter>
152 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
153 <action android:name="com.android.calendar.APPWIDGET_UPDATE" />
154 </intent-filter>
155 <meta-data android:name="android.appwidget.provider" android:resource="@xml/appwidget_info" />
156 </receiver>
157
Mason Tang9a3cb142010-07-27 12:16:41 -0700158 <service android:name=".widget.CalendarAppWidgetService" />
Mason Tangbb3f08a2010-06-22 17:03:54 -0700159
The Android Open Source Project146de362009-03-03 19:32:18 -0800160 <activity android:name="CalendarTests" android:label="Calendar Tests">
161 <intent-filter>
162 <action android:name="android.intent.action.MAIN" />
163 <category android:name="android.intent.category.UNIT_TEST" />
164 </intent-filter>
165 </activity>
Michael Chanbed02752010-04-27 10:56:53 -0700166
167 <service android:name=".AsyncQueryServiceHelper" />
168
The Android Open Source Project146de362009-03-03 19:32:18 -0800169 </application>
170</manifest>
171