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:sharedUserLabel="@string/app_label"> 23 24 <!-- 25 NOTE: and original-package cannot be used, since the Eclair 26 version was using a shared user ID with the provider. 27 --> 28 29 <uses-permission android:name="android.permission.GET_ACCOUNTS" /> 30 <uses-permission android:name="android.permission.INTERNET" /> 31 <uses-permission android:name="android.permission.VIBRATE"/> 32 <uses-permission android:name="android.permission.READ_CONTACTS"/> 33 <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" /> 36 <uses-permission android:name="android.permission.USE_CREDENTIALS" /> 37 <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 46 <activity android:name="LaunchActivity" 47 android:theme="@android:style/Theme.NoDisplay"> 48 <intent-filter> 49 <action android:name="android.intent.action.MAIN" /> 50 <category android:name="android.intent.category.DEFAULT" /> 51 <category android:name="android.intent.category.LAUNCHER" /> 52 </intent-filter> 53 <intent-filter> 54 <action android:name="android.intent.action.VIEW" /> 55 <category android:name="android.intent.category.DEFAULT" /> 56 <data android:mimeType="time/epoch" /> 57 <data android:host="com.android.calendar" /> 58 <data android:scheme="content"/> 59 </intent-filter> 60 </activity> 61 62 <activity android:name="MonthActivity" android:label="@string/month_view" 63 android:theme="@style/CalendarTheme" /> 64 <activity android:name="WeekActivity" android:label="@string/week_view" 65 android:theme="@style/CalendarTheme" /> 66 <activity android:name="DayActivity" android:label="@string/day_view" 67 android:theme="@style/CalendarTheme" /> 68 <activity android:name="AgendaActivity" android:label="@string/agenda_view" 69 android:theme="@android:style/Theme.Light" 70 android:exported="true" /> 71 72 <activity android:name="EditEvent" android:label="@string/event_edit_title" 73 android:theme="@android:style/Theme" 74 android:configChanges="orientation|keyboardHidden"> 75 76 <intent-filter> 77 <action android:name="android.intent.action.EDIT" /> 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="EventInfoActivity" 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 <data android:mimeType="vnd.android.cursor.item/event" /> 91 </intent-filter> 92 </activity> 93 94 <activity android:name="GoogleCalendarUriIntentFilter" android:label="@string/app_label" 95 android:theme="@android:style/Theme.Light" 96 android:configChanges="orientation|keyboardHidden"> 97 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:scheme="http" android:host="www.google.com" android:pathPrefix="/calendar/event" /> 103 <data android:scheme="https" android:host="www.google.com" android:pathPrefix="/calendar/event" /> 104 <data android:scheme="http" android:host="www.google.com" android:pathPattern="/calendar/hosted/.*/event" /> 105 <data android:scheme="https" android:host="www.google.com" android:pathPattern="/calendar/hosted/.*/event" /> 106 </intent-filter> 107 </activity> 108 109 <activity android:name="SelectCalendarsActivity" android:label="@string/calendars_title" /> 110 <activity android:name="CalendarPreferenceActivity" android:label="@string/preferences_title" /> 111 <activity android:name="AlertActivity" android:launchMode="singleInstance" 112 android:theme="@android:style/Theme.Light" android:excludeFromRecents="true" /> 113 <receiver android:name="AlertReceiver"> 114 <intent-filter> 115 <action android:name="android.intent.action.EVENT_REMINDER" /> 116 <action android:name="android.intent.action.LOCALE_CHANGED" /> 117 <action android:name="android.intent.action.BOOT_COMPLETED" /> 118 <action android:name="android.intent.action.TIME_SET" /> 119 <data android:scheme="content" /> 120 </intent-filter> 121 </receiver> 122 123 <service android:name="AlertService" /> 124 125 <service android:name="DismissAllAlarmsService" /> 126 127 <activity android:name="CalendarTests" android:label="Calendar Tests"> 128 <intent-filter> 129 <action android:name="android.intent.action.MAIN" /> 130 <category android:name="android.intent.category.UNIT_TEST" /> 131 </intent-filter> 132 </activity> 133 </application> 134</manifest> 135 136