Serial Port (OTG) for oF Android?


I’m trying to read/write to a serial port via openFrameworks using the NDK on Android Studio. I can successfully access my attached USB device in Java but am not finding any success in using OfSerial (doesn’t identify any serial devices).

Anyone have any suggestions on how I can get serial read/write access to the attached OTG device?


I’ve tried a number of methods form OF forums but have found that making my own JNI compatible lib will be a decent solution. Any other suggestions?

Hi @rsp5y did you finally implement your own compatible library to read the serial port? Did you find this easy enough?