Code drop from //branches/cupcake/...@124589
[android/platform/packages/apps/Calendar.git] / AndroidManifest.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 /* //device/apps/Calendar/AndroidManifest.xml
4 **
5 ** Copyright 2006, The Android Open Source Project
6 **
7 ** 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 
10 **
11 **     http://www.apache.org/licenses/LICENSE-2.0 
12 **
13 ** 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 
17 ** limitations under the License.
18 */
19 -->
20 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
21         package="com.android.calendar"
22         android:sharedUserId="android.uid.calendar">
23
24     <uses-permission android:name="android.permission.INTERNET" />
25     <uses-permission android:name="android.permission.VIBRATE"/>
26     <uses-permission android:name="android.permission.READ_CALENDAR" />
27     <uses-permission android:name="android.permission.WRITE_CALENDAR" />
28     <uses-permission android:name="android.permission.WAKE_LOCK" />
29     <uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH.mail" />
30
31     <application android:name="CalendarApplication"
32             android:label="@string/app_label" android:icon="@drawable/app_icon"
33             android:taskAffinity="android.task.calendar">
34         <!-- TODO: Remove dependency of application on the test runner
35              (android.test) library. -->
36         <uses-library android:name="android.test.runner" />
37
38         <activity android:name="LaunchActivity">
39             <intent-filter>
40                 <action android:name="android.intent.action.MAIN" />
41                 <category android:name="android.intent.category.DEFAULT" />
42                 <category android:name="android.intent.category.LAUNCHER" />
43             </intent-filter>
44         </activity>
45
46         <activity android:name="MonthActivity" android:label="@string/month_view"
47             android:theme="@android:style/Theme.NoTitleBar" />
48         <activity android:name="WeekActivity" android:label="@string/week_view"
49             android:theme="@android:style/Theme.NoTitleBar" />
50         <activity android:name="DayActivity" android:label="@string/day_view"
51             android:theme="@android:style/Theme.NoTitleBar" />
52         <activity android:name="AgendaActivity" android:label="@string/agenda_view" />
53         
54         <activity android:name="EditEvent" android:label="@string/event_edit_title"
55             android:configChanges="orientation|keyboardHidden">
56             
57             <intent-filter>
58                 <action android:name="android.intent.action.EDIT" />
59                 <category android:name="android.intent.category.DEFAULT" />
60                 <data android:mimeType="vnd.android.cursor.item/event" />
61             </intent-filter>
62         </activity>
63         
64         <activity android:name="EventInfoActivity" android:label="@string/event_info_title"
65             android:configChanges="orientation|keyboardHidden">
66             
67             <intent-filter>
68                 <action android:name="android.intent.action.VIEW" />
69                 <category android:name="android.intent.category.DEFAULT" />
70                 <data android:mimeType="vnd.android.cursor.item/event" />
71             </intent-filter>
72         </activity>
73         <activity android:name="SelectCalendarsActivity" android:label="@string/calendars_title" />
74         <activity android:name="CalendarPreferenceActivity" android:label="@string/preferences_title" />
75         <activity android:name="AlertActivity" android:launchMode="singleInstance"
76              android:theme="@style/Alert" android:excludeFromRecents="true" />
77         <receiver android:name="AlertReceiver">
78             <intent-filter>
79                 <action android:name="android.intent.action.EVENT_REMINDER" />
80                 <data android:mimeType="vnd.android.cursor.item/calendar-alert" />
81             </intent-filter>
82             <intent-filter>
83                 <action android:name="android.intent.action.BOOT_COMPLETED" />
84                 <action android:name="android.intent.action.TIME_SET" />
85             </intent-filter>
86         </receiver>
87
88         <service android:name="AlertService" />
89
90         <activity android:name="CalendarTests" android:label="Calendar Tests">
91             <intent-filter>
92                  <action android:name="android.intent.action.MAIN" />
93                  <category android:name="android.intent.category.UNIT_TEST" />
94             </intent-filter>
95         </activity>
96     </application>
97 </manifest>
98