mirror of
https://github.com/opencv/opencv.git
synced 2024-12-16 10:29:11 +08:00
500fd453a1
Android sample for VideoWriter #24592 This PR: * adds an Android sample for video recording with MediaNDK and built-in MJPEG. * adds a flag `--no_media_ndk` for `build_sdk.py` script to disable MediaNDK linkage. ### Pull Request Readiness Checklist See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request - [x] I agree to contribute to the project under Apache 2 License. - [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV - [x] The PR is proposed to the proper branch - [x] There is a reference to the original bug report and related work - [x] There is accuracy test, performance test and test data in opencv_extra repository, if applicable Patch to opencv_extra has the same branch name. - [x] The feature is well documented and sample code can be built with the project CMake
39 lines
1.6 KiB
XML
39 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="org.opencv.samples.recorder"
|
|
>
|
|
|
|
<application
|
|
android:label="@string/app_name"
|
|
android:icon="@drawable/icon"
|
|
android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >
|
|
|
|
<activity
|
|
android:exported="true"
|
|
android:name="RecorderActivity"
|
|
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>
|
|
|
|
<supports-screens android:resizeable="true"
|
|
android:smallScreens="true"
|
|
android:normalScreens="true"
|
|
android:largeScreens="true"
|
|
android:anyDensity="true" />
|
|
|
|
<uses-permission android:name="android.permission.CAMERA"/>
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
|
|
|
<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>
|