Home | History | Annotate | Download | only in Camera
      1 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
      2         package="com.android.camera"
      3         android:versionCode="1"
      4         android:versionName="1"
      5         >
      6 
      7     <original-package android:name="com.android.camera" />
      8 
      9     <uses-permission android:name="android.permission.CAMERA" />
     10     <uses-feature android:name="android.hardware.camera" />
     11     <uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />
     12 
     13     <uses-permission android:name="android.permission.RECORD_AUDIO" />
     14     <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
     15     <uses-permission android:name="android.permission.WAKE_LOCK" />
     16     <uses-permission android:name="android.permission.SET_WALLPAPER" />
     17     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
     18     <uses-permission android:name="android.permission.READ_SMS" />
     19 
     20     <application android:icon="@drawable/ic_launcher_camera"
     21             android:label="@string/camera_label"
     22             android:taskAffinity="">
     23         <receiver android:name="com.android.camera.CameraButtonIntentReceiver">
     24             <intent-filter>
     25                 <action android:name="android.intent.action.CAMERA_BUTTON"/>
     26             </intent-filter>
     27         </receiver>
     28         <activity android:name="com.android.camera.Camera"
     29                 android:configChanges="orientation|keyboardHidden"
     30                 android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen"
     31                 android:screenOrientation="landscape"
     32                 android:clearTaskOnLaunch="true"
     33                 android:taskAffinity="android.task.camera">
     34             <intent-filter>
     35                 <action android:name="android.intent.action.MAIN" />
     36                 <category android:name="android.intent.category.DEFAULT" />
     37                 <category android:name="android.intent.category.LAUNCHER" />
     38             </intent-filter>
     39             <intent-filter>
     40                 <action android:name="android.media.action.IMAGE_CAPTURE" />
     41                 <category android:name="android.intent.category.DEFAULT" />
     42             </intent-filter>
     43             <intent-filter>
     44                 <action android:name="android.media.action.STILL_IMAGE_CAMERA" />
     45                 <category android:name="android.intent.category.DEFAULT" />
     46             </intent-filter>
     47         </activity>
     48         <activity android:name="com.android.camera.VideoCamera"
     49                 android:label="@string/video_camera_label"
     50                 android:configChanges="orientation|keyboardHidden"
     51                 android:icon="@drawable/ic_launcher_video_camera"
     52                 android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen"
     53                 android:screenOrientation="landscape"
     54                 android:clearTaskOnLaunch="true"
     55                 android:taskAffinity="android.task.camcorder">
     56             <intent-filter>
     57                 <action android:name="android.media.action.VIDEO_CAMERA" />
     58                 <category android:name="android.intent.category.DEFAULT" />
     59             </intent-filter>
     60             <intent-filter>
     61                 <action android:name="android.media.action.VIDEO_CAPTURE" />
     62                 <category android:name="android.intent.category.DEFAULT" />
     63             </intent-filter>
     64         </activity>
     65     </application>
     66 </manifest>
     67 
     68