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

AndroidAppmethodCode SnippetComponentDelphiFiremonkeyIOS

Generate QR Codes Using Firemonkey In Dephi XE5 On IOS And Android

QR Code Firemonkey Android IOSThanks to the opensource DelphiZXingQRCode unit  by Debenu  ported from ZXing, QR Code generation can now be done from your Delphi VCL applications. Žarko Gajić, an Embarcadero MVP shows you how to to take it one step further and “FireMonkey-enable” (desktop or mobile (Android, iOS)) the DelphiZXingQRCode unit by making only a small number of changes to the Units source code. By simply replacing the  “uses contnrs, …” with “uses System.Generics.Collections”, “Blocks: TObjectList;” with “Blocks: TObjectList<TBlockPair>;” , all occurences of “ansistring” and “widestring” with “String”, and the TCanvas class Pixels property with SetPixel of the TBitmapData instance instead.
Visit Zarko’s blog and review the other subtle changes related to bitmaps and add QR code support to your Firemonkey applications.

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

Related posts
FiremonkeyPythonShowcase

Desktop AI Image Upscaling with FireMonkey: A Python-Powered Demo

FiremonkeyPythonWindows

Flux 1.1 Pro Desktop GUI Client: Harnessing Generative AI with FireMonkey for Python

DelphiDemoFiremonkeyLinuxOSXShowcaseWindows

AutoBlogAI: FireMonkey Client To Leverage LLMs And Generative AI For Blogging

DelphiFiremonkeyShowcaseUtilityWindows

Unleashing Creativity With Song Writer AI: A Deep Dive

Sign up for our Newsletter and
stay informed

Leave a Reply