blob: 24b3c3b81ebd0185a848c18c868c0ef0f89043ea [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
Chih-Chung Chang00739432012-03-08 20:10:53 +080010 <uses-sdk android:minSdkVersion="14" />
11
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" />
Chih-Chung Chang00739432012-03-08 20:10:53 +080019 <uses-permission android:name="android.permission.READ_SMS" />
Owen Linb540ef12011-08-17 22:07:43 +080020 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
Chih-Chung Chang4f19a072012-03-12 16:04:59 +080021 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
Chih-Chung Chang00739432012-03-08 20:10:53 +080022 <uses-permission android:name="android.permission.RECORD_AUDIO" />
Owen Linb540ef12011-08-17 22:07:43 +080023 <uses-permission android:name="android.permission.SET_WALLPAPER" />
24 <uses-permission android:name="android.permission.USE_CREDENTIALS" />
25 <uses-permission android:name="android.permission.VIBRATE" />
26 <uses-permission android:name="android.permission.WAKE_LOCK" />
27 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Owen Linb540ef12011-08-17 22:07:43 +080028 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
Chih-Chung Chang00739432012-03-08 20:10:53 +080029 <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
Owen Linb540ef12011-08-17 22:07:43 +080030
31 <supports-screens android:smallScreens="false"
32 android:normalScreens="true" android:largeScreens="true"
33 android:anyDensity="true" />
34
35 <application android:icon="@mipmap/ic_launcher_gallery" android:label="@string/app_name"
36 android:name="com.android.gallery3d.app.GalleryAppImpl"
Chih-Chung Chang00739432012-03-08 20:10:53 +080037 android:theme="@style/Theme.Gallery"
38 android:hardwareAccelerated="true">
39 <uses-library android:name="com.google.android.media.effects" android:required="false" />
Owen Linb540ef12011-08-17 22:07:43 +080040 <activity android:name="com.android.gallery3d.app.MovieActivity"
41 android:label="@string/movie_view_label"
Owen Linfbc9e7b2011-12-12 15:07:28 +080042 android:theme="@style/Theme.MovieActivity"
Owen Linb540ef12011-08-17 22:07:43 +080043 android:configChanges="orientation|keyboardHidden|screenSize">
44 <intent-filter>
45 <action android:name="android.intent.action.VIEW" />
46 <category android:name="android.intent.category.DEFAULT" />
47 <category android:name="android.intent.category.BROWSABLE" />
48 <data android:scheme="rtsp" />
49 </intent-filter>
50 <intent-filter>
51 <action android:name="android.intent.action.VIEW" />
52 <category android:name="android.intent.category.DEFAULT" />
53 <category android:name="android.intent.category.BROWSABLE" />
54 <data android:scheme="http" />
55 <data android:scheme="https" />
56 <data android:scheme="content" />
57 <data android:scheme="file" />
58 <data android:mimeType="video/mpeg4" />
59 <data android:mimeType="video/mp4" />
60 <data android:mimeType="video/3gp" />
61 <data android:mimeType="video/3gpp" />
62 <data android:mimeType="video/3gpp2" />
63 <data android:mimeType="video/webm" />
Chih-Chung Chang62485ff2011-10-31 11:23:43 +080064 <data android:mimeType="video/avi" />
Owen Linb540ef12011-08-17 22:07:43 +080065 <data android:mimeType="application/sdp" />
66 </intent-filter>
67 <intent-filter>
68 !-- HTTP live support -->
69 <action android:name="android.intent.action.VIEW" />
70 <category android:name="android.intent.category.DEFAULT" />
71 <category android:name="android.intent.category.BROWSABLE" />
72 <data android:scheme="http" />
Chih-Chung Chang59c91f02011-10-24 16:45:02 +080073 <data android:scheme="https" />
Owen Linb540ef12011-08-17 22:07:43 +080074 <data android:mimeType="audio/x-mpegurl" />
75 <data android:mimeType="audio/mpegurl" />
76 <data android:mimeType="application/vnd.apple.mpegurl" />
77 <data android:mimeType="application/x-mpegurl" />
78 </intent-filter>
79 </activity>
Owen Lin78768052011-08-18 21:48:19 +080080
Owen Linb540ef12011-08-17 22:07:43 +080081 <activity android:name="com.android.gallery3d.app.Gallery" android:label="@string/app_name"
82 android:configChanges="keyboardHidden|orientation|screenSize">
83 <intent-filter>
84 <action android:name="android.intent.action.MAIN" />
Jeff Brown1c30c012011-11-28 17:23:56 -080085 <category android:name="android.intent.category.DEFAULT" />
Owen Linb540ef12011-08-17 22:07:43 +080086 <category android:name="android.intent.category.LAUNCHER" />
Jeff Brown1c30c012011-11-28 17:23:56 -080087 <category android:name="android.intent.category.APP_GALLERY" />
Owen Linb540ef12011-08-17 22:07:43 +080088 </intent-filter>
89 <intent-filter>
90 <action android:name="android.intent.action.GET_CONTENT" />
91 <category android:name="android.intent.category.OPENABLE" />
92 <data android:mimeType="vnd.android.cursor.dir/image" />
93 </intent-filter>
94 <intent-filter>
95 <action android:name="android.intent.action.GET_CONTENT" />
96 <category android:name="android.intent.category.OPENABLE" />
97 <category android:name="android.intent.category.DEFAULT" />
98 <data android:mimeType="image/*" />
99 <data android:mimeType="video/*" />
100 </intent-filter>
101 <intent-filter>
102 <action android:name="android.intent.action.VIEW" />
103 <category android:name="android.intent.category.DEFAULT" />
104 <data android:mimeType="vnd.android.cursor.dir/image" />
105 <data android:mimeType="vnd.android.cursor.dir/video" />
106 </intent-filter>
107 <intent-filter>
108 <action android:name="android.intent.action.VIEW" />
109 <action android:name="com.android.camera.action.REVIEW" />
110 <category android:name="android.intent.category.DEFAULT" />
111 <category android:name="android.intent.category.BROWSABLE" />
112 <data android:scheme="" />
113 <data android:scheme="http" />
114 <data android:scheme="https" />
115 <data android:scheme="content" />
116 <data android:scheme="file" />
117 <data android:mimeType="image/bmp" />
118 <data android:mimeType="image/jpeg" />
119 <data android:mimeType="image/gif" />
120 <data android:mimeType="image/png" />
121 <data android:mimeType="image/x-ms-bmp" />
122 <data android:mimeType="image/vnd.wap.wbmp" />
123 </intent-filter>
124 <intent-filter>
125 <action android:name="com.android.camera.action.REVIEW" />
126 <category android:name="android.intent.category.DEFAULT" />
127 <category android:name="android.intent.category.BROWSABLE" />
128 <data android:scheme="http" />
129 <data android:scheme="https" />
130 <data android:scheme="content" />
131 <data android:scheme="file" />
132 <data android:mimeType="video/mpeg4" />
133 <data android:mimeType="video/mp4" />
134 <data android:mimeType="video/3gp" />
135 <data android:mimeType="video/3gpp" />
136 <data android:mimeType="video/3gpp2" />
137 <data android:mimeType="application/sdp" />
138 </intent-filter>
139 <!-- We do NOT support the PICK intent, we add these intent-filter for
140 backward compatibility. Handle it as GET_CONTENT. -->
141 <intent-filter>
142 <action android:name="android.intent.action.PICK" />
143 <category android:name="android.intent.category.DEFAULT" />
144 <data android:mimeType="image/*" />
145 <data android:mimeType="video/*" />
146 </intent-filter>
147 <intent-filter>
148 <action android:name="android.intent.action.PICK" />
149 <category android:name="android.intent.category.DEFAULT" />
150 <data android:mimeType="vnd.android.cursor.dir/image" />
151 <data android:mimeType="vnd.android.cursor.dir/video" />
152 </intent-filter>
153 </activity>
154
Owen Lin4d888ed2011-09-01 14:11:19 +0800155 <!-- we add this activity-alias for shortcut backward compatibility -->
156 <!-- Note: The alias must put after the target activity -->
157 <activity-alias android:name="com.cooliris.media.Gallery"
158 android:targetActivity="com.android.gallery3d.app.Gallery"
159 android:configChanges="keyboardHidden|orientation|screenSize"
Chih-Chung Chang62485ff2011-10-31 11:23:43 +0800160 android:label="@string/app_name">
Owen Lin4d888ed2011-09-01 14:11:19 +0800161 <intent-filter>
162 <action android:name="android.intent.action.MAIN" />
163 </intent-filter>
164 </activity-alias>
165
Owen Linb540ef12011-08-17 22:07:43 +0800166 <!-- This activity receives USB_DEVICE_ATTACHED Intents and springboards to main Gallery activity. -->
167 <activity android:name="com.android.gallery3d.app.UsbDeviceActivity" android:label="@string/app_name"
168 android:taskAffinity=""
169 android:launchMode="singleInstance">
170 <intent-filter>
171 <action android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" />
172 </intent-filter>
173 <meta-data android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED"
174 android:resource="@xml/device_filter" />
175 </activity>
176
177 <activity android:name="com.android.gallery3d.app.Wallpaper"
178 android:configChanges="keyboardHidden|orientation|screenSize"
179 android:theme="@style/android:Theme.Translucent.NoTitleBar">
180 <intent-filter android:label="@string/camera_setas_wallpaper">
181 <action android:name="android.intent.action.ATTACH_DATA" />
182 <data android:mimeType="image/*" />
183 <category android:name="android.intent.category.DEFAULT" />
184 </intent-filter>
185 <intent-filter android:label="@string/app_name">
186 <action android:name="android.intent.action.SET_WALLPAPER" />
187 <category android:name="android.intent.category.DEFAULT" />
188 </intent-filter>
189 <meta-data android:name="android.wallpaper.preview"
190 android:resource="@xml/wallpaper_picker_preview" />
191 </activity>
192 <activity android:name="com.android.gallery3d.app.CropImage"
193 android:configChanges="keyboardHidden|orientation|screenSize"
Chih-Chung Chang7f837852011-09-29 13:34:18 +0800194 android:label="@string/crop_label"
195 android:process=":crop">
Owen Linb540ef12011-08-17 22:07:43 +0800196 <intent-filter android:label="@string/crop_label">
197 <action android:name="com.android.camera.action.CROP" />
198 <data android:scheme="http" />
199 <data android:scheme="https" />
200 <data android:scheme="content" />
201 <data android:scheme="file" />
202 <data android:scheme="" />
203 <data android:mimeType="image/*" />
204 <category android:name="android.intent.category.DEFAULT" />
205 <category android:name="android.intent.category.ALTERNATIVE" />
206 <category android:name="android.intent.category.SELECTED_ALTERNATIVE" />
207 </intent-filter>
208 </activity>
Yuli Huang00e51f92011-09-12 22:25:30 +0800209 <activity android:name="com.android.gallery3d.photoeditor.PhotoEditor"
210 android:label="@string/photoeditor_name"
211 android:theme="@android:style/Theme.Holo.NoActionBar.Fullscreen"
212 android:configChanges="keyboardHidden|orientation|screenSize"
213 android:hardwareAccelerated="true">
214 <intent-filter>
215 <action android:name="android.intent.action.EDIT" />
216 <data android:mimeType="image/*" />
217 <category android:name="android.intent.category.DEFAULT" />
218 </intent-filter>
219 </activity>
Ruei-sung Lin103febb2011-09-19 14:33:17 +0800220 <uses-library android:name="com.google.android.media.effects"
221 android:required="false" />
Owen Linb540ef12011-08-17 22:07:43 +0800222
223 <activity android:name="com.android.gallery3d.app.SlideshowDream"
Ruei-sung Lin103febb2011-09-19 14:33:17 +0800224 android:label="@string/slideshow_dream_name"
225 android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen"
226 android:hardwareAccelerated="true">
Owen Linb540ef12011-08-17 22:07:43 +0800227 <intent-filter>
228 <action android:name="android.intent.action.MAIN" />
229 <category android:name="android.intent.category.DEFAULT" />
230 <category android:name="android.intent.category.DREAM" />
231 </intent-filter>
232 </activity>
233
234 <activity android:name="com.android.gallery3d.settings.GallerySettings"
Owen Lin92154672011-09-13 10:45:22 +0800235 android:theme="@android:style/Theme.Holo"
Owen Linb540ef12011-08-17 22:07:43 +0800236 android:configChanges="orientation|keyboardHidden|screenSize" />
237
238 <provider android:name="com.android.gallery3d.provider.GalleryProvider"
239 android:syncable="false"
240 android:grantUriPermissions="true"
241 android:authorities="com.android.gallery3d.provider" />
Owen Lin78768052011-08-18 21:48:19 +0800242 <activity android:name="com.android.gallery3d.gadget.WidgetClickHandler" />
Owen Linb540ef12011-08-17 22:07:43 +0800243 <activity android:name="com.android.gallery3d.app.DialogPicker"
244 android:configChanges="keyboardHidden|orientation|screenSize"
245 android:theme="@style/DialogPickerTheme"/>
246 <activity android:name="com.android.gallery3d.app.AlbumPicker"
247 android:configChanges="keyboardHidden|orientation|screenSize"
248 android:theme="@style/DialogPickerTheme"/>
Owen Lin78768052011-08-18 21:48:19 +0800249 <activity android:name="com.android.gallery3d.gadget.WidgetTypeChooser"
Owen Linb540ef12011-08-17 22:07:43 +0800250 android:configChanges="keyboardHidden|orientation|screenSize"
Chih-Chung Chang00739432012-03-08 20:10:53 +0800251 android:theme="@android:style/Theme.Holo.Dialog"/>
Owen Linb540ef12011-08-17 22:07:43 +0800252
Chih-Chung Chang00739432012-03-08 20:10:53 +0800253 <activity android:name="com.android.camera.Camera"
254 android:label="@string/camera_label"
255 android:theme="@style/ThemeCamera"
256 android:icon="@mipmap/ic_launcher_camera"
257 android:configChanges="orientation|screenSize|keyboardHidden"
258 android:clearTaskOnLaunch="true"
259 android:screenOrientation="behind"
260 android:windowSoftInputMode="stateAlwaysHidden|adjustPan">
261 <intent-filter>
262 <action android:name="android.intent.action.MAIN" />
263 <category android:name="android.intent.category.DEFAULT" />
264 <category android:name="android.intent.category.LAUNCHER" />
265 </intent-filter>
266 <intent-filter>
267 <action android:name="android.media.action.IMAGE_CAPTURE" />
268 <category android:name="android.intent.category.DEFAULT" />
269 </intent-filter>
270 <intent-filter>
271 <action android:name="android.media.action.STILL_IMAGE_CAMERA" />
272 <category android:name="android.intent.category.DEFAULT" />
273 </intent-filter>
274 </activity>
275 <activity android:name="com.android.camera.VideoCamera"
276 android:label="@string/video_camera_label"
277 android:theme="@style/ThemeCamera"
278 android:configChanges="orientation|screenSize|keyboardHidden"
279 android:icon="@mipmap/ic_launcher_video_camera"
280 android:clearTaskOnLaunch="true"
281 android:screenOrientation="behind"
282 android:windowSoftInputMode="stateAlwaysHidden|adjustPan">
283 <intent-filter>
284 <action android:name="android.media.action.VIDEO_CAMERA" />
285 <category android:name="android.intent.category.DEFAULT" />
286 </intent-filter>
287 <intent-filter>
288 <action android:name="android.media.action.VIDEO_CAPTURE" />
289 <category android:name="android.intent.category.DEFAULT" />
290 </intent-filter>
291 </activity>
292 <!-- Suppose users enter panorama from launcher, turn off the screen,
293 turn on the screen, and enter the camera from the lock screen.
294 They can switch to panorama from there. Use singleTask so there
295 will be only one panorama activity. -->
296 <activity android:name="com.android.camera.panorama.PanoramaActivity"
297 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"
302 android:windowSoftInputMode="stateAlwaysHidden|adjustPan"
303 android:launchMode="singleTask">
304 </activity>
Owen Lin78768052011-08-18 21:48:19 +0800305 <receiver android:name="com.android.gallery3d.gadget.PhotoAppWidgetProvider"
Owen Linb540ef12011-08-17 22:07:43 +0800306 android:label="@string/appwidget_title">
307 <intent-filter>
308 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
309 </intent-filter>
310 <meta-data android:name="android.appwidget.provider"
311 android:resource="@xml/widget_info" />
312 </receiver>
313 <receiver android:name="com.android.gallery3d.app.PackagesMonitor">
314 <intent-filter>
315 <action android:name="android.intent.action.PACKAGE_ADDED"/>
316 <action android:name="android.intent.action.PACKAGE_REMOVED"/>
Chih-Chung Change5a44c52011-11-30 14:32:35 +0800317 <action android:name="android.intent.action.PACKAGE_CHANGED"/>
Owen Linb540ef12011-08-17 22:07:43 +0800318 <data android:scheme="package"/>
319 </intent-filter>
320 </receiver>
Chih-Chung Chang00739432012-03-08 20:10:53 +0800321 <receiver android:name="com.android.camera.CameraButtonIntentReceiver">
322 <intent-filter>
323 <action android:name="android.intent.action.CAMERA_BUTTON"/>
324 </intent-filter>
325 </receiver>
Chih-Chung Chang4f19a072012-03-12 16:04:59 +0800326 <receiver android:name="com.android.camera.DisableCameraReceiver">
327 <intent-filter>
328 <action android:name="android.intent.action.BOOT_COMPLETED" />
329 </intent-filter>
330 </receiver>
Owen Lin78768052011-08-18 21:48:19 +0800331 <service android:name="com.android.gallery3d.gadget.WidgetService"
Owen Linb540ef12011-08-17 22:07:43 +0800332 android:permission="android.permission.BIND_REMOTEVIEWS"/>
Owen Lin78768052011-08-18 21:48:19 +0800333 <activity android:name="com.android.gallery3d.gadget.WidgetConfigure"
Owen Linb540ef12011-08-17 22:07:43 +0800334 android:configChanges="keyboardHidden|orientation|screenSize"
335 android:theme="@style/android:Theme.Translucent.NoTitleBar">
336 <intent-filter>
337 <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
338 </intent-filter>
339 </activity>
340 </application>
341</manifest>