blob: cb48b9fe52c297acc87be42e636cdc1f00163e38 [file] [log] [blame]
Owen Lin666ea1b2009-10-14 22:34:47 -07001<manifest xmlns:android="http://schemas.android.com/apk/res/android"
Owen Lind6c2fb72009-10-15 03:43:44 -07002 package="com.android.gallery"
Owen Lin666ea1b2009-10-14 22:34:47 -07003 android:sharedUserId="android.media">
4 <uses-permission android:name="android.permission.CAMERA" />
5 <uses-feature android:name="android.hardware.camera" />
6 <uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />
7
8 <uses-permission android:name="android.permission.RECORD_AUDIO" />
9 <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" />
12 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
13 <uses-permission android:name="android.permission.READ_SMS" />
14
15 <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" />
Owen Lind6c2fb72009-10-15 03:43:44 -070019 <activity android:name="com.android.camera.Camera"
Owen Lin666ea1b2009-10-14 22:34:47 -070020 android:configChanges="orientation|keyboardHidden"
21 android:theme="@style/CustomTheme"
22 android:screenOrientation="landscape"
23 android:clearTaskOnLaunch="true"
24 android:taskAffinity="android.task.camera">
Owen Lin666ea1b2009-10-14 22:34:47 -070025 </activity>
Owen Lind6c2fb72009-10-15 03:43:44 -070026 <activity android:name="com.android.camera.VideoCamera"
Owen Lin666ea1b2009-10-14 22:34:47 -070027 android:label="@string/video_camera_label"
28 android:configChanges="orientation|keyboardHidden"
29 android:icon="@drawable/ic_launcher_video_camera"
30 android:theme="@style/CustomTheme"
31 android:screenOrientation="landscape"
32 android:clearTaskOnLaunch="true"
33 android:taskAffinity="android.task.camcorder">
Owen Lin666ea1b2009-10-14 22:34:47 -070034 </activity>
Owen Lind6c2fb72009-10-15 03:43:44 -070035 <activity android:name="com.android.camera.GalleryPicker"
36 android:label="@string/gallery_picker_label"
Owen Lin666ea1b2009-10-14 22:34:47 -070037 android:configChanges="orientation|keyboardHidden"
38 android:icon="@drawable/ic_launcher_gallery"
39 android:clearTaskOnLaunch="true"
40 android:taskAffinity="android.task.pictures">
41 <intent-filter>
42 <action android:name="android.intent.action.MAIN" />
43 <category android:name="android.intent.category.DEFAULT" />
44 <category android:name="android.intent.category.LAUNCHER" />
45 </intent-filter>
46 </activity>
Owen Lind6c2fb72009-10-15 03:43:44 -070047 <activity android:name="com.android.camera.ImageGallery"
48 android:label="@string/gallery_label"
Owen Lin666ea1b2009-10-14 22:34:47 -070049 android:configChanges="orientation|keyboardHidden"
50 android:icon="@drawable/ic_launcher_gallery">
51 <intent-filter>
52 <action android:name="android.intent.action.MAIN" />
53 <category android:name="android.intent.category.DEFAULT" />
54 </intent-filter>
55 <intent-filter>
56 <action android:name="android.intent.action.VIEW" />
57 <category android:name="android.intent.category.DEFAULT" />
58 <data android:mimeType="vnd.android.cursor.dir/image" />
59 </intent-filter>
60 <intent-filter>
61 <action android:name="android.intent.action.VIEW" />
62 <category android:name="android.intent.category.DEFAULT" />
63 <data android:mimeType="vnd.android.cursor.dir/video" />
64 </intent-filter>
65 <intent-filter>
66 <action android:name="android.intent.action.GET_CONTENT" />
67 <category android:name="android.intent.category.OPENABLE" />
68 <data android:mimeType="vnd.android.cursor.dir/image" />
69 </intent-filter>
70 <intent-filter>
71 <action android:name="android.intent.action.GET_CONTENT" />
72 <category android:name="android.intent.category.OPENABLE" />
73 <category android:name="android.intent.category.DEFAULT" />
74 <data android:mimeType="image/*" />
75 <data android:mimeType="video/*" />
76 </intent-filter>
77 <intent-filter>
78 <action android:name="android.intent.action.PICK" />
79 <category android:name="android.intent.category.DEFAULT" />
80 <data android:mimeType="image/*" />
81 <data android:mimeType="video/*" />
82 </intent-filter>
83 <intent-filter>
84 <action android:name="android.intent.action.PICK" />
85 <category android:name="android.intent.category.DEFAULT" />
86 <data android:mimeType="vnd.android.cursor.dir/image" />
87 </intent-filter>
88 </activity>
89 <activity
Owen Lind6c2fb72009-10-15 03:43:44 -070090 android:name="com.android.camera.CropImage"
Owen Lin666ea1b2009-10-14 22:34:47 -070091 android:process=":CropImage"
92 android:configChanges="orientation|keyboardHidden"
93 android:label="@string/crop_label">
94 <intent-filter android:label="@string/crop_label">
95 <action android:name="com.android.camera.action.CROP" />
96 <data android:mimeType="image/*" />
97 <category android:name="android.intent.category.DEFAULT" />
98 <category android:name="android.intent.category.ALTERNATIVE" />
99 <category android:name="android.intent.category.SELECTED_ALTERNATIVE" />
100 </intent-filter>
101 </activity>
Owen Lind6c2fb72009-10-15 03:43:44 -0700102 <activity android:name="com.android.camera.ReviewImage"
Owen Lin666ea1b2009-10-14 22:34:47 -0700103 android:label="@string/view_label"
104 android:theme="@style/CustomTheme"
105 android:screenOrientation="behind"
106 android:configChanges="orientation|keyboardHidden"
107 android:exported="true">
108 </activity>
Owen Lind6c2fb72009-10-15 03:43:44 -0700109 <activity android:name="com.android.camera.ViewImage"
Owen Lin666ea1b2009-10-14 22:34:47 -0700110 android:label="@string/view_label"
111 android:screenOrientation="behind"
112 android:configChanges="orientation|keyboardHidden">
113 <intent-filter>
114 <action android:name="android.intent.action.VIEW" />
115 <category android:name="android.intent.category.DEFAULT" />
116 <data android:mimeType="image/*" />
117 </intent-filter>
118 </activity>
Owen Lind6c2fb72009-10-15 03:43:44 -0700119 <activity android:name="com.android.camera.MovieView"
Owen Lin666ea1b2009-10-14 22:34:47 -0700120 android:label="@string/movieviewlabel"
121 android:screenOrientation="landscape"
122 android:configChanges="orientation|keyboardHidden"
123 android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen">
124 <intent-filter>
125 <action android:name="android.intent.action.VIEW" />
126 <category android:name="android.intent.category.DEFAULT" />
127 <category android:name="android.intent.category.BROWSABLE" />
128 <data android:scheme="rtsp" />
129 </intent-filter>
130 <intent-filter>
131 <action android:name="android.intent.action.VIEW" />
132 <category android:name="android.intent.category.DEFAULT" />
133 <data android:mimeType="video/*" />
134 <data android:mimeType="application/sdp" />
135 </intent-filter>
136 <intent-filter>
137 <action android:name="android.intent.action.VIEW" />
138 <category android:name="android.intent.category.DEFAULT" />
139 <category android:name="android.intent.category.BROWSABLE" />
140 <data android:scheme="http" />
141 <data android:mimeType="video/mp4" />
142 <data android:mimeType="video/3gp" />
143 <data android:mimeType="video/3gpp" />
144 <data android:mimeType="video/3gpp2" />
145 </intent-filter>
146 </activity>
Owen Lind6c2fb72009-10-15 03:43:44 -0700147 <activity android:name="com.android.camera.DeleteImage"
Owen Lin666ea1b2009-10-14 22:34:47 -0700148 android:label="@string/delete_images_message"
149 android:theme="@style/Theme.DeleteImageDialog">
150 </activity>
151
Owen Lind6c2fb72009-10-15 03:43:44 -0700152 <activity android:name="com.android.camera.GallerySettings"
153 android:label="@string/preferences_label">
Owen Lin666ea1b2009-10-14 22:34:47 -0700154 <intent-filter>
155 <action android:name="android.intent.action.MAIN" />
156 <category android:name="android.intent.category.DEVELOPMENT_PREFERENCE" />
157 </intent-filter>
158 </activity>
159
Owen Lind6c2fb72009-10-15 03:43:44 -0700160 <activity android:name="com.android.camera.Wallpaper"
161 android:label="@string/camera_setas_wallpaper"
162 android:icon="@drawable/ic_launcher_gallery">
Owen Lin666ea1b2009-10-14 22:34:47 -0700163 <intent-filter>
164 <action android:name="android.intent.action.ATTACH_DATA" />
165 <data android:mimeType="image/*" />
166 <category android:name="android.intent.category.DEFAULT" />
167 </intent-filter>
168 </activity>
169
Owen Lind6c2fb72009-10-15 03:43:44 -0700170 <activity android:name="com.android.camera.PickWallpaper"
171 android:label="@string/camera_pick_wallpaper"
172 android:icon="@drawable/ic_launcher_gallery">
Owen Lin666ea1b2009-10-14 22:34:47 -0700173 <intent-filter>
174 <action android:name="android.intent.action.SET_WALLPAPER" />
175 <category android:name="android.intent.category.DEFAULT" />
176 </intent-filter>
177 </activity>
178
Owen Lind6c2fb72009-10-15 03:43:44 -0700179 <receiver android:name="com.android.camera.PhotoAppWidgetProvider"
180 android:label="@string/gadget_title"
181 android:icon="@drawable/ic_launcher_gallery">
Owen Lin666ea1b2009-10-14 22:34:47 -0700182 <intent-filter>
183 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
184 </intent-filter>
Owen Lind6c2fb72009-10-15 03:43:44 -0700185 <meta-data android:name="android.appwidget.provider"
186 android:resource="@xml/appwidget_info" />
Owen Lin666ea1b2009-10-14 22:34:47 -0700187 </receiver>
188
189 <!-- We configure a widget by asking to pick a photo, then crop it, and store the config internally -->
Owen Lind6c2fb72009-10-15 03:43:44 -0700190 <activity android:name="com.android.camera.PhotoAppWidgetConfigure">
Owen Lin666ea1b2009-10-14 22:34:47 -0700191 <intent-filter>
192 <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
193 </intent-filter>
194 </activity>
195
196 <!-- We also allow direct binding where the caller provides a bitmap and
197 appWidgetId to bind. We require the permission because this changes our
198 internal database without user confirmation. -->
Owen Lind6c2fb72009-10-15 03:43:44 -0700199 <activity android:name="com.android.camera.PhotoAppWidgetBind"
200 android:exported="true"
Owen Lin666ea1b2009-10-14 22:34:47 -0700201 android:theme="@android:style/Theme.NoDisplay"
202 android:permission="android.permission.BIND_APPWIDGET" />
203
204 </application>
205</manifest>
206