blob: 6b403fc2a2ee72ce805a5cba2856a30ae6ba6556 [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"
Cheng-Ru Lin2bc47142009-09-30 11:57:50 +0800128 android:theme="@style/CustomTheme"
Wu-cheng Li46fc7ae2009-06-19 19:28:47 +0800129 android:screenOrientation="behind"
Dianne Hackborna8f9a142009-10-04 13:33:50 -0700130 android:configChanges="orientation|keyboardHidden"
131 android:exported="true">
Wu-cheng Li46fc7ae2009-06-19 19:28:47 +0800132 </activity>
Chih-Chung Chang0e48fe62009-06-26 19:23:56 +0800133 <activity android:name="ViewImage"
Owen Lin30e331b2009-05-01 17:04:52 -0700134 android:label="@string/view_label"
135 android:screenOrientation="behind"
The Android Open Source Projectb64d3452009-03-03 19:32:20 -0800136 android:configChanges="orientation|keyboardHidden">
137 <intent-filter>
138 <action android:name="android.intent.action.VIEW" />
139 <category android:name="android.intent.category.DEFAULT" />
140 <data android:mimeType="image/*" />
141 </intent-filter>
142 </activity>
143 <activity android:name="MovieView"
144 android:label="@string/movieviewlabel"
145 android:screenOrientation="landscape"
146 android:configChanges="orientation|keyboardHidden"
147 android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen">
148 <intent-filter>
149 <action android:name="android.intent.action.VIEW" />
150 <category android:name="android.intent.category.DEFAULT" />
151 <category android:name="android.intent.category.BROWSABLE" />
152 <data android:scheme="rtsp" />
153 </intent-filter>
154 <intent-filter>
155 <action android:name="android.intent.action.VIEW" />
156 <category android:name="android.intent.category.DEFAULT" />
157 <data android:mimeType="video/*" />
Dave Sparks788b45f2009-07-21 21:32:13 -0700158 <data android:mimeType="application/sdp" />
The Android Open Source Projectb64d3452009-03-03 19:32:20 -0800159 </intent-filter>
160 <intent-filter>
161 <action android:name="android.intent.action.VIEW" />
162 <category android:name="android.intent.category.DEFAULT" />
163 <category android:name="android.intent.category.BROWSABLE" />
164 <data android:scheme="http" />
165 <data android:mimeType="video/mp4" />
166 <data android:mimeType="video/3gp" />
167 <data android:mimeType="video/3gpp" />
168 <data android:mimeType="video/3gpp2" />
169 </intent-filter>
170 </activity>
Chih-Chung Chang0e48fe62009-06-26 19:23:56 +0800171 <activity android:name=".DeleteImage"
172 android:label="@string/delete_images_message"
173 android:theme="@style/Theme.DeleteImageDialog">
174 </activity>
The Android Open Source Projectb64d3452009-03-03 19:32:20 -0800175
The Android Open Source Projectb64d3452009-03-03 19:32:20 -0800176 <activity android:name="GallerySettings" android:label="@string/preferences_label">
177 <intent-filter>
178 <action android:name="android.intent.action.MAIN" />
179 <category android:name="android.intent.category.DEVELOPMENT_PREFERENCE" />
180 </intent-filter>
181 </activity>
182
The Android Open Source Projectb64d3452009-03-03 19:32:20 -0800183 <activity android:name=".Wallpaper"
184 android:label="@string/camera_setas_wallpaper"
185 android:icon="@drawable/ic_launcher_gallery">
186 <intent-filter>
187 <action android:name="android.intent.action.ATTACH_DATA" />
188 <data android:mimeType="image/*" />
189 <category android:name="android.intent.category.DEFAULT" />
190 </intent-filter>
191 </activity>
192
193 <activity android:name=".PickWallpaper"
194 android:label="@string/camera_pick_wallpaper"
195 android:icon="@drawable/ic_launcher_gallery">
196 <intent-filter>
197 <action android:name="android.intent.action.SET_WALLPAPER" />
198 <category android:name="android.intent.category.DEFAULT" />
199 </intent-filter>
200 </activity>
201
Mike Cleronb74a9fe2009-09-29 13:04:28 -0700202 <receiver android:name="PhotoAppWidgetProvider" android:label="@string/gadget_title"
203 android:icon="@drawable/ic_launcher_gallery">
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