1 <?xml version="1.0" encoding="utf-8"?> 2 <manifest xmlns:android="http://schemas.android.com/apk/res/android" 3 package="org.opencv.test" 4 android:versionCode="1" 5 android:versionName="1.0"> 6 7 <uses-sdk android:minSdkVersion="8" /> 8 9 <!-- We add an application tag here just so that we can indicate that 10 this package needs to link against the android.test library, 11 which is needed when building test cases. --> 12 <application> 13 <uses-library android:name="android.test.runner" /> 14 </application> 15 <!-- 16 This declares that this application uses the instrumentation test runner targeting 17 the package of org.opencv. To run the tests use the command: 18 "adb shell am instrument -w org.opencv.test/android.test.InstrumentationTestRunner" 19 --> 20 <instrumentation android:name="org.opencv.test.OpenCVTestRunner" 21 android:targetPackage="org.opencv.test" 22 android:label="Tests for org.opencv"/> 23 24 <uses-permission android:name="android.permission.CAMERA"/> 25 <uses-feature android:name="android.hardware.camera" /> 26 <uses-feature android:name="android.hardware.camera.autofocus" /> 27 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> 28 </manifest> 29