I working on an open source live stacking android app and I want to add ASI ZWO support.
It is enabled in Linux variant using normal ASI SDK and libuvc for cameras that support UVC protocol like sv105.
Currently I work with UVC based cameras and the workflow on Android is following:
- I ask permission to access USB device from Java App
- I access the device and get file descriptor
- I pass the file descriptor to C++/NDK code and open camera using libuvc that is linked against libusb and has android specific option to open camera from file descriptor.
This setup works fine with SVBony's sv105 and other webcams.
I've looked into ASI ZWO SDK. There is Java API to access the device, ask permissions etc, but since the application is written in C++/OpenCV with only small portion using Java/Android API I want to use C++ API but I don't see an api to open camera from file descriptor.
What is the workflow you suggest to access the device from C++ while getting permissions (do I need?) in Java UI.