mirror of
https://github.com/opencv/opencv.git
synced 2024-12-05 09:49:12 +08:00
37 lines
1.7 KiB
XML
37 lines
1.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="org.opencv.samples.NativeActivity"
|
|
android:versionCode="1"
|
|
android:versionName="1.0">
|
|
<uses-sdk android:minSdkVersion="9" />
|
|
<application android:label="@string/app_name"
|
|
android:icon="@drawable/icon"
|
|
android:debuggable="true">
|
|
|
|
<activity android:name="CvNativeActivity"
|
|
android:label="@string/app_name"
|
|
android:screenOrientation="landscape"
|
|
android:configChanges="orientation|keyboardHidden">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity android:name="android.app.NativeActivity"
|
|
android:label="@string/app_name"
|
|
android:screenOrientation="landscape"
|
|
android:configChanges="keyboardHidden|orientation">
|
|
<meta-data android:name="android.app.lib_name"
|
|
android:value="native_activity" />
|
|
</activity>
|
|
</application>
|
|
|
|
<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>
|