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 41 <application 42 android:icon="@mipmap/launcher_testingcamera2" 43 android:label="@string/app_name" 44 android:theme="@android:style/Theme.Holo"> 45 <activity 46 android:name="com.android.testingcamera2.v1.TestingCamera2" 47 android:configChanges="orientation|keyboardHidden|screenSize" 48 android:label="@string/v1_app_name" > 49 <intent-filter> 50 <action android:name="android.intent.action.MAIN" /> 51 52 <category android:name="android.intent.category.LAUNCHER" /> 53 </intent-filter> 54 </activity> 55 <activity 56 android:name="com.android.testingcamera2.TestingCamera21" 57 android:label="@string/app_name" 58 android:configChanges="orientation|keyboardHidden|screenSize"> 59 <intent-filter> 60 <action android:name="android.intent.action.MAIN" /> 61 <category android:name="android.intent.category.LAUNCHER" /> 62 </intent-filter> 63 </activity> 64 </application> 65 66</manifest> 67