blob: d2b0947e2fd917752789a372bd8feb284f41f366 [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">
Chih-Chung Chang0cc977e2012-05-03 13:58:11 +08004 <uses-sdk android:targetSdkVersion="10" android:minSdkVersion="10" />
Jeff Hamilton0bb24ff2010-02-11 16:25:49 -06005 <original-package android:name="com.android.gallery" />
6
Owen Lin666ea1b2009-10-14 22:34:47 -07007 <uses-permission android:name="android.permission.CAMERA" />
8 <uses-feature android:name="android.hardware.camera" />
9 <uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />
10
11 <uses-permission android:name="android.permission.RECORD_AUDIO" />
12 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
13 <uses-permission android:name="android.permission.WAKE_LOCK" />
14 <uses-permission android:name="android.permission.SET_WALLPAPER" />
15 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
16 <uses-permission android:name="android.permission.READ_SMS" />
17
18 <application android:icon="@drawable/ic_launcher_camera"
19 android:label="@string/camera_label"
20 android:taskAffinity="">
Owen Lind6c2fb72009-10-15 03:43:44 -070021 <activity android:name="com.android.camera.GalleryPicker"
22 android:label="@string/gallery_picker_label"
Owen Lin666ea1b2009-10-14 22:34:47 -070023 android:configChanges="orientation|keyboardHidden"
24 android:icon="@drawable/ic_launcher_gallery"
25 android:clearTaskOnLaunch="true"
Ashwini Oruganti14168332020-03-23 15:25:25 -070026 android:exported="true"
Owen Lin666ea1b2009-10-14 22:34:47 -070027 android:taskAffinity="android.task.pictures">
28 <intent-filter>
29 <action android:name="android.intent.action.MAIN" />
30 <category android:name="android.intent.category.DEFAULT" />
31 <category android:name="android.intent.category.LAUNCHER" />
32 </intent-filter>
33 </activity>
Owen Lind6c2fb72009-10-15 03:43:44 -070034 <activity android:name="com.android.camera.ImageGallery"
35 android:label="@string/gallery_label"
Owen Lin666ea1b2009-10-14 22:34:47 -070036 android:configChanges="orientation|keyboardHidden"
Ashwini Oruganti14168332020-03-23 15:25:25 -070037 android:exported="true"
Owen Lin666ea1b2009-10-14 22:34:47 -070038 android:icon="@drawable/ic_launcher_gallery">
39 <intent-filter>
40 <action android:name="android.intent.action.MAIN" />
41 <category android:name="android.intent.category.DEFAULT" />
42 </intent-filter>
43 <intent-filter>
44 <action android:name="android.intent.action.VIEW" />
45 <category android:name="android.intent.category.DEFAULT" />
46 <data android:mimeType="vnd.android.cursor.dir/image" />
47 </intent-filter>
48 <intent-filter>
49 <action android:name="android.intent.action.VIEW" />
50 <category android:name="android.intent.category.DEFAULT" />
51 <data android:mimeType="vnd.android.cursor.dir/video" />
52 </intent-filter>
53 <intent-filter>
54 <action android:name="android.intent.action.GET_CONTENT" />
55 <category android:name="android.intent.category.OPENABLE" />
56 <data android:mimeType="vnd.android.cursor.dir/image" />
57 </intent-filter>
58 <intent-filter>
59 <action android:name="android.intent.action.GET_CONTENT" />
60 <category android:name="android.intent.category.OPENABLE" />
61 <category android:name="android.intent.category.DEFAULT" />
62 <data android:mimeType="image/*" />
63 <data android:mimeType="video/*" />
64 </intent-filter>
65 <intent-filter>
66 <action android:name="android.intent.action.PICK" />
67 <category android:name="android.intent.category.DEFAULT" />
68 <data android:mimeType="image/*" />
69 <data android:mimeType="video/*" />
70 </intent-filter>
71 <intent-filter>
72 <action android:name="android.intent.action.PICK" />
73 <category android:name="android.intent.category.DEFAULT" />
74 <data android:mimeType="vnd.android.cursor.dir/image" />
75 </intent-filter>
76 </activity>
77 <activity
Owen Lind6c2fb72009-10-15 03:43:44 -070078 android:name="com.android.camera.CropImage"
Owen Lin666ea1b2009-10-14 22:34:47 -070079 android:process=":CropImage"
80 android:configChanges="orientation|keyboardHidden"
Ashwini Oruganti14168332020-03-23 15:25:25 -070081 android:exported="true"
Owen Lin666ea1b2009-10-14 22:34:47 -070082 android:label="@string/crop_label">
83 <intent-filter android:label="@string/crop_label">
84 <action android:name="com.android.camera.action.CROP" />
85 <data android:mimeType="image/*" />
86 <category android:name="android.intent.category.DEFAULT" />
87 <category android:name="android.intent.category.ALTERNATIVE" />
88 <category android:name="android.intent.category.SELECTED_ALTERNATIVE" />
89 </intent-filter>
90 </activity>
Owen Lind6c2fb72009-10-15 03:43:44 -070091 <activity android:name="com.android.camera.ViewImage"
Owen Lin666ea1b2009-10-14 22:34:47 -070092 android:label="@string/view_label"
93 android:screenOrientation="behind"
Ashwini Oruganti14168332020-03-23 15:25:25 -070094 android:exported="true"
Owen Lin666ea1b2009-10-14 22:34:47 -070095 android:configChanges="orientation|keyboardHidden">
96 <intent-filter>
97 <action android:name="android.intent.action.VIEW" />
98 <category android:name="android.intent.category.DEFAULT" />
99 <data android:mimeType="image/*" />
100 </intent-filter>
101 </activity>
Owen Lind6c2fb72009-10-15 03:43:44 -0700102 <activity android:name="com.android.camera.MovieView"
Owen Lin666ea1b2009-10-14 22:34:47 -0700103 android:label="@string/movieviewlabel"
104 android:screenOrientation="landscape"
105 android:configChanges="orientation|keyboardHidden"
Ashwini Oruganti14168332020-03-23 15:25:25 -0700106 android:exported="true"
Owen Lin666ea1b2009-10-14 22:34:47 -0700107 android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen">
108 <intent-filter>
109 <action android:name="android.intent.action.VIEW" />
110 <category android:name="android.intent.category.DEFAULT" />
111 <category android:name="android.intent.category.BROWSABLE" />
112 <data android:scheme="rtsp" />
113 </intent-filter>
114 <intent-filter>
115 <action android:name="android.intent.action.VIEW" />
116 <category android:name="android.intent.category.DEFAULT" />
117 <data android:mimeType="video/*" />
118 <data android:mimeType="application/sdp" />
119 </intent-filter>
120 <intent-filter>
121 <action android:name="android.intent.action.VIEW" />
122 <category android:name="android.intent.category.DEFAULT" />
123 <category android:name="android.intent.category.BROWSABLE" />
124 <data android:scheme="http" />
125 <data android:mimeType="video/mp4" />
126 <data android:mimeType="video/3gp" />
127 <data android:mimeType="video/3gpp" />
128 <data android:mimeType="video/3gpp2" />
129 </intent-filter>
130 </activity>
Owen Lind6c2fb72009-10-15 03:43:44 -0700131 <activity android:name="com.android.camera.DeleteImage"
Owen Lin666ea1b2009-10-14 22:34:47 -0700132 android:label="@string/delete_images_message"
133 android:theme="@style/Theme.DeleteImageDialog">
134 </activity>
135
Owen Lind6c2fb72009-10-15 03:43:44 -0700136 <activity android:name="com.android.camera.GallerySettings"
Ashwini Oruganti14168332020-03-23 15:25:25 -0700137 android:exported="true"
Owen Lind6c2fb72009-10-15 03:43:44 -0700138 android:label="@string/preferences_label">
Owen Lin666ea1b2009-10-14 22:34:47 -0700139 <intent-filter>
140 <action android:name="android.intent.action.MAIN" />
141 <category android:name="android.intent.category.DEVELOPMENT_PREFERENCE" />
142 </intent-filter>
143 </activity>
144
Owen Lind6c2fb72009-10-15 03:43:44 -0700145 <activity android:name="com.android.camera.Wallpaper"
146 android:label="@string/camera_setas_wallpaper"
Ashwini Oruganti14168332020-03-23 15:25:25 -0700147 android:exported="true"
Owen Lind6c2fb72009-10-15 03:43:44 -0700148 android:icon="@drawable/ic_launcher_gallery">
Owen Lin666ea1b2009-10-14 22:34:47 -0700149 <intent-filter>
150 <action android:name="android.intent.action.ATTACH_DATA" />
151 <data android:mimeType="image/*" />
152 <category android:name="android.intent.category.DEFAULT" />
153 </intent-filter>
154 </activity>
155
Owen Lind6c2fb72009-10-15 03:43:44 -0700156 <activity android:name="com.android.camera.PickWallpaper"
157 android:label="@string/camera_pick_wallpaper"
Ashwini Oruganti14168332020-03-23 15:25:25 -0700158 android:exported="true"
Owen Lind6c2fb72009-10-15 03:43:44 -0700159 android:icon="@drawable/ic_launcher_gallery">
Owen Lin666ea1b2009-10-14 22:34:47 -0700160 <intent-filter>
161 <action android:name="android.intent.action.SET_WALLPAPER" />
162 <category android:name="android.intent.category.DEFAULT" />
163 </intent-filter>
164 </activity>
Owen Lind6c2fb72009-10-15 03:43:44 -0700165 <receiver android:name="com.android.camera.PhotoAppWidgetProvider"
166 android:label="@string/gadget_title"
Ashwini Oruganti14168332020-03-23 15:25:25 -0700167 android:exported="true"
Owen Lind6c2fb72009-10-15 03:43:44 -0700168 android:icon="@drawable/ic_launcher_gallery">
Owen Lin666ea1b2009-10-14 22:34:47 -0700169 <intent-filter>
170 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
171 </intent-filter>
Owen Lind6c2fb72009-10-15 03:43:44 -0700172 <meta-data android:name="android.appwidget.provider"
173 android:resource="@xml/appwidget_info" />
Owen Lin666ea1b2009-10-14 22:34:47 -0700174 </receiver>
175
176 <!-- We configure a widget by asking to pick a photo, then crop it, and store the config internally -->
Ashwini Oruganti14168332020-03-23 15:25:25 -0700177 <activity android:name="com.android.camera.PhotoAppWidgetConfigure"
178 android:exported="true">
Owen Lin666ea1b2009-10-14 22:34:47 -0700179 <intent-filter>
180 <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
181 </intent-filter>
182 </activity>
183
184 <!-- We also allow direct binding where the caller provides a bitmap and
185 appWidgetId to bind. We require the permission because this changes our
186 internal database without user confirmation. -->
Owen Lind6c2fb72009-10-15 03:43:44 -0700187 <activity android:name="com.android.camera.PhotoAppWidgetBind"
188 android:exported="true"
Owen Lin666ea1b2009-10-14 22:34:47 -0700189 android:theme="@android:style/Theme.NoDisplay"
190 android:permission="android.permission.BIND_APPWIDGET" />
191
192 </application>
193</manifest>
194