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

AndroidAppmethodCode SnippetDelphiFiremonkey

Tutorial To Read And Write Bar Codes And QR Codes With Delphi XE5 Firemonkey On Android

Delphi XE5 Firemonkey Barcode Read Write TutorialAndrea Magni has a blog post up with a tutorial for reading and writing bar codes and QR codes on Android with Delphi XE5 Firemonkey. There are a number of different blog posts and components around for handling bar codes and QR codes on Android. This tutorial explains how to use the third party application Barcode Scanner (which is free from Google Play) to handle reading and writing the bar codes. This method is similar to using CameraUI (aka the built in camera application on the device) for taking photos and videos. Even if you don’t need bar code scanning functionality the tutorial shows you how to launch an Intent on Android and then wait for the result to come back. The blog post is in Italian but I’ve run it through ¬†Google Translate for you. Here is some sample code from the tutorial which shows how to setup an ApplicationEventHandler which will receive the results from the Intent:

Head over and check out the full tutorial on reading and writing bar codes and QR codes on Android.


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

Related posts

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


Ryzen 9 5950x: One Billion Lines Of Delphi Code Compiled In ~5 Minutes On 16 Cores


DelphiCon 2020 FireMonkey Sessions Available Starting November 19


Powerful Commercial Gorilla3D Framework Upgraded For Delphi FireMonkey On Windows And Android

Sign up for our Newsletter and
stay informed

Leave a Reply