java - Holding a reference to C++ object with JNI (and USB programming) -
i've got usb recording device, api written in c++. interface existing java application, upon initialisation of application connects device, can subsequently start , stop recording, rather having reconnect each recording. require reference connection @ java end. possible wrap c++ code in class , maintain reference object of @ java end phone call start/stop recording method when required?
otherwise api not add together much additional functionality, byte commands send device start , stop recording simple. simpler interface straight usb? i've little experience jni , no experience usb programming.
unfortunately cannot share sample code project.
java c++ jni usb
No comments:
Post a Comment