Terradrones Active Member Licensed User Feb 11, 2026 #1 Hi Everyone, where can I find the "SerialPort" Library? I have looked everywhere but fail to find it. I want to use it to access the TTYS1 port on a Total Station where the Android device forms part of the Total Station. This is so that the Survey Program (Ceaser) can work on the TS. Thank you Michael
Hi Everyone, where can I find the "SerialPort" Library? I have looked everywhere but fail to find it. I want to use it to access the TTYS1 port on a Total Station where the Android device forms part of the Total Station. This is so that the Survey Program (Ceaser) can work on the TS. Thank you Michael
Erel B4X founder Staff member Licensed User Longtime User Feb 11, 2026 #2 There is no "serial port" library in Android. If you are using a USB-Serial adapter then search for felUsbSerial or UsbSerial. On some devices you can access TTSY1 with the standard file operations: https://www.b4x.com/android/forum/threads/rs232-access-denied-to-dev-ttyama1.113511 (if it works then use AsyncStreams with it). Upvote 0
There is no "serial port" library in Android. If you are using a USB-Serial adapter then search for felUsbSerial or UsbSerial. On some devices you can access TTSY1 with the standard file operations: https://www.b4x.com/android/forum/threads/rs232-access-denied-to-dev-ttyama1.113511 (if it works then use AsyncStreams with it).