Owen Lin | 666ea1b | 2009-10-14 22:34:47 -0700 | [diff] [blame] | 1 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
Owen Lin | d6c2fb7 | 2009-10-15 03:43:44 -0700 | [diff] [blame] | 2 | package="com.android.gallery" |
Owen Lin | 666ea1b | 2009-10-14 22:34:47 -0700 | [diff] [blame] | 3 | android:sharedUserId="android.media"> |
| 4 | <uses-permission android:name="android.permission.CAMERA" /> |
| 5 | <uses-feature android:name="android.hardware.camera" /> |
| 6 | <uses-feature android:name="android.hardware.camera.autofocus" android:required="false" /> |
| 7 | |
| 8 | <uses-permission android:name="android.permission.RECORD_AUDIO" /> |
| 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" /> |
| 12 | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
| 13 | <uses-permission android:name="android.permission.READ_SMS" /> |
| 14 | |
| 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" /> |
Owen Lin | d6c2fb7 | 2009-10-15 03:43:44 -0700 | [diff] [blame] | 19 | <activity android:name="com.android.camera.Camera" |
Owen Lin | 666ea1b | 2009-10-14 22:34:47 -0700 | [diff] [blame] | 20 | android:configChanges="orientation|keyboardHidden" |
| 21 | android:theme="@style/CustomTheme" |
| 22 | android:screenOrientation="landscape" |
| 23 | android:clearTaskOnLaunch="true" |
| 24 | android:taskAffinity="android.task.camera"> |
Owen Lin | 666ea1b | 2009-10-14 22:34:47 -0700 | [diff] [blame] | 25 | </activity> |
Owen Lin | d6c2fb7 | 2009-10-15 03:43:44 -0700 | [diff] [blame] | 26 | <activity android:name="com.android.camera.VideoCamera" |
Owen Lin | 666ea1b | 2009-10-14 22:34:47 -0700 | [diff] [blame] | 27 | android:label="@string/video_camera_label" |
| 28 | android:configChanges="orientation|keyboardHidden" |
| 29 | android:icon="@drawable/ic_launcher_video_camera" |
| 30 | android:theme="@style/CustomTheme" |
| 31 | android:screenOrientation="landscape" |
| 32 | android:clearTaskOnLaunch="true" |
| 33 | android:taskAffinity="android.task.camcorder"> |
Owen Lin | 666ea1b | 2009-10-14 22:34:47 -0700 | [diff] [blame] | 34 | </activity> |
Owen Lin | d6c2fb7 | 2009-10-15 03:43:44 -0700 | [diff] [blame] | 35 | <activity android:name="com.android.camera.GalleryPicker" |
| 36 | android:label="@string/gallery_picker_label" |
Owen Lin | 666ea1b | 2009-10-14 22:34:47 -0700 | [diff] [blame] | 37 | android:configChanges="orientation|keyboardHidden" |
| 38 | android:icon="@drawable/ic_launcher_gallery" |
| 39 | android:clearTaskOnLaunch="true" |
| 40 | android:taskAffinity="android.task.pictures"> |
| 41 | <intent-filter> |
| 42 | <action android:name="android.intent.action.MAIN" /> |
| 43 | <category android:name="android.intent.category.DEFAULT" /> |
| 44 | <category android:name="android.intent.category.LAUNCHER" /> |
| 45 | </intent-filter> |
| 46 | </activity> |
Owen Lin | d6c2fb7 | 2009-10-15 03:43:44 -0700 | [diff] [blame] | 47 | <activity android:name="com.android.camera.ImageGallery" |
| 48 | android:label="@string/gallery_label" |
Owen Lin | 666ea1b | 2009-10-14 22:34:47 -0700 | [diff] [blame] | 49 | android:configChanges="orientation|keyboardHidden" |
| 50 | android:icon="@drawable/ic_launcher_gallery"> |
| 51 | <intent-filter> |
| 52 | <action android:name="android.intent.action.MAIN" /> |
| 53 | <category android:name="android.intent.category.DEFAULT" /> |
| 54 | </intent-filter> |
| 55 | <intent-filter> |
| 56 | <action android:name="android.intent.action.VIEW" /> |
| 57 | <category android:name="android.intent.category.DEFAULT" /> |
| 58 | <data android:mimeType="vnd.android.cursor.dir/image" /> |
| 59 | </intent-filter> |
| 60 | <intent-filter> |
| 61 | <action android:name="android.intent.action.VIEW" /> |
| 62 | <category android:name="android.intent.category.DEFAULT" /> |
| 63 | <data android:mimeType="vnd.android.cursor.dir/video" /> |
| 64 | </intent-filter> |
| 65 | <intent-filter> |
| 66 | <action android:name="android.intent.action.GET_CONTENT" /> |
| 67 | <category android:name="android.intent.category.OPENABLE" /> |
| 68 | <data android:mimeType="vnd.android.cursor.dir/image" /> |
| 69 | </intent-filter> |
| 70 | <intent-filter> |
| 71 | <action android:name="android.intent.action.GET_CONTENT" /> |
| 72 | <category android:name="android.intent.category.OPENABLE" /> |
| 73 | <category android:name="android.intent.category.DEFAULT" /> |
| 74 | <data android:mimeType="image/*" /> |
| 75 | <data android:mimeType="video/*" /> |
| 76 | </intent-filter> |
| 77 | <intent-filter> |
| 78 | <action android:name="android.intent.action.PICK" /> |
| 79 | <category android:name="android.intent.category.DEFAULT" /> |
| 80 | <data android:mimeType="image/*" /> |
| 81 | <data android:mimeType="video/*" /> |
| 82 | </intent-filter> |
| 83 | <intent-filter> |
| 84 | <action android:name="android.intent.action.PICK" /> |
| 85 | <category android:name="android.intent.category.DEFAULT" /> |
| 86 | <data android:mimeType="vnd.android.cursor.dir/image" /> |
| 87 | </intent-filter> |
| 88 | </activity> |
| 89 | <activity |
Owen Lin | d6c2fb7 | 2009-10-15 03:43:44 -0700 | [diff] [blame] | 90 | android:name="com.android.camera.CropImage" |
Owen Lin | 666ea1b | 2009-10-14 22:34:47 -0700 | [diff] [blame] | 91 | android:process=":CropImage" |
| 92 | android:configChanges="orientation|keyboardHidden" |
| 93 | android:label="@string/crop_label"> |
| 94 | <intent-filter android:label="@string/crop_label"> |
| 95 | <action android:name="com.android.camera.action.CROP" /> |
| 96 | <data android:mimeType="image/*" /> |
| 97 | <category android:name="android.intent.category.DEFAULT" /> |
| 98 | <category android:name="android.intent.category.ALTERNATIVE" /> |
| 99 | <category android:name="android.intent.category.SELECTED_ALTERNATIVE" /> |
| 100 | </intent-filter> |
| 101 | </activity> |
Owen Lin | d6c2fb7 | 2009-10-15 03:43:44 -0700 | [diff] [blame] | 102 | <activity android:name="com.android.camera.ReviewImage" |
Owen Lin | 666ea1b | 2009-10-14 22:34:47 -0700 | [diff] [blame] | 103 | android:label="@string/view_label" |
| 104 | android:theme="@style/CustomTheme" |
| 105 | android:screenOrientation="behind" |
| 106 | android:configChanges="orientation|keyboardHidden" |
| 107 | android:exported="true"> |
| 108 | </activity> |
Owen Lin | d6c2fb7 | 2009-10-15 03:43:44 -0700 | [diff] [blame] | 109 | <activity android:name="com.android.camera.ViewImage" |
Owen Lin | 666ea1b | 2009-10-14 22:34:47 -0700 | [diff] [blame] | 110 | android:label="@string/view_label" |
| 111 | android:screenOrientation="behind" |
| 112 | android:configChanges="orientation|keyboardHidden"> |
| 113 | <intent-filter> |
| 114 | <action android:name="android.intent.action.VIEW" /> |
| 115 | <category android:name="android.intent.category.DEFAULT" /> |
| 116 | <data android:mimeType="image/*" /> |
| 117 | </intent-filter> |
| 118 | </activity> |
Owen Lin | d6c2fb7 | 2009-10-15 03:43:44 -0700 | [diff] [blame] | 119 | <activity android:name="com.android.camera.MovieView" |
Owen Lin | 666ea1b | 2009-10-14 22:34:47 -0700 | [diff] [blame] | 120 | android:label="@string/movieviewlabel" |
| 121 | android:screenOrientation="landscape" |
| 122 | android:configChanges="orientation|keyboardHidden" |
| 123 | android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen"> |
| 124 | <intent-filter> |
| 125 | <action android:name="android.intent.action.VIEW" /> |
| 126 | <category android:name="android.intent.category.DEFAULT" /> |
| 127 | <category android:name="android.intent.category.BROWSABLE" /> |
| 128 | <data android:scheme="rtsp" /> |
| 129 | </intent-filter> |
| 130 | <intent-filter> |
| 131 | <action android:name="android.intent.action.VIEW" /> |
| 132 | <category android:name="android.intent.category.DEFAULT" /> |
| 133 | <data android:mimeType="video/*" /> |
| 134 | <data android:mimeType="application/sdp" /> |
| 135 | </intent-filter> |
| 136 | <intent-filter> |
| 137 | <action android:name="android.intent.action.VIEW" /> |
| 138 | <category android:name="android.intent.category.DEFAULT" /> |
| 139 | <category android:name="android.intent.category.BROWSABLE" /> |
| 140 | <data android:scheme="http" /> |
| 141 | <data android:mimeType="video/mp4" /> |
| 142 | <data android:mimeType="video/3gp" /> |
| 143 | <data android:mimeType="video/3gpp" /> |
| 144 | <data android:mimeType="video/3gpp2" /> |
| 145 | </intent-filter> |
| 146 | </activity> |
Owen Lin | d6c2fb7 | 2009-10-15 03:43:44 -0700 | [diff] [blame] | 147 | <activity android:name="com.android.camera.DeleteImage" |
Owen Lin | 666ea1b | 2009-10-14 22:34:47 -0700 | [diff] [blame] | 148 | android:label="@string/delete_images_message" |
| 149 | android:theme="@style/Theme.DeleteImageDialog"> |
| 150 | </activity> |
| 151 | |
Owen Lin | d6c2fb7 | 2009-10-15 03:43:44 -0700 | [diff] [blame] | 152 | <activity android:name="com.android.camera.GallerySettings" |
| 153 | android:label="@string/preferences_label"> |
Owen Lin | 666ea1b | 2009-10-14 22:34:47 -0700 | [diff] [blame] | 154 | <intent-filter> |
| 155 | <action android:name="android.intent.action.MAIN" /> |
| 156 | <category android:name="android.intent.category.DEVELOPMENT_PREFERENCE" /> |
| 157 | </intent-filter> |
| 158 | </activity> |
| 159 | |
Owen Lin | d6c2fb7 | 2009-10-15 03:43:44 -0700 | [diff] [blame] | 160 | <activity android:name="com.android.camera.Wallpaper" |
| 161 | android:label="@string/camera_setas_wallpaper" |
| 162 | android:icon="@drawable/ic_launcher_gallery"> |
Owen Lin | 666ea1b | 2009-10-14 22:34:47 -0700 | [diff] [blame] | 163 | <intent-filter> |
| 164 | <action android:name="android.intent.action.ATTACH_DATA" /> |
| 165 | <data android:mimeType="image/*" /> |
| 166 | <category android:name="android.intent.category.DEFAULT" /> |
| 167 | </intent-filter> |
| 168 | </activity> |
| 169 | |
Owen Lin | d6c2fb7 | 2009-10-15 03:43:44 -0700 | [diff] [blame] | 170 | <activity android:name="com.android.camera.PickWallpaper" |
| 171 | android:label="@string/camera_pick_wallpaper" |
| 172 | android:icon="@drawable/ic_launcher_gallery"> |
Owen Lin | 666ea1b | 2009-10-14 22:34:47 -0700 | [diff] [blame] | 173 | <intent-filter> |
| 174 | <action android:name="android.intent.action.SET_WALLPAPER" /> |
| 175 | <category android:name="android.intent.category.DEFAULT" /> |
| 176 | </intent-filter> |
| 177 | </activity> |
| 178 | |
Owen Lin | d6c2fb7 | 2009-10-15 03:43:44 -0700 | [diff] [blame] | 179 | <receiver android:name="com.android.camera.PhotoAppWidgetProvider" |
| 180 | android:label="@string/gadget_title" |
| 181 | android:icon="@drawable/ic_launcher_gallery"> |
Owen Lin | 666ea1b | 2009-10-14 22:34:47 -0700 | [diff] [blame] | 182 | <intent-filter> |
| 183 | <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> |
| 184 | </intent-filter> |
Owen Lin | d6c2fb7 | 2009-10-15 03:43:44 -0700 | [diff] [blame] | 185 | <meta-data android:name="android.appwidget.provider" |
| 186 | android:resource="@xml/appwidget_info" /> |
Owen Lin | 666ea1b | 2009-10-14 22:34:47 -0700 | [diff] [blame] | 187 | </receiver> |
| 188 | |
| 189 | <!-- We configure a widget by asking to pick a photo, then crop it, and store the config internally --> |
Owen Lin | d6c2fb7 | 2009-10-15 03:43:44 -0700 | [diff] [blame] | 190 | <activity android:name="com.android.camera.PhotoAppWidgetConfigure"> |
Owen Lin | 666ea1b | 2009-10-14 22:34:47 -0700 | [diff] [blame] | 191 | <intent-filter> |
| 192 | <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" /> |
| 193 | </intent-filter> |
| 194 | </activity> |
| 195 | |
| 196 | <!-- We also allow direct binding where the caller provides a bitmap and |
| 197 | appWidgetId to bind. We require the permission because this changes our |
| 198 | internal database without user confirmation. --> |
Owen Lin | d6c2fb7 | 2009-10-15 03:43:44 -0700 | [diff] [blame] | 199 | <activity android:name="com.android.camera.PhotoAppWidgetBind" |
| 200 | android:exported="true" |
Owen Lin | 666ea1b | 2009-10-14 22:34:47 -0700 | [diff] [blame] | 201 | android:theme="@android:style/Theme.NoDisplay" |
| 202 | android:permission="android.permission.BIND_APPWIDGET" /> |
| 203 | |
| 204 | </application> |
| 205 | </manifest> |
| 206 | |