Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/cassandra/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
React native 是否有任何react本机库可以通过USB OTG电缆连接到DSLR相机?_React Native_React Native Android - Fatal编程技术网

React native 是否有任何react本机库可以通过USB OTG电缆连接到DSLR相机?

React native 是否有任何react本机库可以通过USB OTG电缆连接到DSLR相机?,react-native,react-native-android,React Native,React Native Android,我想通过OTG USB电缆将移动设备连接到DSLR相机,并从DSLR相机检索图像,是否有任何react本机库可以做到这一点 我已经尝试过,getDeviceListSync()可以返回设备信息,但是当调用openDeviceAsync()函数时,它返回以下错误: {"framesToPop":1,"nativeStackAndroid": [{"methodName":"getUsbSerialDriver" ,"lineNumber":166,"file": "ReactUsbSerialMo

我想通过OTG USB电缆将移动设备连接到DSLR相机,并从DSLR相机检索图像,是否有任何react本机库可以做到这一点

我已经尝试过,getDeviceListSync()可以返回设备信息,但是当调用openDeviceAsync()函数时,它返回以下错误:

{"framesToPop":1,"nativeStackAndroid": [{"methodName":"getUsbSerialDriver" ,"lineNumber":166,"file": "ReactUsbSerialModule.java"} ,{"methodName":"openDeviceAsync" ,"lineNumber":76,"file":"ReactUsbSerialModule java"},{"methodName":"invoke" ,"lineNumber":-2,"file":"Method.java"} ,{"methodName":"invoke","lineNumber": 372,"file":"JavaMethodWrapperjava"} ,{"methodName":"invoke","lineNumber": 158,"file":"JavaModuleWrapperjava"} ,{"methodName":"run","lineNumber":-2,"file": "NativeRunnable.java"},{"methodName": "handleCallback","lineNumber":873 ,"file":"Handlerjava"},{"methodName": "dispatchMessage","lineNumber":99 ,"file":"Handlerjava"},{"methodName": "dispatchMessage","lineNumber":29,"file": "MessageQueueThreadHandlerjava"} ,{"methodName":"loop","lineNumber":201 ,"file":"LooperjavalruserInfo":null,"code": "EUNSPECIFIED","line":1730,"column":26 ,"sourceURI1:"http://localhost:8081/index .bundle?platform=android&dev=true&minify= false") 

这方面有更新吗?你找到图书馆了吗?