OSDN Git Service

Initial implementation of guest invitation and status
[android-x86/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         android:sharedUserLabel="@string/app_label">
24
25     <uses-permission android:name="android.permission.INTERNET" />
26     <uses-permission android:name="android.permission.VIBRATE"/>
27     <uses-permission android:name="android.permission.READ_CONTACTS"/>
28     <uses-permission android:name="android.permission.READ_CALENDAR" />
29     <uses-permission android:name="android.permission.WRITE_CALENDAR" />
30     <uses-permission android:name="android.permission.WAKE_LOCK" />
31     <uses-permission android:name="android.permission.USE_CREDENTIALS" />
32     <uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH.mail" />
33
34     <application android:name="CalendarApplication"
35             android:label="@string/app_label" android:icon="@drawable/app_icon"
36             android:taskAffinity="android.task.calendar">
37         <!-- TODO: Remove dependency of application on the test runner
38              (android.test) library. -->
39         <uses-library android:name="android.test.runner" />
40
41         <activity android:name="LaunchActivity"
42             android:theme="@android:style/Theme.Light"
43             android:clearTaskOnLaunch="true">
44             <intent-filter>
45                 <action android:name="android.intent.action.MAIN" />
46                 <category android:name="android.intent.category.DEFAULT" />
47                 <category android:name="android.intent.category.LAUNCHER" />
48             </intent-filter>
49         </activity>
50
51         <activity android:name="MonthActivity" android:label="@string/month_view"
52             android:theme="@style/CalendarTheme" />
53         <activity android:name="WeekActivity" android:label="@string/week_view"
54             android:theme="@style/CalendarTheme" />
55         <activity android:name="DayActivity" android:label="@string/day_view"
56             android:theme="@style/CalendarTheme" />
57         <activity android:name="AgendaActivity" android:label="@string/agenda_view" 
58             android:theme="@android:style/Theme.Light"
59             android:exported="true" />
60         
61         <activity android:name="EditEvent" android:label="@string/event_edit_title"
62             android:theme="@android:style/Theme"
63             android:configChanges="orientation|keyboardHidden">
64             
65             <intent-filter>
66                 <action android:name="android.intent.action.EDIT" />
67                 <category android:name="android.intent.category.DEFAULT" />
68                 <data android:mimeType="vnd.android.cursor.item/event" />
69             </intent-filter>
70         </activity>
71         
72         <activity android:name="EventInfoActivity" android:label="@string/event_info_title"
73             android:theme="@android:style/Theme.Light"
74             android:configChanges="orientation|keyboardHidden">
75             
76             <intent-filter>
77                 <action android:name="android.intent.action.VIEW" />
78                 <category android:name="android.intent.category.DEFAULT" />
79                 <data android:mimeType="vnd.android.cursor.item/event" />
80             </intent-filter>
81         </activity>
82
83         <activity android:name="GoogleCalendarUriIntentFilter" android:label="@string/event_info_title"
84             android:theme="@android:style/Theme.Light"
85             android:configChanges="orientation|keyboardHidden">
86
87             <intent-filter>
88                <action android:name="android.intent.action.VIEW" />
89                <category android:name="android.intent.category.DEFAULT" />
90                <category android:name="android.intent.category.BROWSABLE" />
91                <data android:scheme="http" android:host="www.google.com" android:pathPrefix="/calendar/event" />
92                <data android:scheme="https" android:host="www.google.com" android:pathPrefix="/calendar/event" />
93                <data android:scheme="http" android:host="www.google.com" android:pathPattern="/calendar/hosted/.*/event" />
94                <data android:scheme="https" android:host="www.google.com" android:pathPattern="/calendar/hosted/.*/event" />
95             </intent-filter>
96         </activity>
97
98         <activity android:name="SelectCalendarsActivity" android:label="@string/calendars_title" />
99         <activity android:name="CalendarPreferenceActivity" android:label="@string/preferences_title" />
100         <activity android:name="AlertActivity" android:launchMode="singleInstance"
101              android:theme="@android:style/Theme.Light" android:excludeFromRecents="true" />
102         <receiver android:name="AlertReceiver">
103             <intent-filter>
104                 <action android:name="android.intent.action.EVENT_REMINDER" />
105                 <data android:mimeType="vnd.android.cursor.item/calendar-alert" />
106             </intent-filter>
107             <intent-filter>
108                 <action android:name="android.intent.action.BOOT_COMPLETED" />
109                 <action android:name="android.intent.action.TIME_SET" />
110             </intent-filter>
111         </receiver>
112
113         <service android:name="AlertService" />
114
115         <service android:name="DismissAllAlarmsService" />
116
117         <activity android:name="CalendarTests" android:label="Calendar Tests">
118             <intent-filter>
119                  <action android:name="android.intent.action.MAIN" />
120                  <category android:name="android.intent.category.UNIT_TEST" />
121             </intent-filter>
122         </activity>
123     </application>
124 </manifest>
125