UVCAndroid
Library and sample to access UVC camera on non-rooted Android device
How do I use it?
Setup
Dependencies
repositories {
mavenCentral()
}
dependencies {
implementation 'com.herohan:UVCAndroid:1.0.4'
}
R8 / ProGuard
If you are using R8 the shrinking and obfuscation rules are included automatically.
ProGuard users must manually add the below options.
-keep class com.herohan.uvcapp.** { *; }
-keep class com.serenegiant.usb.** { *; }
-keepclassmembers class * implements com.serenegiant.usb.IButtonCallback {*;}
-keepclassmembers class * implements com.serenegiant.usb.IFrameCallback {*;}
-keepclassmembers class * implements com.serenegiant.usb.IStatusCallback {*;}
Requirements
Android 5.0+