I have a rooted Android device with a USB serial device connected. The device shows up as "/dev/ttyUSB5"
I would like to open the serial port and read/write from it. First and foremost... within Android, will it even allow me to read/open /dev/ttyUSB5? Or within the application will I be prohibited from touching /dev ? If I cannot touch anything in /dev, then this is all irrelevant.
However, if I can, then I am wondering if it is possible to import javax.comm so that I can communicate with the serial device.
As of right now, I am able to get around this by spawning a native C application which opens the serial port, then I use a socket to read/write to the serial port in Java. However, it would be much better to do it all in Java.