Original project here - https://github.com/jiangdongguo/AndroidUSBCamera
Purpose of this project: Prepare an easy-to-use library for Android applications that allows:
- Getting video from UVC devices.
- Getting audio from UAC devices.
-
Clone this repository.
-
This project contains a git submodule in the libuvc-git directory. Initialize it by running:
git submodule update --init --recursive
-
Open the project in Android Studio.
-
Make sure you have the NDK installed 27.0.12077973. Also, you will need CMake 3.31.6.
-
Build the project.
Android now often implicitly requires the CAMERA permission in addition to the explicit USB permission, especially when your app's targetSdkVersion is 28 or higher.