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