Library and sample to access UVC camera on non-rooted Android device
repositories {
mavenCentral()
}
dependencies {
implementation 'com.herohan:UVCAndroid:1.0.4'
}
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 {*;}
Android 5.0+