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

| Delphi 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey Delphi Android Delphi IOS

QR Code Firemonkey Android IOS | Delphi 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey Delphi Android Delphi 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
DelphiDemoFiremonkeyLinuxOSXShowcaseWindows

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

DelphiFiremonkeyShowcaseUtilityWindows

Unleashing Creativity With Song Writer AI: A Deep Dive

DelphiFiremonkeyShowcaseWindows

How To Build Stable Diffusion Text To Image Prompts

AndroidC++BuilderDelphiFiremonkeyIOSOSXWindows

FireMonkey 10.4.2 Features Updated iOS 14, Android 11, And macOS 11 Support Plus Hundreds Of Fixes

Sign up for our Newsletter and
stay informed

Leave a Reply