AndroidManifest.xml

庄武 庄, 2015-04-07 01:43 pm

Download (1.6 kB)

 
1
<?xml version="1.0" encoding="utf-8"?>
2
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3
    package="com.zhuangwu.camera"
4
    android:versionCode="1"
5
    android:versionName="1.0" >
6
   <uses-sdk android:minSdkVersion="15"
7
             android:targetSdkVersion="15" />
8
9
    <application
10
        android:allowBackup="true"
11
        android:icon="@drawable/ic_launcher"
12
        android:label="@string/app_name"
13
        android:theme="@style/AppTheme" >
14
        <activity
15
            android:name=".MainActivity"
16
            android:label="@string/app_name"
17
            android:screenOrientation="portrait"
18
            android:configChanges="keyboardHidden|screenSize">
19
            <intent-filter>
20
                <action android:name="android.intent.action.MAIN" />
21
                <category android:name="android.intent.category.LAUNCHER" />
22
            </intent-filter>
23
        </activity>
24
    </application>
25
    <supports-screens
26
                      android:smallScreens="true"
27
                      android:normalScreens="true"
28
                      android:largeScreens="true"
29
                      android:anyDensity="true"
30
                      />
31
    <uses-permission android:name="android.permission.CAMERA"/>
32
    <uses-feature android:name="android.hardware.camera" android:required="false"/>
33
    <uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>
34
    <uses-feature android:name="android.hardware.camera.front" android:required="false"/>
35
    <uses-feature android:name="android.hardware.camera.front.autofocus" android:required="false"/>
36
</manifest>