mirror of
https://github.com/opencv/opencv.git
synced 2024-11-30 14:29:49 +08:00
2c67731a7b
All samples use application style in android manifest instead of system calls in onCreate event now.
39 lines
1.6 KiB
XML
39 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="org.opencv.samples.facedetect"
|
|
android:versionCode="21"
|
|
android:versionName="2.1">
|
|
|
|
<application
|
|
android:label="@string/app_name"
|
|
android:icon="@drawable/icon"
|
|
android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >
|
|
|
|
<activity android:name="FdActivity"
|
|
android:label="@string/app_name"
|
|
android:screenOrientation="landscape"
|
|
android:configChanges="keyboardHidden|orientation">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
</activity>
|
|
</application>
|
|
|
|
<supports-screens android:resizeable="true"
|
|
android:smallScreens="true"
|
|
android:normalScreens="true"
|
|
android:largeScreens="true"
|
|
android:anyDensity="true" />
|
|
|
|
<uses-sdk android:minSdkVersion="8" />
|
|
|
|
<uses-permission android:name="android.permission.CAMERA"/>
|
|
|
|
<uses-feature android:name="android.hardware.camera" android:required="false"/>
|
|
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>
|
|
<uses-feature android:name="android.hardware.camera.front" android:required="false"/>
|
|
<uses-feature android:name="android.hardware.camera.front.autofocus" android:required="false"/>
|
|
|
|
</manifest>
|