mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 14:13:15 +08:00
CMakeLists.txt rescued. Androidmanifest unified.
This commit is contained in:
parent
a5ee07d340
commit
84856fa2c1
@ -3,10 +3,6 @@
|
||||
android:versionCode="1"
|
||||
android:versionName="1.0" >
|
||||
|
||||
<uses-permission android:name="android.permission.CAMERA" required="false"/>
|
||||
<uses-feature android:name="android.hardware.camera" required="false"/>
|
||||
<uses-feature android:name="android.hardware.camera.autofocus" required="false"/>
|
||||
|
||||
<uses-sdk android:minSdkVersion="8"/>
|
||||
|
||||
<application
|
||||
@ -16,7 +12,9 @@
|
||||
<activity
|
||||
android:name=".Puzzle15Activity"
|
||||
android:label="@string/app_name"
|
||||
android:configChanges = "keyboardHidden|orientation" >
|
||||
android:screenOrientation="landscape"
|
||||
android:configChanges="keyboardHidden|orientation" >
|
||||
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
|
||||
@ -25,4 +23,9 @@
|
||||
</activity>
|
||||
</application>
|
||||
|
||||
<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>
|
6
samples/android/15-puzzle/CMakeLists.txt
Normal file
6
samples/android/15-puzzle/CMakeLists.txt
Normal file
@ -0,0 +1,6 @@
|
||||
set(sample example-15-puzzle)
|
||||
|
||||
add_android_project(${sample} "${CMAKE_CURRENT_SOURCE_DIR}" LIBRARY_DEPS ${OpenCV_BINARY_DIR} SDK_TARGET 11 ${ANDROID_SDK_TARGET})
|
||||
if(TARGET ${sample})
|
||||
add_dependencies(opencv_android_examples ${sample})
|
||||
endif()
|
Loading…
Reference in New Issue
Block a user