blob: 2b89dca7f8146d18244af67cff0a3f1e5696f48a [file] [log] [blame]
Owen Linf9a0a432011-08-17 22:07:43 +08001<?xml version="1.0" encoding="utf-8"?>
2
Chih-Chung Chang63764782012-03-08 20:10:53 +08003<manifest android:versionCode="40000"
4 android:versionName="1.1.40000"
Owen Linf9a0a432011-08-17 22:07:43 +08005 xmlns:android="http://schemas.android.com/apk/res/android"
6 package="com.android.gallery3d">
7
8 <original-package android:name="com.android.gallery3d" />
9
Wu-cheng Lia50a00a2012-08-01 15:47:08 +080010 <uses-sdk android:minSdkVersion="11" android:targetSdkVersion="16" />
Chih-Chung Chang63764782012-03-08 20:10:53 +080011
Owen Linf9a0a432011-08-17 22:07:43 +080012 <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" />
Chih-Chung Chang63764782012-03-08 20:10:53 +080015 <uses-permission android:name="android.permission.CAMERA" />
Owen Linf9a0a432011-08-17 22:07:43 +080016 <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" />
Martijn Coenen33ef0372012-03-26 18:25:50 -070019 <uses-permission android:name="android.permission.NFC" />
Chih-Chung Chang63764782012-03-08 20:10:53 +080020 <uses-permission android:name="android.permission.READ_SMS" />
Owen Linf9a0a432011-08-17 22:07:43 +080021 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
Chih-Chung Changa27fc9e2012-03-12 16:04:59 +080022 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
Chih-Chung Chang63764782012-03-08 20:10:53 +080023 <uses-permission android:name="android.permission.RECORD_AUDIO" />
Owen Linf9a0a432011-08-17 22:07:43 +080024 <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" />
Owen Linf9a0a432011-08-17 22:07:43 +080029 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
Chih-Chung Chang63764782012-03-08 20:10:53 +080030 <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
Owen Linf9a0a432011-08-17 22:07:43 +080031
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"
Chih-Chung Chang63764782012-03-08 20:10:53 +080038 android:theme="@style/Theme.Gallery"
Wu-cheng Li680ab6c2012-04-30 17:43:01 +080039 android:logo="@mipmap/ic_launcher_gallery"
Chih-Chung Chang63764782012-03-08 20:10:53 +080040 android:hardwareAccelerated="true">
41 <uses-library android:name="com.google.android.media.effects" android:required="false" />
Owen Linf9a0a432011-08-17 22:07:43 +080042 <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" />
Chih-Chung Chang4c894782011-10-31 11:23:43 +080065 <data android:mimeType="video/avi" />
Owen Linf9a0a432011-08-17 22:07:43 +080066 <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" />
Chih-Chung Chang360f1db2011-10-24 16:45:02 +080074 <data android:scheme="https" />
Owen Linf9a0a432011-08-17 22:07:43 +080075 <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>
Owen Lind6db8ea2011-08-18 21:48:19 +080081
Owen Linf9a0a432011-08-17 22:07:43 +080082 <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" />
Jeff Brown4b8b92d2011-11-28 17:23:56 -080086 <category android:name="android.intent.category.DEFAULT" />
Owen Linf9a0a432011-08-17 22:07:43 +080087 <category android:name="android.intent.category.LAUNCHER" />
Jeff Brown4b8b92d2011-11-28 17:23:56 -080088 <category android:name="android.intent.category.APP_GALLERY" />
Owen Linf9a0a432011-08-17 22:07:43 +080089 </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
Owen Lin2733d792011-09-01 14:11:19 +0800156 <!-- 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"
Chih-Chung Chang4c894782011-10-31 11:23:43 +0800161 android:label="@string/app_name">
Owen Lin2733d792011-09-01 14:11:19 +0800162 <intent-filter>
163 <action android:name="android.intent.action.MAIN" />
164 </intent-filter>
165 </activity-alias>
166
Owen Linf9a0a432011-08-17 22:07:43 +0800167 <!-- 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"
Chih-Chung Chang338d0292011-09-29 13:34:18 +0800195 android:label="@string/crop_label"
196 android:process=":crop">
Owen Linf9a0a432011-08-17 22:07:43 +0800197 <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>
Yuli Huang6a12ad72011-09-12 22:25:30 +0800210 <activity android:name="com.android.gallery3d.photoeditor.PhotoEditor"
Chih-Chung Chang90fff682012-05-31 13:34:15 -0700211 android:label="@string/app_name"
Yuli Huang6a12ad72011-09-12 22:25:30 +0800212 android:theme="@android:style/Theme.Holo.NoActionBar.Fullscreen"
213 android:configChanges="keyboardHidden|orientation|screenSize"
Yuli Huang5e1b1152012-05-07 18:13:29 +0800214 android:hardwareAccelerated="true"
215 android:process=":edit">
Yuli Huang6a12ad72011-09-12 22:25:30 +0800216 <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>
Ruei-sung Lind37ff2e2011-09-19 14:33:17 +0800222 <uses-library android:name="com.google.android.media.effects"
223 android:required="false" />
Owen Linf9a0a432011-08-17 22:07:43 +0800224
225 <activity android:name="com.android.gallery3d.app.SlideshowDream"
Ruei-sung Lind37ff2e2011-09-19 14:33:17 +0800226 android:label="@string/slideshow_dream_name"
227 android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen"
228 android:hardwareAccelerated="true">
Owen Linf9a0a432011-08-17 22:07:43 +0800229 <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"
Owen Lin21cd97f2011-09-13 10:45:22 +0800237 android:theme="@android:style/Theme.Holo"
Owen Linf9a0a432011-08-17 22:07:43 +0800238 android:configChanges="orientation|keyboardHidden|screenSize" />
239
240 <provider android:name="com.android.gallery3d.provider.GalleryProvider"
241 android:syncable="false"
242 android:grantUriPermissions="true"
Nick Kraleviche8e80ba2012-08-03 15:50:39 -0700243 android:exported="true"
Owen Linf9a0a432011-08-17 22:07:43 +0800244 android:authorities="com.android.gallery3d.provider" />
Owen Lind6db8ea2011-08-18 21:48:19 +0800245 <activity android:name="com.android.gallery3d.gadget.WidgetClickHandler" />
Owen Linf9a0a432011-08-17 22:07:43 +0800246 <activity android:name="com.android.gallery3d.app.DialogPicker"
247 android:configChanges="keyboardHidden|orientation|screenSize"
248 android:theme="@style/DialogPickerTheme"/>
249 <activity android:name="com.android.gallery3d.app.AlbumPicker"
250 android:configChanges="keyboardHidden|orientation|screenSize"
251 android:theme="@style/DialogPickerTheme"/>
Owen Lind6db8ea2011-08-18 21:48:19 +0800252 <activity android:name="com.android.gallery3d.gadget.WidgetTypeChooser"
Owen Linf9a0a432011-08-17 22:07:43 +0800253 android:configChanges="keyboardHidden|orientation|screenSize"
Chih-Chung Chang63764782012-03-08 20:10:53 +0800254 android:theme="@android:style/Theme.Holo.Dialog"/>
Owen Linf9a0a432011-08-17 22:07:43 +0800255
Chih-Chung Chang63764782012-03-08 20:10:53 +0800256 <activity android:name="com.android.camera.Camera"
Chih-Chung Chang2250dfb2012-03-13 12:28:02 +0800257 android:taskAffinity="com.android.camera"
Chih-Chung Chang63764782012-03-08 20:10:53 +0800258 android:label="@string/camera_label"
259 android:theme="@style/ThemeCamera"
260 android:icon="@mipmap/ic_launcher_camera"
261 android:configChanges="orientation|screenSize|keyboardHidden"
262 android:clearTaskOnLaunch="true"
Chih-Chung Chang63764782012-03-08 20:10:53 +0800263 android:windowSoftInputMode="stateAlwaysHidden|adjustPan">
264 <intent-filter>
Chih-Chung Chang63764782012-03-08 20:10:53 +0800265 <action android:name="android.media.action.IMAGE_CAPTURE" />
266 <category android:name="android.intent.category.DEFAULT" />
267 </intent-filter>
268 <intent-filter>
269 <action android:name="android.media.action.STILL_IMAGE_CAMERA" />
270 <category android:name="android.intent.category.DEFAULT" />
271 </intent-filter>
272 </activity>
Chih-Chung Changafb49dc2012-05-04 15:26:02 +0800273
274 <activity-alias android:icon="@mipmap/ic_launcher_camera"
275 android:label="@string/camera_label"
276 android:name="com.android.camera.CameraLauncher"
277 android:targetActivity="com.android.camera.Camera" >
278 <intent-filter>
279 <action android:name="android.intent.action.MAIN" />
280 <category android:name="android.intent.category.DEFAULT" />
281 <category android:name="android.intent.category.LAUNCHER" />
282 </intent-filter>
283 </activity-alias>
284
Chih-Chung Chang63764782012-03-08 20:10:53 +0800285 <activity android:name="com.android.camera.VideoCamera"
Chih-Chung Chang2250dfb2012-03-13 12:28:02 +0800286 android:taskAffinity="com.android.camera"
Chih-Chung Chang63764782012-03-08 20:10:53 +0800287 android:label="@string/video_camera_label"
288 android:theme="@style/ThemeCamera"
289 android:configChanges="orientation|screenSize|keyboardHidden"
290 android:icon="@mipmap/ic_launcher_video_camera"
291 android:clearTaskOnLaunch="true"
Chih-Chung Chang63764782012-03-08 20:10:53 +0800292 android:windowSoftInputMode="stateAlwaysHidden|adjustPan">
293 <intent-filter>
294 <action android:name="android.media.action.VIDEO_CAMERA" />
295 <category android:name="android.intent.category.DEFAULT" />
296 </intent-filter>
297 <intent-filter>
298 <action android:name="android.media.action.VIDEO_CAPTURE" />
299 <category android:name="android.intent.category.DEFAULT" />
300 </intent-filter>
301 </activity>
Pin Tingfb46bf82012-03-15 14:46:53 +0800302 <activity android:name="com.android.camera.PanoramaActivity"
Chih-Chung Chang2250dfb2012-03-13 12:28:02 +0800303 android:taskAffinity="com.android.camera"
Chih-Chung Chang63764782012-03-08 20:10:53 +0800304 android:label="@string/pano_dialog_title"
305 android:theme="@style/ThemeCamera"
306 android:configChanges="orientation|screenSize|keyboardHidden"
307 android:clearTaskOnLaunch="true"
Wu-cheng Li5320ee42012-03-19 15:42:27 +0800308 android:windowSoftInputMode="stateAlwaysHidden|adjustPan">
Chih-Chung Chang63764782012-03-08 20:10:53 +0800309 </activity>
Owen Lind6db8ea2011-08-18 21:48:19 +0800310 <receiver android:name="com.android.gallery3d.gadget.PhotoAppWidgetProvider"
Owen Linf9a0a432011-08-17 22:07:43 +0800311 android:label="@string/appwidget_title">
312 <intent-filter>
313 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
314 </intent-filter>
315 <meta-data android:name="android.appwidget.provider"
316 android:resource="@xml/widget_info" />
317 </receiver>
318 <receiver android:name="com.android.gallery3d.app.PackagesMonitor">
319 <intent-filter>
320 <action android:name="android.intent.action.PACKAGE_ADDED"/>
321 <action android:name="android.intent.action.PACKAGE_REMOVED"/>
Chih-Chung Changd0915382011-11-30 14:32:35 +0800322 <action android:name="android.intent.action.PACKAGE_CHANGED"/>
Owen Linf9a0a432011-08-17 22:07:43 +0800323 <data android:scheme="package"/>
324 </intent-filter>
325 </receiver>
Hung-ying Tyana56270e2012-06-27 18:25:47 +0800326 <service android:name="com.android.gallery3d.app.PackagesMonitor$AsyncService"/>
Chih-Chung Chang63764782012-03-08 20:10:53 +0800327 <receiver android:name="com.android.camera.CameraButtonIntentReceiver">
328 <intent-filter>
329 <action android:name="android.intent.action.CAMERA_BUTTON"/>
330 </intent-filter>
331 </receiver>
Chih-Chung Changa27fc9e2012-03-12 16:04:59 +0800332 <receiver android:name="com.android.camera.DisableCameraReceiver">
333 <intent-filter>
334 <action android:name="android.intent.action.BOOT_COMPLETED" />
335 </intent-filter>
336 </receiver>
Owen Lind6db8ea2011-08-18 21:48:19 +0800337 <service android:name="com.android.gallery3d.gadget.WidgetService"
Owen Linf9a0a432011-08-17 22:07:43 +0800338 android:permission="android.permission.BIND_REMOTEVIEWS"/>
Owen Lind6db8ea2011-08-18 21:48:19 +0800339 <activity android:name="com.android.gallery3d.gadget.WidgetConfigure"
Owen Linf9a0a432011-08-17 22:07:43 +0800340 android:configChanges="keyboardHidden|orientation|screenSize"
341 android:theme="@style/android:Theme.Translucent.NoTitleBar">
342 <intent-filter>
343 <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
344 </intent-filter>
345 </activity>
346 </application>
347</manifest>