ComPort for Android USB Serial
Delphi and C++Builder serial communication library for USB-connected devices on Android.
- Utilizes the UsbSerial library
- Supports CP210x, CP2130, CDC, FTDI, PL2303, and CH34x devices
- No root access required
- Compatible with Delphi/C++Builder versions 10.4 - 13
- Source code included with registered version
- Royalty-free distribution in compiled applications
Order ComPort for Android USB Serial license $120 USD (license for one developer)
Order ComPort for Android USB Serial multi-license $360 USD (license for all developers in company)
Order ComPort for Android USB Serial year upgrades $60 USD (registered users only)
Order ComPort for Android USB Serial year upgrades multi-license $180 USD (registered multi-license users only)
FAQ
What files should be deployed to the Android device?
To ensure proper USB device support in your Delphi Android application, follow these steps:1.Add Files to the Delphi Deployment window
| Local Name | Remote Path | Note |
|---|---|---|
| device_filter.xml | res\xml\ |
Include the following JAR file in the Libraries list of your Delphi project
classes.jar
Add the following entries to handle USB device attachment events:
<intent-filter> <action android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" /> </intent-filter> <meta-data android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" android:resource="@xml/device_filter" />
How can I determine the chip used in a USB/RS232 adapter?
On a Windows PC use HWiNFO, a powerful hardware information and diagnostic tool.On an Android device use the USB Library for Android demo.