TMS 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.
FMXExpress.com has over 700 tips and tricks for building cross platform apps on Android, IOS, OSX, Windows, and Linux with a single codebase and single UI using the FireMonkey framework found in Delphi and C++Builder.
FMXExpress covers top cross platform secrets for FireMonkey in C++Builder and Delphi XE5, XE6, XE7, XE8, Seattle, Berlin, Tokyo, Rio, and Sydney.
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?
I look forward
I also use XE6, and it does not work, it may only work on XE5
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.