Get access to over 100 FireMonkey cross platform samples for Android, IOS, OSX, Windows, and Linux!

AndroidAppmethodComponentDelphiDemoFiremonkey

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.

Related posts
DelphiIDEShowcaseWindows

Ryzen 9 5950x: One Billion Lines Of Delphi Code Compiled In ~5 Minutes On 16 Cores

DelphiFiremonkeyIDEIOSOSXWindows

DelphiCon 2020 FireMonkey Sessions Available Starting November 19

AndroidC++BuilderDelphiDemoFiremonkeyWindows

Powerful Commercial Gorilla3D Framework Upgraded For Delphi FireMonkey On Windows And Android

AndroidC++BuilderCode SnippetDelphiDemoFiremonkeyIOSOSXShowcaseWindows

Powerful Cross Platform Email App Sample In Delphi 10.4.1 FireMonkey For Android And IOS

Sign up for our Newsletter and
stay informed

4 Comments

Leave a Reply