blob: c907da177a5e0af4cd746a515b579b367c99afc4 [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"
39 android:hardwareAccelerated="true">
40 <uses-library android:name="com.google.android.media.effects" android:required="false" />
Owen Linf9a0a432011-08-17 22:07:43 +080041 <activity android:name="com.android.gallery3d.app.MovieActivity"
42 android:label="@string/movie_view_label"
Owen Lin89d07532011-12-12 15:07:28 +080043 android:theme="@style/Theme.MovieActivity"
Owen Linf9a0a432011-08-17 22:07:43 +080044 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"
211 android:label="@string/photoeditor_name"
212 android:theme="@android:style/Theme.Holo.NoActionBar.Fullscreen"
213 android:configChanges="keyboardHidden|orientation|screenSize"
214 android:hardwareAccelerated="true">
215 <intent-filter>
216 <action android:name="android.intent.action.EDIT" />
217 <data android:mimeType="image/*" />
218 <category android:name="android.intent.category.DEFAULT" />
219 </intent-filter>
220 </activity>
Ruei-sung Lind37ff2e2011-09-19 14:33:17 +0800221 <uses-library android:name="com.google.android.media.effects"
222 android:required="false" />
Owen Linf9a0a432011-08-17 22:07:43 +0800223
224 <activity android:name="com.android.gallery3d.app.SlideshowDream"
Ruei-sung Lind37ff2e2011-09-19 14:33:17 +0800225 android:label="@string/slideshow_dream_name"
226 android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen"
227 android:hardwareAccelerated="true">
Owen Linf9a0a432011-08-17 22:07:43 +0800228 <intent-filter>
229 <action android:name="android.intent.action.MAIN" />
230 <category android:name="android.intent.category.DEFAULT" />
231 <category android:name="android.intent.category.DREAM" />
232 </intent-filter>
233 </activity>
234
235 <activity android:name="com.android.gallery3d.settings.GallerySettings"
Owen Lin21cd97f2011-09-13 10:45:22 +0800236 android:theme="@android:style/Theme.Holo"
Owen Linf9a0a432011-08-17 22:07:43 +0800237 android:configChanges="orientation|keyboardHidden|screenSize" />
238
239 <provider android:name="com.android.gallery3d.provider.GalleryProvider"
240 android:syncable="false"
241 android:grantUriPermissions="true"
242 android:authorities="com.android.gallery3d.provider" />
Owen Lind6db8ea2011-08-18 21:48:19 +0800243 <activity android:name="com.android.gallery3d.gadget.WidgetClickHandler" />
Owen Linf9a0a432011-08-17 22:07:43 +0800244 <activity android:name="com.android.gallery3d.app.DialogPicker"
245 android:configChanges="keyboardHidden|orientation|screenSize"
246 android:theme="@style/DialogPickerTheme"/>
247 <activity android:name="com.android.gallery3d.app.AlbumPicker"
248 android:configChanges="keyboardHidden|orientation|screenSize"
249 android:theme="@style/DialogPickerTheme"/>
Owen Lind6db8ea2011-08-18 21:48:19 +0800250 <activity android:name="com.android.gallery3d.gadget.WidgetTypeChooser"
Owen Linf9a0a432011-08-17 22:07:43 +0800251 android:configChanges="keyboardHidden|orientation|screenSize"
Chih-Chung Chang63764782012-03-08 20:10:53 +0800252 android:theme="@android:style/Theme.Holo.Dialog"/>
Owen Linf9a0a432011-08-17 22:07:43 +0800253
Chih-Chung Chang63764782012-03-08 20:10:53 +0800254 <activity android:name="com.android.camera.Camera"
Chih-Chung Chang2250dfb2012-03-13 12:28:02 +0800255 android:taskAffinity="com.android.camera"
Chih-Chung Chang63764782012-03-08 20:10:53 +0800256 android:label="@string/camera_label"
257 android:theme="@style/ThemeCamera"
258 android:icon="@mipmap/ic_launcher_camera"
259 android:configChanges="orientation|screenSize|keyboardHidden"
260 android:clearTaskOnLaunch="true"
261 android:screenOrientation="behind"
262 android:windowSoftInputMode="stateAlwaysHidden|adjustPan">
263 <intent-filter>
264 <action android:name="android.intent.action.MAIN" />
265 <category android:name="android.intent.category.DEFAULT" />
266 <category android:name="android.intent.category.LAUNCHER" />
267 </intent-filter>
268 <intent-filter>
269 <action android:name="android.media.action.IMAGE_CAPTURE" />
270 <category android:name="android.intent.category.DEFAULT" />
271 </intent-filter>
272 <intent-filter>
273 <action android:name="android.media.action.STILL_IMAGE_CAMERA" />
274 <category android:name="android.intent.category.DEFAULT" />
275 </intent-filter>
276 </activity>
277 <activity android:name="com.android.camera.VideoCamera"
Chih-Chung Chang2250dfb2012-03-13 12:28:02 +0800278 android:taskAffinity="com.android.camera"
Chih-Chung Chang63764782012-03-08 20:10:53 +0800279 android:label="@string/video_camera_label"
280 android:theme="@style/ThemeCamera"
281 android:configChanges="orientation|screenSize|keyboardHidden"
282 android:icon="@mipmap/ic_launcher_video_camera"
283 android:clearTaskOnLaunch="true"
284 android:screenOrientation="behind"
285 android:windowSoftInputMode="stateAlwaysHidden|adjustPan">
286 <intent-filter>
287 <action android:name="android.media.action.VIDEO_CAMERA" />
288 <category android:name="android.intent.category.DEFAULT" />
289 </intent-filter>
290 <intent-filter>
291 <action android:name="android.media.action.VIDEO_CAPTURE" />
292 <category android:name="android.intent.category.DEFAULT" />
293 </intent-filter>
294 </activity>
Pin Tingfb46bf82012-03-15 14:46:53 +0800295 <activity android:name="com.android.camera.PanoramaActivity"
Chih-Chung Chang2250dfb2012-03-13 12:28:02 +0800296 android:taskAffinity="com.android.camera"
Chih-Chung Chang63764782012-03-08 20:10:53 +0800297 android:label="@string/pano_dialog_title"
298 android:theme="@style/ThemeCamera"
299 android:configChanges="orientation|screenSize|keyboardHidden"
300 android:clearTaskOnLaunch="true"
301 android:screenOrientation="behind"
Wu-cheng Li5320ee42012-03-19 15:42:27 +0800302 android:windowSoftInputMode="stateAlwaysHidden|adjustPan">
Chih-Chung Chang63764782012-03-08 20:10:53 +0800303 </activity>
Owen Lind6db8ea2011-08-18 21:48:19 +0800304 <receiver android:name="com.android.gallery3d.gadget.PhotoAppWidgetProvider"
Owen Linf9a0a432011-08-17 22:07:43 +0800305 android:label="@string/appwidget_title">
306 <intent-filter>
307 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
308 </intent-filter>
309 <meta-data android:name="android.appwidget.provider"
310 android:resource="@xml/widget_info" />
311 </receiver>
312 <receiver android:name="com.android.gallery3d.app.PackagesMonitor">
313 <intent-filter>
314 <action android:name="android.intent.action.PACKAGE_ADDED"/>
315 <action android:name="android.intent.action.PACKAGE_REMOVED"/>
Chih-Chung Changd0915382011-11-30 14:32:35 +0800316 <action android:name="android.intent.action.PACKAGE_CHANGED"/>
Owen Linf9a0a432011-08-17 22:07:43 +0800317 <data android:scheme="package"/>
318 </intent-filter>
319 </receiver>
Chih-Chung Chang63764782012-03-08 20:10:53 +0800320 <receiver android:name="com.android.camera.CameraButtonIntentReceiver">
321 <intent-filter>
322 <action android:name="android.intent.action.CAMERA_BUTTON"/>
323 </intent-filter>
324 </receiver>
Chih-Chung Changa27fc9e2012-03-12 16:04:59 +0800325 <receiver android:name="com.android.camera.DisableCameraReceiver">
326 <intent-filter>
327 <action android:name="android.intent.action.BOOT_COMPLETED" />
328 </intent-filter>
329 </receiver>
Owen Lind6db8ea2011-08-18 21:48:19 +0800330 <service android:name="com.android.gallery3d.gadget.WidgetService"
Owen Linf9a0a432011-08-17 22:07:43 +0800331 android:permission="android.permission.BIND_REMOTEVIEWS"/>
Owen Lind6db8ea2011-08-18 21:48:19 +0800332 <activity android:name="com.android.gallery3d.gadget.WidgetConfigure"
Owen Linf9a0a432011-08-17 22:07:43 +0800333 android:configChanges="keyboardHidden|orientation|screenSize"
334 android:theme="@style/android:Theme.Translucent.NoTitleBar">
335 <intent-filter>
336 <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
337 </intent-filter>
338 </activity>
339 </application>
340</manifest>