QR Code Scanner Source Code For Delphi XE5 Firemonkey On Android And IOS

Delphi XE5 Firemonkey QR Code ScannerTMS Software released a free component called TTMSFMXZBarReader which will read a QR Code on IOS using Delphi XE5 Firemonkey with two lines of code. It uses the open source ZBar library to do so. There is also a solution for Android which is more convoluted. The Android code to read QR codes seems to be a blend of code from Jim McKeeth, John Whitham, and Thomas K. Jim McKeeth from Embarcadero did a Webinar about gadgets and devices which has a QR reader demo project. Once you get the source code for the Webinar the QR code Android demo is called ‘Delphi Barcode Readers.zip’. John Whitham has a page up where he explains how to read QR codes using the Zxing library. And Thomas K posted some codes in the comments of the TMS Software blog post where he combined the TMS Software component with code from Jim McKeeth to handle IOS and Android with the same component (however it seems like it still need the Zxing library to work). Looks like you’ll have to do your own experimenting to get the Android code to work.

Read the blog post and download the source code for the TMS Software IOS QR code reader component.

Check out the Webinar from Embarcadero for the Android QR code reader source. And the Zxing library way.

Download our mirror of the combo IOS and Android experimental component from Thomas K.

Update: Check out a bar code reader component (uses ZBar) for Windows and OSX from Winsoft.sk.

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

6 Responses to QR Code Scanner Source Code For Delphi XE5 Firemonkey On Android And IOS

  1. Pingback: Massive Component Suite For Delphi XE5 Firemonkey On Android And IOS | Delphi XE5 Firemonkey, Delphi Android, Delphi IOS

  2. Loester Rodrigo says:

    Need to work with the QRcode, tried using the example of guys and I could not, I’m using delphi XE6.

    Have some ready example, and would like to know how to embed also has direct scan on my apk?

    Thank you,
    I look forward


    Loester Silva

  3. Pingback: Year In Review: Top 10 Most Popular Delphi Firemonkey Posts For 2014 | Delphi XE5 XE6 XE7 Firemonkey, Delphi Android, Delphi IOS

  4. Pingback: Scan Barcodes With Object Pascal Version Of ZXing In #Delphi XE8 Firemonkey On Android And IOS | Delphi XE5 XE6 XE7 XE8 Firemonkey, Delphi Android, Delphi IOS

  5. João says:

    It does not work on Delphi xe10 Seattle Up1.
    Opens the thing that reads Qr-code or BarCode, the information appears on the screen but does not pass to the text object. The event of the object that receives the data from the Qr-Code or BarCode data of the object is not called.

Leave a Reply

Show Buttons
Hide Buttons
Read previous post:
Configure Android System Settings From Delphi XE5 Firemonkey

Jim McKeeth from Embarcadero has a blog post up where he shows how to use the Android API with Delphi...