blob: 3a755ccb5c92bab084f4811f50e49bb7f39de50c [file] [log] [blame]
Owen Linb540ef12011-08-17 22:07:43 +08001<?xml version="1.0" encoding="utf-8"?>
2
Chih-Chung Chang00739432012-03-08 20:10:53 +08003<manifest android:versionCode="40000"
4 android:versionName="1.1.40000"
Owen Linb540ef12011-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 Lib69655f2012-08-08 17:19:51 +080010 <uses-sdk android:minSdkVersion="10" android:targetSdkVersion="16" />
Chih-Chung Chang00739432012-03-08 20:10:53 +080011
Owen Linb540ef12011-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 Chang00739432012-03-08 20:10:53 +080015 <uses-permission android:name="android.permission.CAMERA" />
Owen Linb540ef12011-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 Coenena453f332012-03-26 18:25:50 -070019 <uses-permission android:name="android.permission.NFC" />
Chih-Chung Chang00739432012-03-08 20:10:53 +080020 <uses-permission android:name="android.permission.READ_SMS" />
Owen Linb540ef12011-08-17 22:07:43 +080021 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
Chih-Chung Chang4f19a072012-03-12 16:04:59 +080022 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
Chih-Chung Chang00739432012-03-08 20:10:53 +080023 <uses-permission android:name="android.permission.RECORD_AUDIO" />
Owen Linb540ef12011-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 Linb540ef12011-08-17 22:07:43 +080029 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
Chih-Chung Chang00739432012-03-08 20:10:53 +080030 <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
Owen Linb540ef12011-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 Chang00739432012-03-08 20:10:53 +080038 android:theme="@style/Theme.Gallery"
Wu-cheng Lie9faef72012-04-30 17:43:01 +080039 android:logo="@mipmap/ic_launcher_gallery"
Chih-Chung Chang00739432012-03-08 20:10:53 +080040 android:hardwareAccelerated="true">
41 <uses-library android:name="com.google.android.media.effects" android:required="false" />
Owen Linb540ef12011-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 Chang62485ff2011-10-31 11:23:43 +080065 <data android:mimeType="video/avi" />
Owen Linb540ef12011-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 Chang59c91f02011-10-24 16:45:02 +080074 <data android:scheme="https" />
Owen Linb540ef12011-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 Lin78768052011-08-18 21:48:19 +080081
Owen Linb540ef12011-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 Brown1c30c012011-11-28 17:23:56 -080086 <category android:name="android.intent.category.DEFAULT" />
Owen Linb540ef12011-08-17 22:07:43 +080087 <category android:name="android.intent.category.LAUNCHER" />
Jeff Brown1c30c012011-11-28 17:23:56 -080088 <category android:name="android.intent.category.APP_GALLERY" />
Owen Linb540ef12011-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 Lin4d888ed2011-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 Chang62485ff2011-10-31 11:23:43 +0800161 android:label="@string/app_name">
Owen Lin4d888ed2011-09-01 14:11:19 +0800162 <intent-filter>
163 <action android:name="android.intent.action.MAIN" />
164 </intent-filter>
165 </activity-alias>
166
Owen Linb540ef12011-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 Chang7f837852011-09-29 13:34:18 +0800195 android:label="@string/crop_label"
196 android:process=":crop">
Owen Linb540ef12011-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 Huang00e51f92011-09-12 22:25:30 +0800210 <activity android:name="com.android.gallery3d.photoeditor.PhotoEditor"
Chih-Chung Changb123d222012-05-31 13:34:15 -0700211 android:label="@string/app_name"
Yuli Huang00e51f92011-09-12 22:25:30 +0800212 android:theme="@android:style/Theme.Holo.NoActionBar.Fullscreen"
213 android:configChanges="keyboardHidden|orientation|screenSize"
Yuli Huangce2b3e02012-05-07 18:13:29 +0800214 android:hardwareAccelerated="true"
Yuli Huangb0102e92012-08-06 17:55:30 +0800215 android:process=":edit"
216 android:enabled="false">
Yuli Huang00e51f92011-09-12 22:25:30 +0800217 <intent-filter>
218 <action android:name="android.intent.action.EDIT" />
219 <data android:mimeType="image/*" />
220 <category android:name="android.intent.category.DEFAULT" />
221 </intent-filter>
222 </activity>
Ruei-sung Lin103febb2011-09-19 14:33:17 +0800223 <uses-library android:name="com.google.android.media.effects"
224 android:required="false" />
Owen Linb540ef12011-08-17 22:07:43 +0800225
226 <activity android:name="com.android.gallery3d.app.SlideshowDream"
Ruei-sung Lin103febb2011-09-19 14:33:17 +0800227 android:label="@string/slideshow_dream_name"
228 android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen"
229 android:hardwareAccelerated="true">
Owen Linb540ef12011-08-17 22:07:43 +0800230 <intent-filter>
231 <action android:name="android.intent.action.MAIN" />
232 <category android:name="android.intent.category.DEFAULT" />
233 <category android:name="android.intent.category.DREAM" />
234 </intent-filter>
235 </activity>
236
237 <activity android:name="com.android.gallery3d.settings.GallerySettings"
Ahbong Chang5fc3e592012-08-21 14:06:51 +0800238 android:theme="@style/Theme.Gallery"
Owen Linb540ef12011-08-17 22:07:43 +0800239 android:configChanges="orientation|keyboardHidden|screenSize" />
240
241 <provider android:name="com.android.gallery3d.provider.GalleryProvider"
242 android:syncable="false"
243 android:grantUriPermissions="true"
Nick Kralevich3624abe2012-08-03 15:50:39 -0700244 android:exported="true"
Owen Linb540ef12011-08-17 22:07:43 +0800245 android:authorities="com.android.gallery3d.provider" />
Owen Lin78768052011-08-18 21:48:19 +0800246 <activity android:name="com.android.gallery3d.gadget.WidgetClickHandler" />
Owen Linb540ef12011-08-17 22:07:43 +0800247 <activity android:name="com.android.gallery3d.app.DialogPicker"
248 android:configChanges="keyboardHidden|orientation|screenSize"
249 android:theme="@style/DialogPickerTheme"/>
250 <activity android:name="com.android.gallery3d.app.AlbumPicker"
251 android:configChanges="keyboardHidden|orientation|screenSize"
252 android:theme="@style/DialogPickerTheme"/>
Owen Lin78768052011-08-18 21:48:19 +0800253 <activity android:name="com.android.gallery3d.gadget.WidgetTypeChooser"
Owen Linb540ef12011-08-17 22:07:43 +0800254 android:configChanges="keyboardHidden|orientation|screenSize"
Ahbong Chang5fc3e592012-08-21 14:06:51 +0800255 android:theme="@style/Theme.Gallery.Dialog"/>
Owen Linb540ef12011-08-17 22:07:43 +0800256
Chih-Chung Chang00739432012-03-08 20:10:53 +0800257 <activity android:name="com.android.camera.Camera"
Chih-Chung Changdf7359e2012-03-13 12:28:02 +0800258 android:taskAffinity="com.android.camera"
Chih-Chung Chang00739432012-03-08 20:10:53 +0800259 android:label="@string/camera_label"
Wu-cheng Lic6675302012-08-14 16:21:00 +0800260 android:theme="@style/Theme.Camera"
Chih-Chung Chang00739432012-03-08 20:10:53 +0800261 android:icon="@mipmap/ic_launcher_camera"
262 android:configChanges="orientation|screenSize|keyboardHidden"
263 android:clearTaskOnLaunch="true"
Chih-Chung Chang00739432012-03-08 20:10:53 +0800264 android:windowSoftInputMode="stateAlwaysHidden|adjustPan">
265 <intent-filter>
Chih-Chung Chang00739432012-03-08 20:10:53 +0800266 <action android:name="android.media.action.IMAGE_CAPTURE" />
267 <category android:name="android.intent.category.DEFAULT" />
268 </intent-filter>
269 <intent-filter>
270 <action android:name="android.media.action.STILL_IMAGE_CAMERA" />
271 <category android:name="android.intent.category.DEFAULT" />
272 </intent-filter>
Wu-cheng Li3da9ced2012-08-26 23:53:13 +0800273 <intent-filter>
274 <action android:name="android.media.action.STILL_IMAGE_CAMERA_SECURE" />
275 <category android:name="android.intent.category.DEFAULT" />
276 </intent-filter>
Chih-Chung Chang00739432012-03-08 20:10:53 +0800277 </activity>
Chih-Chung Changaa29fad2012-05-04 15:26:02 +0800278
279 <activity-alias android:icon="@mipmap/ic_launcher_camera"
280 android:label="@string/camera_label"
281 android:name="com.android.camera.CameraLauncher"
282 android:targetActivity="com.android.camera.Camera" >
283 <intent-filter>
284 <action android:name="android.intent.action.MAIN" />
285 <category android:name="android.intent.category.DEFAULT" />
286 <category android:name="android.intent.category.LAUNCHER" />
287 </intent-filter>
288 </activity-alias>
289
Michael Kolb645cf9f2012-09-10 15:14:56 -0700290 <activity android:name="com.android.camera.CameraActivity"
291 android:taskAffinity="com.google.android.camera"
292 android:label="@string/camera_label"
293 android:theme="@style/Theme.Camera"
294 android:icon="@drawable/ic_switch_camera_holo_light"
295 android:configChanges="orientation|screenSize|keyboardHidden"
296 android:clearTaskOnLaunch="true"
297 android:windowSoftInputMode="stateAlwaysHidden|adjustPan">
298 <intent-filter>
299 <action android:name="android.intent.action.MAIN" />
300 <category android:name="android.intent.category.DEFAULT" />
301 <category android:name="android.intent.category.LAUNCHER" />
302 </intent-filter>
303 </activity>
304
Chih-Chung Chang00739432012-03-08 20:10:53 +0800305 <activity android:name="com.android.camera.VideoCamera"
Chih-Chung Changdf7359e2012-03-13 12:28:02 +0800306 android:taskAffinity="com.android.camera"
Chih-Chung Chang00739432012-03-08 20:10:53 +0800307 android:label="@string/video_camera_label"
Wu-cheng Lic6675302012-08-14 16:21:00 +0800308 android:theme="@style/Theme.Camera"
Chih-Chung Chang00739432012-03-08 20:10:53 +0800309 android:configChanges="orientation|screenSize|keyboardHidden"
310 android:icon="@mipmap/ic_launcher_video_camera"
311 android:clearTaskOnLaunch="true"
Chih-Chung Chang00739432012-03-08 20:10:53 +0800312 android:windowSoftInputMode="stateAlwaysHidden|adjustPan">
313 <intent-filter>
314 <action android:name="android.media.action.VIDEO_CAMERA" />
315 <category android:name="android.intent.category.DEFAULT" />
316 </intent-filter>
317 <intent-filter>
318 <action android:name="android.media.action.VIDEO_CAPTURE" />
319 <category android:name="android.intent.category.DEFAULT" />
320 </intent-filter>
321 </activity>
Pin Tingf56d0972012-03-15 14:46:53 +0800322 <activity android:name="com.android.camera.PanoramaActivity"
Chih-Chung Changdf7359e2012-03-13 12:28:02 +0800323 android:taskAffinity="com.android.camera"
Chih-Chung Chang00739432012-03-08 20:10:53 +0800324 android:label="@string/pano_dialog_title"
Wu-cheng Lic6675302012-08-14 16:21:00 +0800325 android:theme="@style/Theme.Camera"
Chih-Chung Chang00739432012-03-08 20:10:53 +0800326 android:configChanges="orientation|screenSize|keyboardHidden"
327 android:clearTaskOnLaunch="true"
Wu-cheng Li0ac559a2012-03-19 15:42:27 +0800328 android:windowSoftInputMode="stateAlwaysHidden|adjustPan">
Chih-Chung Chang00739432012-03-08 20:10:53 +0800329 </activity>
Owen Lin78768052011-08-18 21:48:19 +0800330 <receiver android:name="com.android.gallery3d.gadget.PhotoAppWidgetProvider"
Owen Linb540ef12011-08-17 22:07:43 +0800331 android:label="@string/appwidget_title">
332 <intent-filter>
333 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
334 </intent-filter>
335 <meta-data android:name="android.appwidget.provider"
336 android:resource="@xml/widget_info" />
337 </receiver>
338 <receiver android:name="com.android.gallery3d.app.PackagesMonitor">
339 <intent-filter>
340 <action android:name="android.intent.action.PACKAGE_ADDED"/>
341 <action android:name="android.intent.action.PACKAGE_REMOVED"/>
Chih-Chung Change5a44c52011-11-30 14:32:35 +0800342 <action android:name="android.intent.action.PACKAGE_CHANGED"/>
Owen Linb540ef12011-08-17 22:07:43 +0800343 <data android:scheme="package"/>
344 </intent-filter>
345 </receiver>
Hung-ying Tyan74bd9982012-06-27 18:25:47 +0800346 <service android:name="com.android.gallery3d.app.PackagesMonitor$AsyncService"/>
Chih-Chung Chang00739432012-03-08 20:10:53 +0800347 <receiver android:name="com.android.camera.CameraButtonIntentReceiver">
348 <intent-filter>
349 <action android:name="android.intent.action.CAMERA_BUTTON"/>
350 </intent-filter>
351 </receiver>
Chih-Chung Chang4f19a072012-03-12 16:04:59 +0800352 <receiver android:name="com.android.camera.DisableCameraReceiver">
353 <intent-filter>
354 <action android:name="android.intent.action.BOOT_COMPLETED" />
355 </intent-filter>
356 </receiver>
Owen Lin78768052011-08-18 21:48:19 +0800357 <service android:name="com.android.gallery3d.gadget.WidgetService"
Owen Linb540ef12011-08-17 22:07:43 +0800358 android:permission="android.permission.BIND_REMOTEVIEWS"/>
Owen Lin78768052011-08-18 21:48:19 +0800359 <activity android:name="com.android.gallery3d.gadget.WidgetConfigure"
Owen Linb540ef12011-08-17 22:07:43 +0800360 android:configChanges="keyboardHidden|orientation|screenSize"
361 android:theme="@style/android:Theme.Translucent.NoTitleBar">
362 <intent-filter>
363 <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
364 </intent-filter>
365 </activity>
366 </application>
367</manifest>