1 <?xml version="1.0" encoding="utf-8"?> 2 3 <manifest android:versionCode="40000" 4 android:versionName="1.1.40000" 5 xmlns:android="http://schemas.android.com/apk/res/android" 6 package="com.android.gallery3d"> 7 8 <original-package android:name="com.android.gallery3d" /> 9 10 <uses-sdk android:minSdkVersion="14" /> 11 12 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> 13 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> 14 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> 15 <uses-permission android:name="android.permission.CAMERA" /> 16 <uses-permission android:name="android.permission.GET_ACCOUNTS" /> 17 <uses-permission android:name="android.permission.INTERNET" /> 18 <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" /> 19 <uses-permission android:name="android.permission.NFC" /> 20 <uses-permission android:name="android.permission.READ_SMS" /> 21 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" /> 22 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> 23 <uses-permission android:name="android.permission.RECORD_AUDIO" /> 24 <uses-permission android:name="android.permission.SET_WALLPAPER" /> 25 <uses-permission android:name="android.permission.USE_CREDENTIALS" /> 26 <uses-permission android:name="android.permission.VIBRATE" /> 27 <uses-permission android:name="android.permission.WAKE_LOCK" /> 28 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> 29 <uses-permission android:name="android.permission.WRITE_SETTINGS" /> 30 <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" /> 31 32 <supports-screens android:smallScreens="false" 33 android:normalScreens="true" android:largeScreens="true" 34 android:anyDensity="true" /> 35 36 <application android:icon="@mipmap/ic_launcher_gallery" android:label="@string/app_name" 37 android:name="com.android.gallery3d.app.GalleryAppImpl" 38 android:theme="@style/Theme.Gallery" 39 android:logo="@mipmap/ic_launcher_gallery" 40 android:hardwareAccelerated="true"> 41 <uses-library android:name="com.google.android.media.effects" android:required="false" /> 42 <activity android:name="com.android.gallery3d.app.MovieActivity" 43 android:label="@string/movie_view_label" 44 android:configChanges="orientation|keyboardHidden|screenSize"> 45 <intent-filter> 46 <action android:name="android.intent.action.VIEW" /> 47 <category android:name="android.intent.category.DEFAULT" /> 48 <category android:name="android.intent.category.BROWSABLE" /> 49 <data android:scheme="rtsp" /> 50 </intent-filter> 51 <intent-filter> 52 <action android:name="android.intent.action.VIEW" /> 53 <category android:name="android.intent.category.DEFAULT" /> 54 <category android:name="android.intent.category.BROWSABLE" /> 55 <data android:scheme="http" /> 56 <data android:scheme="https" /> 57 <data android:scheme="content" /> 58 <data android:scheme="file" /> 59 <data android:mimeType="video/mpeg4" /> 60 <data android:mimeType="video/mp4" /> 61 <data android:mimeType="video/3gp" /> 62 <data android:mimeType="video/3gpp" /> 63 <data android:mimeType="video/3gpp2" /> 64 <data android:mimeType="video/webm" /> 65 <data android:mimeType="video/avi" /> 66 <data android:mimeType="application/sdp" /> 67 </intent-filter> 68 <intent-filter> 69 !-- HTTP live support --> 70 <action android:name="android.intent.action.VIEW" /> 71 <category android:name="android.intent.category.DEFAULT" /> 72 <category android:name="android.intent.category.BROWSABLE" /> 73 <data android:scheme="http" /> 74 <data android:scheme="https" /> 75 <data android:mimeType="audio/x-mpegurl" /> 76 <data android:mimeType="audio/mpegurl" /> 77 <data android:mimeType="application/vnd.apple.mpegurl" /> 78 <data android:mimeType="application/x-mpegurl" /> 79 </intent-filter> 80 </activity> 81 82 <activity android:name="com.android.gallery3d.app.Gallery" android:label="@string/app_name" 83 android:configChanges="keyboardHidden|orientation|screenSize"> 84 <intent-filter> 85 <action android:name="android.intent.action.MAIN" /> 86 <category android:name="android.intent.category.DEFAULT" /> 87 <category android:name="android.intent.category.LAUNCHER" /> 88 <category android:name="android.intent.category.APP_GALLERY" /> 89 </intent-filter> 90 <intent-filter> 91 <action android:name="android.intent.action.GET_CONTENT" /> 92 <category android:name="android.intent.category.OPENABLE" /> 93 <data android:mimeType="vnd.android.cursor.dir/image" /> 94 </intent-filter> 95 <intent-filter> 96 <action android:name="android.intent.action.GET_CONTENT" /> 97 <category android:name="android.intent.category.OPENABLE" /> 98 <category android:name="android.intent.category.DEFAULT" /> 99 <data android:mimeType="image/*" /> 100 <data android:mimeType="video/*" /> 101 </intent-filter> 102 <intent-filter> 103 <action android:name="android.intent.action.VIEW" /> 104 <category android:name="android.intent.category.DEFAULT" /> 105 <data android:mimeType="vnd.android.cursor.dir/image" /> 106 <data android:mimeType="vnd.android.cursor.dir/video" /> 107 </intent-filter> 108 <intent-filter> 109 <action android:name="android.intent.action.VIEW" /> 110 <action android:name="com.android.camera.action.REVIEW" /> 111 <category android:name="android.intent.category.DEFAULT" /> 112 <category android:name="android.intent.category.BROWSABLE" /> 113 <data android:scheme="" /> 114 <data android:scheme="http" /> 115 <data android:scheme="https" /> 116 <data android:scheme="content" /> 117 <data android:scheme="file" /> 118 <data android:mimeType="image/bmp" /> 119 <data android:mimeType="image/jpeg" /> 120 <data android:mimeType="image/gif" /> 121 <data android:mimeType="image/png" /> 122 <data android:mimeType="image/x-ms-bmp" /> 123 <data android:mimeType="image/vnd.wap.wbmp" /> 124 </intent-filter> 125 <intent-filter> 126 <action android:name="com.android.camera.action.REVIEW" /> 127 <category android:name="android.intent.category.DEFAULT" /> 128 <category android:name="android.intent.category.BROWSABLE" /> 129 <data android:scheme="http" /> 130 <data android:scheme="https" /> 131 <data android:scheme="content" /> 132 <data android:scheme="file" /> 133 <data android:mimeType="video/mpeg4" /> 134 <data android:mimeType="video/mp4" /> 135 <data android:mimeType="video/3gp" /> 136 <data android:mimeType="video/3gpp" /> 137 <data android:mimeType="video/3gpp2" /> 138 <data android:mimeType="application/sdp" /> 139 </intent-filter> 140 <!-- We do NOT support the PICK intent, we add these intent-filter for 141 backward compatibility. Handle it as GET_CONTENT. --> 142 <intent-filter> 143 <action android:name="android.intent.action.PICK" /> 144 <category android:name="android.intent.category.DEFAULT" /> 145 <data android:mimeType="image/*" /> 146 <data android:mimeType="video/*" /> 147 </intent-filter> 148 <intent-filter> 149 <action android:name="android.intent.action.PICK" /> 150 <category android:name="android.intent.category.DEFAULT" /> 151 <data android:mimeType="vnd.android.cursor.dir/image" /> 152 <data android:mimeType="vnd.android.cursor.dir/video" /> 153 </intent-filter> 154 </activity> 155 156 <!-- we add this activity-alias for shortcut backward compatibility --> 157 <!-- Note: The alias must put after the target activity --> 158 <activity-alias android:name="com.cooliris.media.Gallery" 159 android:targetActivity="com.android.gallery3d.app.Gallery" 160 android:configChanges="keyboardHidden|orientation|screenSize" 161 android:label="@string/app_name"> 162 <intent-filter> 163 <action android:name="android.intent.action.MAIN" /> 164 </intent-filter> 165 </activity-alias> 166 167 <!-- This activity receives USB_DEVICE_ATTACHED Intents and springboards to main Gallery activity. --> 168 <activity android:name="com.android.gallery3d.app.UsbDeviceActivity" android:label="@string/app_name" 169 android:taskAffinity="" 170 android:launchMode="singleInstance"> 171 <intent-filter> 172 <action android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" /> 173 </intent-filter> 174 <meta-data android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" 175 android:resource="@xml/device_filter" /> 176 </activity> 177 178 <activity android:name="com.android.gallery3d.app.Wallpaper" 179 android:configChanges="keyboardHidden|orientation|screenSize" 180 android:theme="@style/android:Theme.Translucent.NoTitleBar"> 181 <intent-filter android:label="@string/camera_setas_wallpaper"> 182 <action android:name="android.intent.action.ATTACH_DATA" /> 183 <data android:mimeType="image/*" /> 184 <category android:name="android.intent.category.DEFAULT" /> 185 </intent-filter> 186 <intent-filter android:label="@string/app_name"> 187 <action android:name="android.intent.action.SET_WALLPAPER" /> 188 <category android:name="android.intent.category.DEFAULT" /> 189 </intent-filter> 190 <meta-data android:name="android.wallpaper.preview" 191 android:resource="@xml/wallpaper_picker_preview" /> 192 </activity> 193 <activity android:name="com.android.gallery3d.app.CropImage" 194 android:configChanges="keyboardHidden|orientation|screenSize" 195 android:label="@string/crop_label" 196 android:process=":crop"> 197 <intent-filter android:label="@string/crop_label"> 198 <action android:name="com.android.camera.action.CROP" /> 199 <data android:scheme="http" /> 200 <data android:scheme="https" /> 201 <data android:scheme="content" /> 202 <data android:scheme="file" /> 203 <data android:scheme="" /> 204 <data android:mimeType="image/*" /> 205 <category android:name="android.intent.category.DEFAULT" /> 206 <category android:name="android.intent.category.ALTERNATIVE" /> 207 <category android:name="android.intent.category.SELECTED_ALTERNATIVE" /> 208 </intent-filter> 209 </activity> 210 <activity android:name="com.android.gallery3d.photoeditor.PhotoEditor" 211 android:label="@string/app_name" 212 android:theme="@android:style/Theme.Holo.NoActionBar.Fullscreen" 213 android:configChanges="keyboardHidden|orientation|screenSize" 214 android:hardwareAccelerated="true" 215 android:process=":edit"> 216 <intent-filter> 217 <action android:name="android.intent.action.EDIT" /> 218 <data android:mimeType="image/*" /> 219 <category android:name="android.intent.category.DEFAULT" /> 220 </intent-filter> 221 </activity> 222 <uses-library android:name="com.google.android.media.effects" 223 android:required="false" /> 224 225 <activity android:name="com.android.gallery3d.app.SlideshowDream" 226 android:label="@string/slideshow_dream_name" 227 android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" 228 android:hardwareAccelerated="true"> 229 <intent-filter> 230 <action android:name="android.intent.action.MAIN" /> 231 <category android:name="android.intent.category.DEFAULT" /> 232 <category android:name="android.intent.category.DREAM" /> 233 </intent-filter> 234 </activity> 235 236 <activity android:name="com.android.gallery3d.settings.GallerySettings" 237 android:theme="@android:style/Theme.Holo" 238 android:configChanges="orientation|keyboardHidden|screenSize" /> 239 240 <provider android:name="com.android.gallery3d.provider.GalleryProvider" 241 android:syncable="false" 242 android:grantUriPermissions="true" 243 android:authorities="com.android.gallery3d.provider" /> 244 <activity android:name="com.android.gallery3d.gadget.WidgetClickHandler" /> 245 <activity android:name="com.android.gallery3d.app.DialogPicker" 246 android:configChanges="keyboardHidden|orientation|screenSize" 247 android:theme="@style/DialogPickerTheme"/> 248 <activity android:name="com.android.gallery3d.app.AlbumPicker" 249 android:configChanges="keyboardHidden|orientation|screenSize" 250 android:theme="@style/DialogPickerTheme"/> 251 <activity android:name="com.android.gallery3d.gadget.WidgetTypeChooser" 252 android:configChanges="keyboardHidden|orientation|screenSize" 253 android:theme="@android:style/Theme.Holo.Dialog"/> 254 255 <activity android:name="com.android.camera.Camera" 256 android:taskAffinity="com.android.camera" 257 android:label="@string/camera_label" 258 android:theme="@style/ThemeCamera" 259 android:icon="@mipmap/ic_launcher_camera" 260 android:configChanges="orientation|screenSize|keyboardHidden" 261 android:clearTaskOnLaunch="true" 262 android:windowSoftInputMode="stateAlwaysHidden|adjustPan"> 263 <intent-filter> 264 <action android:name="android.media.action.IMAGE_CAPTURE" /> 265 <category android:name="android.intent.category.DEFAULT" /> 266 </intent-filter> 267 <intent-filter> 268 <action android:name="android.media.action.STILL_IMAGE_CAMERA" /> 269 <category android:name="android.intent.category.DEFAULT" /> 270 </intent-filter> 271 </activity> 272 273 <activity-alias android:icon="@mipmap/ic_launcher_camera" 274 android:label="@string/camera_label" 275 android:name="com.android.camera.CameraLauncher" 276 android:targetActivity="com.android.camera.Camera" > 277 <intent-filter> 278 <action android:name="android.intent.action.MAIN" /> 279 <category android:name="android.intent.category.DEFAULT" /> 280 <category android:name="android.intent.category.LAUNCHER" /> 281 </intent-filter> 282 </activity-alias> 283 284 <activity android:name="com.android.camera.VideoCamera" 285 android:taskAffinity="com.android.camera" 286 android:label="@string/video_camera_label" 287 android:theme="@style/ThemeCamera" 288 android:configChanges="orientation|screenSize|keyboardHidden" 289 android:icon="@mipmap/ic_launcher_video_camera" 290 android:clearTaskOnLaunch="true" 291 android:windowSoftInputMode="stateAlwaysHidden|adjustPan"> 292 <intent-filter> 293 <action android:name="android.media.action.VIDEO_CAMERA" /> 294 <category android:name="android.intent.category.DEFAULT" /> 295 </intent-filter> 296 <intent-filter> 297 <action android:name="android.media.action.VIDEO_CAPTURE" /> 298 <category android:name="android.intent.category.DEFAULT" /> 299 </intent-filter> 300 </activity> 301 <activity android:name="com.android.camera.PanoramaActivity" 302 android:taskAffinity="com.android.camera" 303 android:label="@string/pano_dialog_title" 304 android:theme="@style/ThemeCamera" 305 android:configChanges="orientation|screenSize|keyboardHidden" 306 android:clearTaskOnLaunch="true" 307 android:windowSoftInputMode="stateAlwaysHidden|adjustPan"> 308 </activity> 309 <receiver android:name="com.android.gallery3d.gadget.PhotoAppWidgetProvider" 310 android:label="@string/appwidget_title"> 311 <intent-filter> 312 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> 313 </intent-filter> 314 <meta-data android:name="android.appwidget.provider" 315 android:resource="@xml/widget_info" /> 316 </receiver> 317 <receiver android:name="com.android.gallery3d.app.PackagesMonitor"> 318 <intent-filter> 319 <action android:name="android.intent.action.PACKAGE_ADDED"/> 320 <action android:name="android.intent.action.PACKAGE_REMOVED"/> 321 <action android:name="android.intent.action.PACKAGE_CHANGED"/> 322 <data android:scheme="package"/> 323 </intent-filter> 324 </receiver> 325 <receiver android:name="com.android.camera.CameraButtonIntentReceiver"> 326 <intent-filter> 327 <action android:name="android.intent.action.CAMERA_BUTTON"/> 328 </intent-filter> 329 </receiver> 330 <receiver android:name="com.android.camera.DisableCameraReceiver"> 331 <intent-filter> 332 <action android:name="android.intent.action.BOOT_COMPLETED" /> 333 </intent-filter> 334 </receiver> 335 <service android:name="com.android.gallery3d.gadget.WidgetService" 336 android:permission="android.permission.BIND_REMOTEVIEWS"/> 337 <activity android:name="com.android.gallery3d.gadget.WidgetConfigure" 338 android:configChanges="keyboardHidden|orientation|screenSize" 339 android:theme="@style/android:Theme.Translucent.NoTitleBar"> 340 <intent-filter> 341 <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" /> 342 </intent-filter> 343 </activity> 344 </application> 345 </manifest> 346