TMS TTMSFMXZBarReader 1.0
tmssoftware.com – FreewareFeature overview
For an internal project, we looked at integrating QR code scanning in an iOS application. As we didn't feel like reinventing the wheel and deal with the complexities of deciphering a QR code, we searched for existing code and after trying out several solutions, found ZBar to be one of the most solid libraries. The project is at : http://zbar.sourceforge.net/
After doing this evaluation in XCode with ObjectiveC, the next duty was to find out how we could use an ObjectiveC library from a Delphi FireMonkey project. There are several important details to pay attention to when doing this, but finally this also proved to work and in the typical Delphi RAD philosophy, we decided to create a wrapper Delphi component for this. With this wrapper component, scanning a QR, UPC or EAN code from Delphi is as simple as two lines of code:
procedure TForm1136.Button1Click(Sender: TObject);
begin
// line1: activate the code scanner. This shows the camera that should be aimed at the QR or UPC code
TMSFMXZBarReader1.Show;
end;
procedure TForm1136.TMSFMXZBarReader1GetResult(Sender: TObject;
AResult: string);
begin
//line 2: the OnGetResult event is triggered when the code was retrieved and this returns it as a text
ListBox1.Items.Insert(0, AResult);
end;
For an internal project, we looked at integrating QR code scanning in an iOS application. As we didn't feel like reinventing the wheel and deal with the complexities of deciphering a QR code, we searched for existing code and after trying out several solutions, found ZBar to be one of the most solid libraries. The project is at : http://zbar.sourceforge.net/
After doing this evaluation in XCode with ObjectiveC, the next duty was to find out how we could use an ObjectiveC library from a Delphi FireMonkey project. There are several important details to pay attention to when doing this, but finally this also proved to work and in the typical Delphi RAD philosophy, we decided to create a wrapper Delphi component for this. With this wrapper component, scanning a QR, UPC or EAN code from Delphi is as simple as two lines of code:
procedure TForm1136.Button1Click(Sender: TObject);
begin
// line1: activate the code scanner. This shows the camera that should be aimed at the QR or UPC code
TMSFMXZBarReader1.Show;
end;
procedure TForm1136.TMSFMXZBarReader1GetResult(Sender: TObject;
AResult: string);
begin
//line 2: the OnGetResult event is triggered when the code was retrieved and this returns it as a text
ListBox1.Items.Insert(0, AResult);
end;
Vue d'ensemble
TMS TTMSFMXZBarReader est un logiciel de Freeware dans la catégorie Développement développé par tmssoftware.com.
La dernière version de TMS TTMSFMXZBarReader est 1.0, publié sur 24/01/2015. Au départ, il a été ajouté à notre base de données sur 24/01/2015.
TMS TTMSFMXZBarReader s’exécute sur les systèmes d’exploitation suivants : Windows.
TMS TTMSFMXZBarReader n'a pas encore été évalué par nos utilisateurs.
Dernières Mises à Jour
Dernières Nouvelles
Derniers avis
Audio Tags Editor
Gestion sans effort des balises audio avec l’éditeur de balises audio |
|
Anti Spyware Guard
Anti Spyware Guard : votre bouclier contre les menaces intrusives |
|
4Movy DVD AVI MP4 IPOD 3GP PSP FLV Converter
Convertisseur vidéo polyvalent et fiable |
|
SannySoft Perl Editor Professional
Un développement Perl puissant simplifié avec SannySoft Perl Editor Professional |
|
![]() |
e-PDF To Word Converter
Transformez vos PDF en toute simplicité |
ArtIcons Pro
Améliorez le design de vos icônes avec ArtIcons Pro |
![]() |
UpdateStar Premium Edition
Garder votre logiciel à jour n’a jamais été aussi facile avec UpdateStar Premium Edition ! |
![]() |
Microsoft Visual C++ 2015 Redistributable Package
Améliorez les performances de votre système avec le package redistribuable Microsoft Visual C++ 2015 ! |
![]() |
Microsoft Edge
Un nouveau standard en matière de navigation sur le Web |
![]() |
Google Chrome
Navigateur Web rapide et polyvalent |
![]() |
Microsoft Visual C++ 2010 Redistributable
Composant essentiel pour l’exécution d’applications Visual C++ |
![]() |
Microsoft Update Health Tools
Outils Microsoft Update Health : assurez-vous que votre système est toujours à jour ! |