The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 1 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
Daniel Sandler | fa95424 | 2009-10-16 16:12:30 -0400 | [diff] [blame] | 2 | package="com.android.deskclock"> |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 3 | |
| 4 | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> |
| 5 | <uses-permission android:name="android.permission.WAKE_LOCK"/> |
| 6 | <uses-permission android:name="android.permission.VIBRATE"/> |
| 7 | <uses-permission android:name="android.permission.WRITE_SETTINGS" /> |
| 8 | <uses-permission android:name="android.permission.DISABLE_KEYGUARD" /> |
Patrick Scott | 3175f15 | 2009-09-03 16:13:26 -0400 | [diff] [blame] | 9 | <uses-permission android:name="android.permission.READ_PHONE_STATE" /> |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 10 | |
| 11 | <application android:label="@string/app_label" |
| 12 | android:icon="@drawable/ic_launcher_alarmclock"> |
| 13 | |
Daniel Sandler | fa95424 | 2009-10-16 16:12:30 -0400 | [diff] [blame] | 14 | <provider android:name="AlarmProvider" android:authorities="com.android.deskclock" /> |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 15 | |
Daniel Sandler | f8317ad | 2009-10-20 16:51:32 -0400 | [diff] [blame] | 16 | <activity android:name="DeskClock" |
| 17 | android:label="@string/app_label" |
| 18 | android:theme="@android:style/Theme.Wallpaper.NoTitleBar" |
Mike Cleron | f8d2e94 | 2009-10-02 00:28:57 -0700 | [diff] [blame] | 19 | android:icon="@drawable/ic_widget_analog_clock" |
Daniel Sandler | e6cf24d | 2009-11-02 16:23:52 -0500 | [diff] [blame] | 20 | android:launchMode="singleInstance" |
Daniel Sandler | 2763ab4 | 2009-10-27 16:46:57 -0400 | [diff] [blame] | 21 | android:configChanges="orientation|keyboardHidden|keyboard|navigation"> |
Daniel Sandler | d137332 | 2009-10-27 09:46:05 -0400 | [diff] [blame] | 22 | > |
Daniel Sandler | e6cf24d | 2009-11-02 16:23:52 -0500 | [diff] [blame] | 23 | |
| 24 | <!-- while docked, this is our home application --> |
| 25 | <meta-data android:name="android.dock_home" android:value="true" /> |
| 26 | |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 27 | <intent-filter> |
| 28 | <action android:name="android.intent.action.MAIN" /> |
| 29 | <category android:name="android.intent.category.DEFAULT" /> |
| 30 | <category android:name="android.intent.category.LAUNCHER" /> |
Daniel Sandler | fa95424 | 2009-10-16 16:12:30 -0400 | [diff] [blame] | 31 | <category android:name="android.intent.category.DESK_DOCK" /> |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 32 | </intent-filter> |
| 33 | </activity> |
| 34 | |
Daniel Sandler | 8423a17 | 2009-11-12 13:40:19 -0800 | [diff] [blame] | 35 | <activity android:name="AlarmClock" |
| 36 | android:label="@string/alarm_list_title" |
| 37 | android:taskAffinity="" |
| 38 | android:excludeFromRecents="true" |
| 39 | android:configChanges="orientation|keyboardHidden|keyboard|navigation" |
| 40 | > |
Daniel Sandler | f8317ad | 2009-10-20 16:51:32 -0400 | [diff] [blame] | 41 | <intent-filter> |
| 42 | <action android:name="android.intent.action.MAIN" /> |
| 43 | </intent-filter> |
| 44 | </activity> |
| 45 | |
Daniel Sandler | 8423a17 | 2009-11-12 13:40:19 -0800 | [diff] [blame] | 46 | <activity android:name="SettingsActivity" |
| 47 | android:label="@string/settings" |
| 48 | android:taskAffinity="" |
| 49 | android:excludeFromRecents="true" |
| 50 | > |
Jason Parekh | 13e9021 | 2009-03-24 17:50:29 -0700 | [diff] [blame] | 51 | <intent-filter> |
| 52 | <action android:name="android.intent.action.MAIN" /> |
| 53 | </intent-filter> |
| 54 | </activity> |
| 55 | |
Patrick Scott | c892815 | 2009-05-14 11:12:54 -0400 | [diff] [blame] | 56 | <activity android:name="SetAlarm" android:label="@string/set_alarm" |
| 57 | android:configChanges="orientation|keyboardHidden|keyboard|navigation" /> |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 58 | |
Patrick Scott | f47699d | 2009-05-13 08:27:34 -0400 | [diff] [blame] | 59 | <activity android:name="AlarmAlert" |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 60 | android:excludeFromRecents="true" |
Patrick Scott | f47699d | 2009-05-13 08:27:34 -0400 | [diff] [blame] | 61 | android:theme="@style/alarm_alert" |
Dianne Hackborn | 29dbeab | 2009-09-22 13:44:12 -0700 | [diff] [blame] | 62 | android:launchMode="singleInstance" |
| 63 | android:taskAffinity="" |
Patrick Scott | f47699d | 2009-05-13 08:27:34 -0400 | [diff] [blame] | 64 | android:configChanges="orientation|keyboardHidden|keyboard|navigation"/> |
| 65 | |
| 66 | <!-- This activity is basically the same as AlarmAlert but with a more |
| 67 | generic theme. It also shows as full screen (with status bar) but |
| 68 | with the wallpaper background. --> |
| 69 | <activity android:name="AlarmAlertFullScreen" |
| 70 | android:excludeFromRecents="true" |
Dianne Hackborn | 29dbeab | 2009-09-22 13:44:12 -0700 | [diff] [blame] | 71 | android:theme="@android:style/Theme.Wallpaper.NoTitleBar" |
| 72 | android:launchMode="singleInstance" |
| 73 | android:taskAffinity="" |
Patrick Scott | f47699d | 2009-05-13 08:27:34 -0400 | [diff] [blame] | 74 | android:configChanges="orientation|keyboardHidden|keyboard|navigation"/> |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 75 | |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 76 | <receiver android:name="AlarmReceiver"> |
| 77 | <intent-filter> |
Daniel Sandler | fa95424 | 2009-10-16 16:12:30 -0400 | [diff] [blame] | 78 | <action android:name="com.android.deskclock.ALARM_ALERT" /> |
Patrick Scott | d776e51 | 2009-06-26 14:52:56 -0400 | [diff] [blame] | 79 | <action android:name="alarm_killed" /> |
| 80 | <action android:name="cancel_snooze" /> |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 81 | </intent-filter> |
| 82 | </receiver> |
| 83 | |
Patrick Scott | d776e51 | 2009-06-26 14:52:56 -0400 | [diff] [blame] | 84 | <!-- This service receives the same intent as AlarmReceiver but it does |
| 85 | not respond to the same broadcast. The AlarmReceiver will receive |
| 86 | the alert broadcast and will start this service with the same |
| 87 | intent. The service plays the alarm alert and vibrates the device. |
| 88 | This allows the alert to continue playing even if another activity |
| 89 | causes the AlarmAlert activity to pause. --> |
| 90 | <service android:name="AlarmKlaxon"> |
| 91 | <intent-filter> |
Daniel Sandler | fa95424 | 2009-10-16 16:12:30 -0400 | [diff] [blame] | 92 | <action android:name="com.android.deskclock.ALARM_ALERT" /> |
Patrick Scott | d776e51 | 2009-06-26 14:52:56 -0400 | [diff] [blame] | 93 | </intent-filter> |
| 94 | </service> |
| 95 | |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 96 | <receiver android:name="AlarmInitReceiver"> |
| 97 | <intent-filter> |
| 98 | <action android:name="android.intent.action.BOOT_COMPLETED" /> |
| 99 | <action android:name="android.intent.action.TIME_SET" /> |
| 100 | <action android:name="android.intent.action.TIMEZONE_CHANGED" /> |
| 101 | </intent-filter> |
| 102 | </receiver> |
| 103 | |
Mike Cleron | f8d2e94 | 2009-10-02 00:28:57 -0700 | [diff] [blame] | 104 | <receiver android:name="AnalogAppWidgetProvider" android:label="@string/analog_gadget" |
| 105 | android:icon="@drawable/ic_widget_analog_clock"> |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 106 | <intent-filter> |
The Android Open Source Project | bcdf0e3 | 2009-03-11 12:11:58 -0700 | [diff] [blame] | 107 | <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 108 | </intent-filter> |
The Android Open Source Project | bcdf0e3 | 2009-03-11 12:11:58 -0700 | [diff] [blame] | 109 | <meta-data android:name="android.appwidget.provider" android:resource="@xml/analog_appwidget" /> |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 110 | </receiver> |
Daniel Sandler | fa95424 | 2009-10-16 16:12:30 -0400 | [diff] [blame] | 111 | |
| 112 | <receiver android:name="DockEventReceiver"> |
| 113 | |
| 114 | <intent-filter> |
| 115 | <action android:name="android.intent.action.DOCK_EVENT" /> |
| 116 | </intent-filter> |
| 117 | |
| 118 | <intent-filter> |
| 119 | <action android:name="android.provider.Telephony.SECRET_CODE" /> |
| 120 | <data android:scheme="android_secret_code" android:host="3375" /><!-- DESK --> |
| 121 | </intent-filter> |
| 122 | |
| 123 | </receiver> |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 124 | </application> |
| 125 | </manifest> |
| 126 | |