i have camera application that use camera api 2 in xamarin andorid and want to make it able to work with webcame / usb cam using camera api 2 what steps needed to detect photo from external camera not only back and front camera.
if no what is the other option for this?
I found others use UVCCamera library and using the build output (libuvccamera-XXX.aar) finally created an AAR binding library.
UVCCamera library could access to UVC web camera on non-rooted Android device. This issue is used to the Android studio, you cannot use it directly, you should build libuvccamera-XXX.aar output file, then add it.
You can see this similar thread and refer to this solution.https://forums.xamarin.com/discussion/137785/external-usb-webcam-plugin-for-xamarin-android
@LeonLu is there is any link to AAR library or there's steps to produce it
Here is a link about binding an .AARhttps://docs.microsoft.com/en-us/xamarin/android/platform/binding-java-library/binding-an-aar
I tried to generate .aar from the library itself but it's nightmare if you have any sample use this will be thankful.
Nope, I canot found these simple.
Anyone have .aar file of libuvccamera to convert it for xamarin
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies