AndroidManifest.xml 1.18 KB
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
	package="com.OpenCV_SAMPLE" android:versionCode="1"
	android:versionName="1.0">
	<application android:label="@string/app_name"
		android:debuggable="true" android:icon="@drawable/icon">
		<activity android:name=".OpenCV_SAMPLE" android:label="@string/app_name"
			android:screenOrientation="landscape" android:configChanges="orientation|keyboardHidden|keyboard">
			<intent-filter>
				<action android:name="android.intent.action.MAIN" />
				<category android:name="android.intent.category.LAUNCHER" />
			</intent-filter>
		</activity>
		<!-- These activities are defined in the android-opencv library, and just 
			reused here -->
		<activity android:name="com.opencv.camera.CameraConfig"
			android:label="@string/app_name" android:screenOrientation="landscape"
			android:configChanges="orientation|keyboardHidden|keyboard">
		</activity>
	</application>

	<uses-sdk android:minSdkVersion="7" />

	<!-- set the opengl version -->
	<uses-feature android:glEsVersion="0x00020000" />
	<!-- use the camera -->
	<uses-permission android:name="android.permission.CAMERA"></uses-permission>

</manifest>