Access The Com Port On Android With Delphi XE5 Firemonkey Component

Delphi XE5 Firemonkey ComPort AndroidWinsoft has a native pascal component for Delphi XE5 Firemonkey on Android which will allow you to communicate with the ComPort of your Android device. Apparently not all phones have a ComPort but HTC devices do. There is a native library for Android in Java that will allow you to access the ComPort too but this component does not appear to use that library and is in pascal. This is a commercial com port component but it comes with a free trial so you can see if it works for you first. The example that is included with the free trial is pretty straight forward. Here is some sample code to read and write data to the ComPort:

Head over and get the free trial of the com port component.

Have Delphi Firemonkey questions? Ask and get answers on StackOverflow.

Access The Com Port On Android With Delphi XE5 Firemonkey Component by Delphi XE5 XE6 XE7 XE8 10 Seattle Berlin Firemonkey, Delphi Android, Delphi IOS is licensed under a Creative Commons Attribution 4.0 International License.

4 Responses to Access The Com Port On Android With Delphi XE5 Firemonkey Component

  1. Bruce says:

    I want to use (XE5 Android) comport component to connect by bluetooth to another device, as I can do it?

    regards

  2. Vladimir says:

    When I try connect to /dev/ttyUSB0 happens “permission denied”.

  3. dengtao says:

    When I try connect to /dev/ttyUSB0 happens “permission denied”.

Leave a Reply

Show Buttons
Hide Buttons
Read previous post:
Delphi XE5 Firemonkey SecureBridge Component
Secure Your Delphi XE5 Firemonkey App Data Connections On Android And IOS

I found this SecureBridge component suite today which has been out since October 2013. It looks to be a low...

Close