mirror of
https://github.com/opencv/opencv.git
synced 2024-12-11 22:59:16 +08:00
3a1ccd5f43
Many of the Android samples rely on an options menu to work properly but, at least on newer devices, the menu is permanently hidden by the Android theme "Theme.NoTitleBar.Fullscreen", which means that most of the examples were dysfunctional.
38 lines
1.5 KiB
XML
38 lines
1.5 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="301"
|
|
android:versionName="3.01">
|
|
|
|
<application
|
|
android:label="@string/app_name"
|
|
android:icon="@drawable/icon">
|
|
|
|
<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>
|