1<?xml version="1.0" encoding="utf-8"?> 2 3<!-- 4 Copyright (C) 2013 The Android Open Source Project 5 6 Licensed under the Apache License, Version 2.0 (the "License"); 7 you may not use this file except in compliance with the License. 8 You may obtain a copy of the License at 9 10 http://www.apache.org/licenses/LICENSE-2.0 11 12 Unless required by applicable law or agreed to in writing, software 13 distributed under the License is distributed on an "AS IS" BASIS, 14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 See the License for the specific language governing permissions and 16 limitations under the License. 17--> 18 19<manifest xmlns:android="http://schemas.android.com/apk/res/android" 20 package="com.android.testingcamera2" 21 android:versionCode="1" 22 android:versionName="1.0" > 23 24 <uses-permission android:name="android.permission.CAMERA" /> 25 26 <uses-feature android:name="android.hardware.camera" /> 27 <uses-feature 28 android:name="android.hardware.camera.autofocus" 29 android:required="false" /> 30 31 <uses-sdk 32 android:minSdkVersion="21" 33 android:targetSdkVersion="10000" /> 34 35 <uses-feature 36 android:name="android.hardware.camera.front" 37 android:required="false" /> 38 39 <uses-permission android:name="android.permission.RECORD_AUDIO" /> 40 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> 41 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> 42 43 <application 44 android:icon="@mipmap/launcher_testingcamera2" 45 android:label="@string/app_name" 46 android:theme="@android:style/Theme.Holo"> 47 <activity 48 android:name="com.android.testingcamera2.v1.TestingCamera2" 49 android:configChanges="orientation|keyboardHidden|screenSize" 50 android:label="@string/v1_app_name" > 51 <intent-filter> 52 <action android:name="android.intent.action.MAIN" /> 53 54 <category android:name="android.intent.category.LAUNCHER" /> 55 </intent-filter> 56 </activity> 57 <activity 58 android:name="com.android.testingcamera2.TestingCamera21" 59 android:label="@string/app_name" 60 android:configChanges="orientation|keyboardHidden|screenSize"> 61 <intent-filter> 62 <action android:name="android.intent.action.MAIN" /> 63 <category android:name="android.intent.category.LAUNCHER" /> 64 </intent-filter> 65 </activity> 66 </application> 67 68</manifest> 69