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" /> 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" /> 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" 26 android:theme="@style/CustomTheme" 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" 45 android:label="@string/video_camera_label" 46 android:configChanges="orientation|keyboardHidden" 47 android:icon="@drawable/ic_launcher_video_camera" 48 android:theme="@style/CustomTheme" 49 android:screenOrientation="landscape" 50 android:clearTaskOnLaunch="true" 51 android:taskAffinity="android.task.camcorder"> 52 <intent-filter> 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 </activity> 67 <activity android:name="ImageGallery" android:label="@string/gallery_label" 68 android:configChanges="orientation|keyboardHidden" 69 android:icon="@drawable/ic_launcher_gallery"> 70 </activity> 71 <activity android:name="CropImage" 72 android:process=":CropImage" 73 android:configChanges="orientation|keyboardHidden" 74 android:label="@string/crop_label"> 75 </activity> 76 <activity android:name="ReviewImage" 77 android:label="@string/view_label" 78 android:theme="@style/CustomTheme" 79 android:screenOrientation="behind" 80 android:configChanges="orientation|keyboardHidden" 81 android:exported="true"> 82 </activity> 83 <activity android:name="ViewImage" 84 android:label="@string/view_label" 85 android:screenOrientation="behind" 86 android:configChanges="orientation|keyboardHidden"> 87 </activity> 88 <activity android:name="MovieView" 89 android:label="@string/movieviewlabel" 90 android:screenOrientation="landscape" 91 android:configChanges="orientation|keyboardHidden" 92 android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen"> 93 </activity> 94 <activity android:name=".DeleteImage" 95 android:label="@string/delete_images_message" 96 android:theme="@style/Theme.DeleteImageDialog"> 97 </activity> 98 99 <activity android:name="GallerySettings" android:label="@string/preferences_label"> 100 </activity> 101 102 <activity android:name=".Wallpaper" 103 android:label="@string/camera_setas_wallpaper" 104 android:icon="@drawable/ic_launcher_gallery"> 105 </activity> 106 107 <activity android:name=".PickWallpaper" 108 android:label="@string/camera_pick_wallpaper" 109 android:icon="@drawable/ic_launcher_gallery"> 110 </activity> 111 112 <!-- We configure a widget by asking to pick a photo, then crop it, and store the config internally --> 113 <activity android:name="PhotoAppWidgetConfigure"> 114 </activity> 115 116 <!-- We also allow direct binding where the caller provides a bitmap and 117 appWidgetId to bind. We require the permission because this changes our 118 internal database without user confirmation. --> 119 <activity android:name="PhotoAppWidgetBind" android:exported="true" 120 android:theme="@android:style/Theme.NoDisplay" 121 android:permission="android.permission.BIND_APPWIDGET" /> 122 123 </application> 124</manifest> 125 126