ComPort for Android USB

ComPort for Android USB

Delphi and C++ Builder serial communication library for USB connected devices for Android.
  • uses usb-serial-for-android library
  • supports FTDI FT232R, FT232H, FT2232H, FT4232H, FT230X, FT231X, FT234XD; Prolific PL2303; Silabs CP2102 and all other CP210x; Qinheng CH340, CH341A; CDC/ACM (Arduino Uno) chips
  • no special root access privileges needed
  • available for Delphi/C++ Builder XE6 - 10.4
  • source code included in registered version
  • royalty free distribution in applications

Download and order

FAQ

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
device_filter.xmlres\xml\

Add these lines to 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 chip used in USB/RS232 adapter?
Use HWiNFO on PC and USB Library for Android demo example on Android.

Related links