ComPort for Android USB Serial

ComPort for Android USB Serial

Delphi and C++ Builder serial communication library for USB connected devices for Android.
  • uses UsbSerial library
  • supports CP210x, CP2130, CDC, FTDI, PL2303 and CH34x devices
  • no special root access privileges needed
  • available for Delphi/C++ Builder 10 - 10.4
  • source code included in registered version
  • royalty free distribution in applications

Download and order


What files should be deployed to Android device?
Add these files in Delphi Deployment window:
Local NameRemote Path  Note
usbserial.dexassets\internal\  Delphi 10 and higher: add classes.jar to Libraries list in Project Manager instead

Add these lines to AndroidManifest.template.xml file:
  <action android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" />

<meta-data android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" android:resource="@xml/device_filter" />
How can I determine chip used in USB/RS232 adapter?
Use HWiNFO on PC and USB Library for Android demo example on Android.

Related links