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;” , 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
DelphiDemoFiremonkeyIOSLinuxOSXWindows

Bring OpenAI Agents, Vision, Audio, And Realtime AI To Firemonkey

DelphiIDEWindows

Add AI Pair Programming, Refactoring, And Multi-LLM Workflows To RAD Studio

DelphiDemoFiremonkeyLibraryWindows

Bring OpenAI, Local LLMs, And AI Assistants To FMX Apps

DelphiFiremonkeyLibrary

DelphiGemini Brings Native Google Gemini AI Integration To Delphi

Sign up for our Newsletter and
stay informed
[mailpoet_form id="1"]

Leave a Reply