The Android Open Source Project | b64d345 | 2009-03-03 19:32:20 -0800 | [diff] [blame] | 1 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 2 | package="com.android.camera" |
| 3 | android:sharedUserId="android.media"> |
| 4 | <uses-permission android:name="android.permission.CAMERA" /> |
Dianne Hackborn | 639b55e | 2009-08-27 16:52:10 -0700 | [diff] [blame] | 5 | <uses-feature android:name="android.hardware.camera" /> |
| 6 | <uses-feature android:name="android.hardware.camera.autofocus" android:required="false" /> |
Owen Lin | 3665f92 | 2009-09-02 18:03:42 +0800 | [diff] [blame] | 7 | |
Dave Sparks | e655d54 | 2009-05-21 09:59:57 -0700 | [diff] [blame] | 8 | <uses-permission android:name="android.permission.RECORD_AUDIO" /> |
The Android Open Source Project | b64d345 | 2009-03-03 19:32:20 -0800 | [diff] [blame] | 9 | <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> |
| 10 | <uses-permission android:name="android.permission.WAKE_LOCK" /> |
| 11 | <uses-permission android:name="android.permission.SET_WALLPAPER" /> |
San Mehat | b3563c2 | 2009-06-01 09:26:08 -0700 | [diff] [blame] | 12 | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
Wei Huang | 55c0210 | 2009-09-23 00:45:03 -0700 | [diff] [blame] | 13 | <uses-permission android:name="android.permission.READ_SMS" /> |
Chih-Chung Chang | 2138199 | 2009-09-02 13:25:02 +0800 | [diff] [blame] | 14 | |
The Android Open Source Project | b64d345 | 2009-03-03 19:32:20 -0800 | [diff] [blame] | 15 | <application android:icon="@drawable/ic_launcher_camera" |
| 16 | android:label="@string/camera_label" |
| 17 | android:taskAffinity=""> |
| 18 | <service android:name="UploadService" android:process="android.process.media" /> |
| 19 | <receiver android:name="CameraButtonIntentReceiver"> |
| 20 | <intent-filter> |
| 21 | <action android:name="android.intent.action.CAMERA_BUTTON"/> |
| 22 | </intent-filter> |
| 23 | </receiver> |
| 24 | <activity android:name="Camera" |
| 25 | android:configChanges="orientation|keyboardHidden" |
Chih-Chung Chang | cef4def | 2009-09-24 17:44:36 -0700 | [diff] [blame] | 26 | android:theme="@style/CustomTheme" |
The Android Open Source Project | b64d345 | 2009-03-03 19:32:20 -0800 | [diff] [blame] | 27 | android:screenOrientation="landscape" |
| 28 | android:clearTaskOnLaunch="true" |
| 29 | android:taskAffinity="android.task.camera"> |
| 30 | <intent-filter> |
| 31 | <action android:name="android.intent.action.MAIN" /> |
| 32 | <category android:name="android.intent.category.DEFAULT" /> |
| 33 | <category android:name="android.intent.category.LAUNCHER" /> |
| 34 | </intent-filter> |
| 35 | <intent-filter> |
| 36 | <action android:name="android.media.action.IMAGE_CAPTURE" /> |
| 37 | <category android:name="android.intent.category.DEFAULT" /> |
| 38 | </intent-filter> |
| 39 | <intent-filter> |
| 40 | <action android:name="android.media.action.STILL_IMAGE_CAMERA" /> |
| 41 | <category android:name="android.intent.category.DEFAULT" /> |
| 42 | </intent-filter> |
| 43 | </activity> |
| 44 | <activity android:name="VideoCamera" |
Evan Millar | c16bd98 | 2009-03-31 16:46:03 -0700 | [diff] [blame] | 45 | android:label="@string/video_camera_label" |
The Android Open Source Project | b64d345 | 2009-03-03 19:32:20 -0800 | [diff] [blame] | 46 | android:configChanges="orientation|keyboardHidden" |
Evan Millar | c16bd98 | 2009-03-31 16:46:03 -0700 | [diff] [blame] | 47 | android:icon="@drawable/ic_launcher_video_camera" |
Chih-Chung Chang | cef4def | 2009-09-24 17:44:36 -0700 | [diff] [blame] | 48 | android:theme="@style/CustomTheme" |
The Android Open Source Project | b64d345 | 2009-03-03 19:32:20 -0800 | [diff] [blame] | 49 | android:screenOrientation="landscape" |
| 50 | android:clearTaskOnLaunch="true" |
Owen Lin | 625613e | 2009-08-05 17:08:17 +0800 | [diff] [blame] | 51 | android:taskAffinity="android.task.camcorder"> |
Evan Millar | c16bd98 | 2009-03-31 16:46:03 -0700 | [diff] [blame] | 52 | <intent-filter> |
The Android Open Source Project | b64d345 | 2009-03-03 19:32:20 -0800 | [diff] [blame] | 53 | <action android:name="android.media.action.VIDEO_CAMERA" /> |
| 54 | <category android:name="android.intent.category.DEFAULT" /> |
| 55 | </intent-filter> |
| 56 | <intent-filter> |
| 57 | <action android:name="android.media.action.VIDEO_CAPTURE" /> |
| 58 | <category android:name="android.intent.category.DEFAULT" /> |
| 59 | </intent-filter> |
| 60 | </activity> |
| 61 | <activity android:name="GalleryPicker" android:label="@string/gallery_picker_label" |
| 62 | android:configChanges="orientation|keyboardHidden" |
| 63 | android:icon="@drawable/ic_launcher_gallery" |
| 64 | android:clearTaskOnLaunch="true" |
| 65 | android:taskAffinity="android.task.pictures"> |
| 66 | <intent-filter> |
| 67 | <action android:name="android.intent.action.MAIN" /> |
| 68 | <category android:name="android.intent.category.DEFAULT" /> |
| 69 | <category android:name="android.intent.category.LAUNCHER" /> |
| 70 | </intent-filter> |
| 71 | </activity> |
Ray Chen | 91acb5b | 2009-04-24 12:12:04 +0800 | [diff] [blame] | 72 | <activity android:name="ImageGallery" android:label="@string/gallery_label" |
The Android Open Source Project | b64d345 | 2009-03-03 19:32:20 -0800 | [diff] [blame] | 73 | android:configChanges="orientation|keyboardHidden" |
| 74 | android:icon="@drawable/ic_launcher_gallery"> |
| 75 | <intent-filter> |
| 76 | <action android:name="android.intent.action.MAIN" /> |
| 77 | <category android:name="android.intent.category.DEFAULT" /> |
| 78 | </intent-filter> |
| 79 | <intent-filter> |
| 80 | <action android:name="android.intent.action.VIEW" /> |
| 81 | <category android:name="android.intent.category.DEFAULT" /> |
| 82 | <data android:mimeType="vnd.android.cursor.dir/image" /> |
| 83 | </intent-filter> |
| 84 | <intent-filter> |
| 85 | <action android:name="android.intent.action.VIEW" /> |
| 86 | <category android:name="android.intent.category.DEFAULT" /> |
| 87 | <data android:mimeType="vnd.android.cursor.dir/video" /> |
| 88 | </intent-filter> |
| 89 | <intent-filter> |
| 90 | <action android:name="android.intent.action.GET_CONTENT" /> |
| 91 | <category android:name="android.intent.category.OPENABLE" /> |
| 92 | <data android:mimeType="vnd.android.cursor.dir/image" /> |
| 93 | </intent-filter> |
| 94 | <intent-filter> |
| 95 | <action android:name="android.intent.action.GET_CONTENT" /> |
| 96 | <category android:name="android.intent.category.OPENABLE" /> |
| 97 | <category android:name="android.intent.category.DEFAULT" /> |
| 98 | <data android:mimeType="image/*" /> |
| 99 | <data android:mimeType="video/*" /> |
| 100 | </intent-filter> |
| 101 | <intent-filter> |
| 102 | <action android:name="android.intent.action.PICK" /> |
| 103 | <category android:name="android.intent.category.DEFAULT" /> |
| 104 | <data android:mimeType="image/*" /> |
| 105 | <data android:mimeType="video/*" /> |
| 106 | </intent-filter> |
| 107 | <intent-filter> |
| 108 | <action android:name="android.intent.action.PICK" /> |
| 109 | <category android:name="android.intent.category.DEFAULT" /> |
| 110 | <data android:mimeType="vnd.android.cursor.dir/image" /> |
| 111 | </intent-filter> |
| 112 | </activity> |
| 113 | <activity |
| 114 | android:name="CropImage" |
| 115 | android:process=":CropImage" |
| 116 | android:configChanges="orientation|keyboardHidden" |
| 117 | android:label="@string/crop_label"> |
| 118 | <intent-filter android:label="@string/crop_label"> |
| 119 | <action android:name="com.android.camera.action.CROP" /> |
| 120 | <data android:mimeType="image/*" /> |
| 121 | <category android:name="android.intent.category.DEFAULT" /> |
| 122 | <category android:name="android.intent.category.ALTERNATIVE" /> |
| 123 | <category android:name="android.intent.category.SELECTED_ALTERNATIVE" /> |
| 124 | </intent-filter> |
| 125 | </activity> |
Wu-cheng Li | 46fc7ae | 2009-06-19 19:28:47 +0800 | [diff] [blame] | 126 | <activity android:name="ReviewImage" |
| 127 | android:label="@string/view_label" |
| 128 | android:screenOrientation="behind" |
| 129 | android:configChanges="orientation|keyboardHidden"> |
| 130 | <intent-filter> |
| 131 | <category android:name="android.intent.category.DEFAULT" /> |
| 132 | </intent-filter> |
| 133 | </activity> |
Chih-Chung Chang | 0e48fe6 | 2009-06-26 19:23:56 +0800 | [diff] [blame] | 134 | <activity android:name="ViewImage" |
Owen Lin | 30e331b | 2009-05-01 17:04:52 -0700 | [diff] [blame] | 135 | android:label="@string/view_label" |
| 136 | android:screenOrientation="behind" |
The Android Open Source Project | b64d345 | 2009-03-03 19:32:20 -0800 | [diff] [blame] | 137 | android:configChanges="orientation|keyboardHidden"> |
| 138 | <intent-filter> |
| 139 | <action android:name="android.intent.action.VIEW" /> |
| 140 | <category android:name="android.intent.category.DEFAULT" /> |
| 141 | <data android:mimeType="image/*" /> |
| 142 | </intent-filter> |
| 143 | </activity> |
| 144 | <activity android:name="MovieView" |
| 145 | android:label="@string/movieviewlabel" |
| 146 | android:screenOrientation="landscape" |
| 147 | android:configChanges="orientation|keyboardHidden" |
| 148 | android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen"> |
| 149 | <intent-filter> |
| 150 | <action android:name="android.intent.action.VIEW" /> |
| 151 | <category android:name="android.intent.category.DEFAULT" /> |
| 152 | <category android:name="android.intent.category.BROWSABLE" /> |
| 153 | <data android:scheme="rtsp" /> |
| 154 | </intent-filter> |
| 155 | <intent-filter> |
| 156 | <action android:name="android.intent.action.VIEW" /> |
| 157 | <category android:name="android.intent.category.DEFAULT" /> |
| 158 | <data android:mimeType="video/*" /> |
Dave Sparks | 788b45f | 2009-07-21 21:32:13 -0700 | [diff] [blame] | 159 | <data android:mimeType="application/sdp" /> |
The Android Open Source Project | b64d345 | 2009-03-03 19:32:20 -0800 | [diff] [blame] | 160 | </intent-filter> |
| 161 | <intent-filter> |
| 162 | <action android:name="android.intent.action.VIEW" /> |
| 163 | <category android:name="android.intent.category.DEFAULT" /> |
| 164 | <category android:name="android.intent.category.BROWSABLE" /> |
| 165 | <data android:scheme="http" /> |
| 166 | <data android:mimeType="video/mp4" /> |
| 167 | <data android:mimeType="video/3gp" /> |
| 168 | <data android:mimeType="video/3gpp" /> |
| 169 | <data android:mimeType="video/3gpp2" /> |
| 170 | </intent-filter> |
| 171 | </activity> |
Chih-Chung Chang | 0e48fe6 | 2009-06-26 19:23:56 +0800 | [diff] [blame] | 172 | <activity android:name=".DeleteImage" |
| 173 | android:label="@string/delete_images_message" |
| 174 | android:theme="@style/Theme.DeleteImageDialog"> |
| 175 | </activity> |
The Android Open Source Project | b64d345 | 2009-03-03 19:32:20 -0800 | [diff] [blame] | 176 | |
The Android Open Source Project | b64d345 | 2009-03-03 19:32:20 -0800 | [diff] [blame] | 177 | <activity android:name="GallerySettings" android:label="@string/preferences_label"> |
| 178 | <intent-filter> |
| 179 | <action android:name="android.intent.action.MAIN" /> |
| 180 | <category android:name="android.intent.category.DEVELOPMENT_PREFERENCE" /> |
| 181 | </intent-filter> |
| 182 | </activity> |
| 183 | |
The Android Open Source Project | b64d345 | 2009-03-03 19:32:20 -0800 | [diff] [blame] | 184 | <activity android:name=".Wallpaper" |
| 185 | android:label="@string/camera_setas_wallpaper" |
| 186 | android:icon="@drawable/ic_launcher_gallery"> |
| 187 | <intent-filter> |
| 188 | <action android:name="android.intent.action.ATTACH_DATA" /> |
| 189 | <data android:mimeType="image/*" /> |
| 190 | <category android:name="android.intent.category.DEFAULT" /> |
| 191 | </intent-filter> |
| 192 | </activity> |
| 193 | |
| 194 | <activity android:name=".PickWallpaper" |
| 195 | android:label="@string/camera_pick_wallpaper" |
| 196 | android:icon="@drawable/ic_launcher_gallery"> |
| 197 | <intent-filter> |
| 198 | <action android:name="android.intent.action.SET_WALLPAPER" /> |
| 199 | <category android:name="android.intent.category.DEFAULT" /> |
| 200 | </intent-filter> |
| 201 | </activity> |
| 202 | |
The Android Open Source Project | e3f4516 | 2009-03-11 12:11:58 -0700 | [diff] [blame] | 203 | <receiver android:name="PhotoAppWidgetProvider" android:label="@string/gadget_title"> |
The Android Open Source Project | b64d345 | 2009-03-03 19:32:20 -0800 | [diff] [blame] | 204 | <intent-filter> |
The Android Open Source Project | e3f4516 | 2009-03-11 12:11:58 -0700 | [diff] [blame] | 205 | <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> |
The Android Open Source Project | b64d345 | 2009-03-03 19:32:20 -0800 | [diff] [blame] | 206 | </intent-filter> |
The Android Open Source Project | e3f4516 | 2009-03-11 12:11:58 -0700 | [diff] [blame] | 207 | <meta-data android:name="android.appwidget.provider" android:resource="@xml/appwidget_info" /> |
The Android Open Source Project | b64d345 | 2009-03-03 19:32:20 -0800 | [diff] [blame] | 208 | </receiver> |
| 209 | |
The Android Open Source Project | e3f4516 | 2009-03-11 12:11:58 -0700 | [diff] [blame] | 210 | <!-- We configure a widget by asking to pick a photo, then crop it, and store the config internally --> |
| 211 | <activity android:name="PhotoAppWidgetConfigure"> |
The Android Open Source Project | b64d345 | 2009-03-03 19:32:20 -0800 | [diff] [blame] | 212 | <intent-filter> |
The Android Open Source Project | e3f4516 | 2009-03-11 12:11:58 -0700 | [diff] [blame] | 213 | <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" /> |
The Android Open Source Project | b64d345 | 2009-03-03 19:32:20 -0800 | [diff] [blame] | 214 | </intent-filter> |
| 215 | </activity> |
| 216 | |
| 217 | <!-- We also allow direct binding where the caller provides a bitmap and |
The Android Open Source Project | e3f4516 | 2009-03-11 12:11:58 -0700 | [diff] [blame] | 218 | appWidgetId to bind. We require the permission because this changes our |
The Android Open Source Project | b64d345 | 2009-03-03 19:32:20 -0800 | [diff] [blame] | 219 | internal database without user confirmation. --> |
The Android Open Source Project | e3f4516 | 2009-03-11 12:11:58 -0700 | [diff] [blame] | 220 | <activity android:name="PhotoAppWidgetBind" android:exported="true" |
The Android Open Source Project | b64d345 | 2009-03-03 19:32:20 -0800 | [diff] [blame] | 221 | android:theme="@android:style/Theme.NoDisplay" |
The Android Open Source Project | e3f4516 | 2009-03-11 12:11:58 -0700 | [diff] [blame] | 222 | android:permission="android.permission.BIND_APPWIDGET" /> |
The Android Open Source Project | b64d345 | 2009-03-03 19:32:20 -0800 | [diff] [blame] | 223 | |
| 224 | </application> |
| 225 | </manifest> |
| 226 | |