Developer Edward S. has converted part of the ZXing bar code scanning library to Delphi XE8 Firemonkey. The Zebra Crossing (ZXing) library is a well known open source bar code scanning libary and there are a few different ways you can use it’s static and dynamic libraries with Delphi. However, the ZXing.Delphi library is native object pascal and there is no other libraries you have to include to make it work. It utilizes the built in Firemonkey camera component as well. ZXing.Delphi works on Android, IOS, OSX, and Windows. Currently the Delphi version of the library only supports the 1D Barcode (Code 128) type but the original ZXing library supports a lot more. Edward is asking for contributors to translate the Java or C# code for other types of barcodes from the ZXing library to the Object Pascal version of the library. The code should also work with Appmethod.
Head over and download the full source code to the ZXing.Delphi library for Delphi XE8 Firemonkey from Github.
While I think having the library in native Object Pascal and I applaud the effort, it should be noted that with an upgrade to the latest 64-bit library, DavidI’s demo for XE5 (I think that’s the version) actually compiles, links and runs. It supports more 1D and 2D barcode formats such as QR. Until the full library has been ported (unless you need just the one format), you can leverage the existing library now in your apps.
QR-Code, Code 128, Code93 are supported. More on the way.
Complete list 1/1/2017:
UPC-A, UPC-E, EAN-8, EAN-13, Code 93, Code 128,Code 39, ITF, QR Code, Data Matrix