ComPort for Android USB Serial

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 special root access privileges required
  • compatible with Delphi/C++Builder 10.4 - 12
  • includes source code in the registered version
  • royalty-free distribution in applications

Download and order

FAQ

What files should be deployed to the Android device?
Add this file in the Delphi Deployment window:
Local Name: device_filter.xml
Remote Path: res\xml\

Add these lines to the AndroidManifest.template.xml file:
<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?
Use HWiNFO on a PC and the USB Library for Android demo example on an Android device.

Related links