blob: e6216db6b694b100d8ff375f73ecfe5251b2af25 [file] [log] [blame]
The Android Open Source Projectb64d3452009-03-03 19:32:20 -08001<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2 package="com.android.camera"
3 android:sharedUserId="android.media">
4 <uses-permission android:name="android.permission.CAMERA" />
Dianne Hackborn639b55e2009-08-27 16:52:10 -07005 <uses-feature android:name="android.hardware.camera" />
6 <uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />
Owen Lin3665f922009-09-02 18:03:42 +08007
Dave Sparkse655d542009-05-21 09:59:57 -07008 <uses-permission android:name="android.permission.RECORD_AUDIO" />
The Android Open Source Projectb64d3452009-03-03 19:32:20 -08009 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
10 <uses-permission android:name="android.permission.WAKE_LOCK" />
11 <uses-permission android:name="android.permission.SET_WALLPAPER" />
San Mehatb3563c22009-06-01 09:26:08 -070012 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Wei Huang55c02102009-09-23 00:45:03 -070013 <uses-permission android:name="android.permission.READ_SMS" />
Chih-Chung Chang21381992009-09-02 13:25:02 +080014
The Android Open Source Projectb64d3452009-03-03 19:32:20 -080015 <application android:icon="@drawable/ic_launcher_camera"
16 android:label="@string/camera_label"
17 android:taskAffinity="">
18 <service android:name="UploadService" android:process="android.process.media" />
19 <receiver android:name="CameraButtonIntentReceiver">
20 <intent-filter>
21 <action android:name="android.intent.action.CAMERA_BUTTON"/>
22 </intent-filter>
23 </receiver>
24 <activity android:name="Camera"
25 android:configChanges="orientation|keyboardHidden"
Chih-Chung Changcef4def2009-09-24 17:44:36 -070026 android:theme="@style/CustomTheme"
The Android Open Source Projectb64d3452009-03-03 19:32:20 -080027 android:screenOrientation="landscape"
28 android:clearTaskOnLaunch="true"
29 android:taskAffinity="android.task.camera">
30 <intent-filter>
31 <action android:name="android.intent.action.MAIN" />
32 <category android:name="android.intent.category.DEFAULT" />
33 <category android:name="android.intent.category.LAUNCHER" />
34 </intent-filter>
35 <intent-filter>
36 <action android:name="android.media.action.IMAGE_CAPTURE" />
37 <category android:name="android.intent.category.DEFAULT" />
38 </intent-filter>
39 <intent-filter>
40 <action android:name="android.media.action.STILL_IMAGE_CAMERA" />
41 <category android:name="android.intent.category.DEFAULT" />
42 </intent-filter>
43 </activity>
44 <activity android:name="VideoCamera"
Evan Millarc16bd982009-03-31 16:46:03 -070045 android:label="@string/video_camera_label"
The Android Open Source Projectb64d3452009-03-03 19:32:20 -080046 android:configChanges="orientation|keyboardHidden"
Evan Millarc16bd982009-03-31 16:46:03 -070047 android:icon="@drawable/ic_launcher_video_camera"
Chih-Chung Changcef4def2009-09-24 17:44:36 -070048 android:theme="@style/CustomTheme"
The Android Open Source Projectb64d3452009-03-03 19:32:20 -080049 android:screenOrientation="landscape"
50 android:clearTaskOnLaunch="true"
Owen Lin625613e2009-08-05 17:08:17 +080051 android:taskAffinity="android.task.camcorder">
Evan Millarc16bd982009-03-31 16:46:03 -070052 <intent-filter>
The Android Open Source Projectb64d3452009-03-03 19:32:20 -080053 <action android:name="android.media.action.VIDEO_CAMERA" />
54 <category android:name="android.intent.category.DEFAULT" />
55 </intent-filter>
56 <intent-filter>
57 <action android:name="android.media.action.VIDEO_CAPTURE" />
58 <category android:name="android.intent.category.DEFAULT" />
59 </intent-filter>
60 </activity>
61 <activity android:name="GalleryPicker" android:label="@string/gallery_picker_label"
62 android:configChanges="orientation|keyboardHidden"
63 android:icon="@drawable/ic_launcher_gallery"
64 android:clearTaskOnLaunch="true"
65 android:taskAffinity="android.task.pictures">
66 <intent-filter>
67 <action android:name="android.intent.action.MAIN" />
68 <category android:name="android.intent.category.DEFAULT" />
69 <category android:name="android.intent.category.LAUNCHER" />
70 </intent-filter>
71 </activity>
Ray Chen91acb5b2009-04-24 12:12:04 +080072 <activity android:name="ImageGallery" android:label="@string/gallery_label"
The Android Open Source Projectb64d3452009-03-03 19:32:20 -080073 android:configChanges="orientation|keyboardHidden"
74 android:icon="@drawable/ic_launcher_gallery">
75 <intent-filter>
76 <action android:name="android.intent.action.MAIN" />
77 <category android:name="android.intent.category.DEFAULT" />
78 </intent-filter>
79 <intent-filter>
80 <action android:name="android.intent.action.VIEW" />
81 <category android:name="android.intent.category.DEFAULT" />
82 <data android:mimeType="vnd.android.cursor.dir/image" />
83 </intent-filter>
84 <intent-filter>
85 <action android:name="android.intent.action.VIEW" />
86 <category android:name="android.intent.category.DEFAULT" />
87 <data android:mimeType="vnd.android.cursor.dir/video" />
88 </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.PICK" />
103 <category android:name="android.intent.category.DEFAULT" />
104 <data android:mimeType="image/*" />
105 <data android:mimeType="video/*" />
106 </intent-filter>
107 <intent-filter>
108 <action android:name="android.intent.action.PICK" />
109 <category android:name="android.intent.category.DEFAULT" />
110 <data android:mimeType="vnd.android.cursor.dir/image" />
111 </intent-filter>
112 </activity>
113 <activity
114 android:name="CropImage"
115 android:process=":CropImage"
116 android:configChanges="orientation|keyboardHidden"
117 android:label="@string/crop_label">
118 <intent-filter android:label="@string/crop_label">
119 <action android:name="com.android.camera.action.CROP" />
120 <data android:mimeType="image/*" />
121 <category android:name="android.intent.category.DEFAULT" />
122 <category android:name="android.intent.category.ALTERNATIVE" />
123 <category android:name="android.intent.category.SELECTED_ALTERNATIVE" />
124 </intent-filter>
125 </activity>
Wu-cheng Li46fc7ae2009-06-19 19:28:47 +0800126 <activity android:name="ReviewImage"
127 android:label="@string/view_label"
128 android:screenOrientation="behind"
129 android:configChanges="orientation|keyboardHidden">
130 <intent-filter>
131 <category android:name="android.intent.category.DEFAULT" />
132 </intent-filter>
133 </activity>
Chih-Chung Chang0e48fe62009-06-26 19:23:56 +0800134 <activity android:name="ViewImage"
Owen Lin30e331b2009-05-01 17:04:52 -0700135 android:label="@string/view_label"
136 android:screenOrientation="behind"
The Android Open Source Projectb64d3452009-03-03 19:32:20 -0800137 android:configChanges="orientation|keyboardHidden">
138 <intent-filter>
139 <action android:name="android.intent.action.VIEW" />
140 <category android:name="android.intent.category.DEFAULT" />
141 <data android:mimeType="image/*" />
142 </intent-filter>
143 </activity>
144 <activity android:name="MovieView"
145 android:label="@string/movieviewlabel"
146 android:screenOrientation="landscape"
147 android:configChanges="orientation|keyboardHidden"
148 android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen">
149 <intent-filter>
150 <action android:name="android.intent.action.VIEW" />
151 <category android:name="android.intent.category.DEFAULT" />
152 <category android:name="android.intent.category.BROWSABLE" />
153 <data android:scheme="rtsp" />
154 </intent-filter>
155 <intent-filter>
156 <action android:name="android.intent.action.VIEW" />
157 <category android:name="android.intent.category.DEFAULT" />
158 <data android:mimeType="video/*" />
Dave Sparks788b45f2009-07-21 21:32:13 -0700159 <data android:mimeType="application/sdp" />
The Android Open Source Projectb64d3452009-03-03 19:32:20 -0800160 </intent-filter>
161 <intent-filter>
162 <action android:name="android.intent.action.VIEW" />
163 <category android:name="android.intent.category.DEFAULT" />
164 <category android:name="android.intent.category.BROWSABLE" />
165 <data android:scheme="http" />
166 <data android:mimeType="video/mp4" />
167 <data android:mimeType="video/3gp" />
168 <data android:mimeType="video/3gpp" />
169 <data android:mimeType="video/3gpp2" />
170 </intent-filter>
171 </activity>
Chih-Chung Chang0e48fe62009-06-26 19:23:56 +0800172 <activity android:name=".DeleteImage"
173 android:label="@string/delete_images_message"
174 android:theme="@style/Theme.DeleteImageDialog">
175 </activity>
The Android Open Source Projectb64d3452009-03-03 19:32:20 -0800176
The Android Open Source Projectb64d3452009-03-03 19:32:20 -0800177 <activity android:name="GallerySettings" android:label="@string/preferences_label">
178 <intent-filter>
179 <action android:name="android.intent.action.MAIN" />
180 <category android:name="android.intent.category.DEVELOPMENT_PREFERENCE" />
181 </intent-filter>
182 </activity>
183
The Android Open Source Projectb64d3452009-03-03 19:32:20 -0800184 <activity android:name=".Wallpaper"
185 android:label="@string/camera_setas_wallpaper"
186 android:icon="@drawable/ic_launcher_gallery">
187 <intent-filter>
188 <action android:name="android.intent.action.ATTACH_DATA" />
189 <data android:mimeType="image/*" />
190 <category android:name="android.intent.category.DEFAULT" />
191 </intent-filter>
192 </activity>
193
194 <activity android:name=".PickWallpaper"
195 android:label="@string/camera_pick_wallpaper"
196 android:icon="@drawable/ic_launcher_gallery">
197 <intent-filter>
198 <action android:name="android.intent.action.SET_WALLPAPER" />
199 <category android:name="android.intent.category.DEFAULT" />
200 </intent-filter>
201 </activity>
202
The Android Open Source Projecte3f45162009-03-11 12:11:58 -0700203 <receiver android:name="PhotoAppWidgetProvider" android:label="@string/gadget_title">
The Android Open Source Projectb64d3452009-03-03 19:32:20 -0800204 <intent-filter>
The Android Open Source Projecte3f45162009-03-11 12:11:58 -0700205 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
The Android Open Source Projectb64d3452009-03-03 19:32:20 -0800206 </intent-filter>
The Android Open Source Projecte3f45162009-03-11 12:11:58 -0700207 <meta-data android:name="android.appwidget.provider" android:resource="@xml/appwidget_info" />
The Android Open Source Projectb64d3452009-03-03 19:32:20 -0800208 </receiver>
209
The Android Open Source Projecte3f45162009-03-11 12:11:58 -0700210 <!-- We configure a widget by asking to pick a photo, then crop it, and store the config internally -->
211 <activity android:name="PhotoAppWidgetConfigure">
The Android Open Source Projectb64d3452009-03-03 19:32:20 -0800212 <intent-filter>
The Android Open Source Projecte3f45162009-03-11 12:11:58 -0700213 <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
The Android Open Source Projectb64d3452009-03-03 19:32:20 -0800214 </intent-filter>
215 </activity>
216
217 <!-- We also allow direct binding where the caller provides a bitmap and
The Android Open Source Projecte3f45162009-03-11 12:11:58 -0700218 appWidgetId to bind. We require the permission because this changes our
The Android Open Source Projectb64d3452009-03-03 19:32:20 -0800219 internal database without user confirmation. -->
The Android Open Source Projecte3f45162009-03-11 12:11:58 -0700220 <activity android:name="PhotoAppWidgetBind" android:exported="true"
The Android Open Source Projectb64d3452009-03-03 19:32:20 -0800221 android:theme="@android:style/Theme.NoDisplay"
The Android Open Source Projecte3f45162009-03-11 12:11:58 -0700222 android:permission="android.permission.BIND_APPWIDGET" />
The Android Open Source Projectb64d3452009-03-03 19:32:20 -0800223
224 </application>
225</manifest>
226