RAD Studio 10.4.1 is now available! Learn more. Looking for discounts? Visit our Special Offers page!
CodeDelphiRAD Studio

Powerful Core NFC API Library For Delphi FireMonkey On iOS By Winsoft

time lapse photography of cars on road during night time
  1. Introduction

NFC Library for iOS uses Core NFC API. This Library is not available for other platforms.

2. Components in the Demo and what they do

The Demo contains a tab control with three tab items, named Read NDEF, Write NDEF, Read TAG. Each tab item contains Read or Write button, which in some cases calls the same onClick event and executes the same code. For example the Read NDEF and Write NDEF tab items both execute the same code in their buttons’ onClick events. You see the code bellow.

The TNDefSession and TNfcTagSession objects actually are part of the NFC Library that reads and writes when NFC items for scanning are near the phone. When the OnDetect event is called of the NDefSession, the code in the NDefDetect method is executed. A cycle starts, going through all the available tags. You can see this in the code below.

When NFC is active, a line with text is added to the TMemo with text ‘Active event’.

To get a better vision of how this library works, check the video with the Demo in Action below.

To get the Demo and test it, please download the library from the link below.

https://winsoft.sk/download/infclib.zip


Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder. Design. Code. Compile. Deploy. Start Free Trial   Free Delphi Community Edition   Free C++Builder Community Edition   Upgrade Today
Sign up for our daily posts newsletter!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

IN THE ARTICLES