mirror of
https://github.com/opencv/opencv.git
synced 2024-12-15 09:49:13 +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.
32 lines
1.2 KiB
XML
32 lines
1.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="org.opencv.samples.tutorial4"
|
|
android:versionCode="1"
|
|
android:versionName="1.0" >
|
|
|
|
<uses-sdk
|
|
android:minSdkVersion="14"
|
|
android:targetSdkVersion="21" />
|
|
|
|
<uses-feature android:glEsVersion="0x00020000" android:required="true"/>
|
|
<uses-feature android:name="android.hardware.camera"/>
|
|
<uses-feature android:name="android.hardware.camera2" android:required="false"/>
|
|
<uses-permission android:name="android.permission.CAMERA"/>
|
|
|
|
<application
|
|
android:allowBackup="true"
|
|
android:icon="@drawable/icon">
|
|
<activity
|
|
android:name=".Tutorial4Activity"
|
|
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>
|
|
|
|
</manifest>
|