blob: 2a69ce1e308528797156656309448044186c3e64 [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
Chih-Chung Chang63764782012-03-08 20:10:53 +080010 <uses-sdk android:minSdkVersion="14" />
11
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"
243 android:authorities="com.android.gallery3d.provider" />
Owen Lind6db8ea2011-08-18 21:48:19 +0800244 <activity android:name="com.android.gallery3d.gadget.WidgetClickHandler" />
Owen Linf9a0a432011-08-17 22:07:43 +0800245 <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"/>
Owen Lind6db8ea2011-08-18 21:48:19 +0800251 <activity android:name="com.android.gallery3d.gadget.WidgetTypeChooser"
Owen Linf9a0a432011-08-17 22:07:43 +0800252 android:configChanges="keyboardHidden|orientation|screenSize"
Chih-Chung Chang63764782012-03-08 20:10:53 +0800253 android:theme="@android:style/Theme.Holo.Dialog"/>
Owen Linf9a0a432011-08-17 22:07:43 +0800254
Chih-Chung Chang63764782012-03-08 20:10:53 +0800255 <activity android:name="com.android.camera.Camera"
Chih-Chung Chang2250dfb2012-03-13 12:28:02 +0800256 android:taskAffinity="com.android.camera"
Chih-Chung Chang63764782012-03-08 20:10:53 +0800257 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"
Chih-Chung Chang63764782012-03-08 20:10:53 +0800262 android:windowSoftInputMode="stateAlwaysHidden|adjustPan">
263 <intent-filter>
Chih-Chung Chang63764782012-03-08 20:10:53 +0800264 <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>
Chih-Chung Changafb49dc2012-05-04 15:26:02 +0800272
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
Chih-Chung Chang63764782012-03-08 20:10:53 +0800284 <activity android:name="com.android.camera.VideoCamera"
Chih-Chung Chang2250dfb2012-03-13 12:28:02 +0800285 android:taskAffinity="com.android.camera"
Chih-Chung Chang63764782012-03-08 20:10:53 +0800286 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"
Chih-Chung Chang63764782012-03-08 20:10:53 +0800291 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>
Pin Tingfb46bf82012-03-15 14:46:53 +0800301 <activity android:name="com.android.camera.PanoramaActivity"
Chih-Chung Chang2250dfb2012-03-13 12:28:02 +0800302 android:taskAffinity="com.android.camera"
Chih-Chung Chang63764782012-03-08 20:10:53 +0800303 android:label="@string/pano_dialog_title"
304 android:theme="@style/ThemeCamera"
305 android:configChanges="orientation|screenSize|keyboardHidden"
306 android:clearTaskOnLaunch="true"
Wu-cheng Li5320ee42012-03-19 15:42:27 +0800307 android:windowSoftInputMode="stateAlwaysHidden|adjustPan">
Chih-Chung Chang63764782012-03-08 20:10:53 +0800308 </activity>
Owen Lind6db8ea2011-08-18 21:48:19 +0800309 <receiver android:name="com.android.gallery3d.gadget.PhotoAppWidgetProvider"
Owen Linf9a0a432011-08-17 22:07:43 +0800310 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"/>
Chih-Chung Changd0915382011-11-30 14:32:35 +0800321 <action android:name="android.intent.action.PACKAGE_CHANGED"/>
Owen Linf9a0a432011-08-17 22:07:43 +0800322 <data android:scheme="package"/>
323 </intent-filter>
324 </receiver>
Chih-Chung Chang63764782012-03-08 20:10:53 +0800325 <receiver android:name="com.android.camera.CameraButtonIntentReceiver">
326 <intent-filter>
327 <action android:name="android.intent.action.CAMERA_BUTTON"/>
328 </intent-filter>
329 </receiver>
Chih-Chung Changa27fc9e2012-03-12 16:04:59 +0800330 <receiver android:name="com.android.camera.DisableCameraReceiver">
331 <intent-filter>
332 <action android:name="android.intent.action.BOOT_COMPLETED" />
333 </intent-filter>
334 </receiver>
Owen Lind6db8ea2011-08-18 21:48:19 +0800335 <service android:name="com.android.gallery3d.gadget.WidgetService"
Owen Linf9a0a432011-08-17 22:07:43 +0800336 android:permission="android.permission.BIND_REMOTEVIEWS"/>
Owen Lind6db8ea2011-08-18 21:48:19 +0800337 <activity android:name="com.android.gallery3d.gadget.WidgetConfigure"
Owen Linf9a0a432011-08-17 22:07:43 +0800338 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>