Forum > Android
[Solved]How to make an android app to scan datamatrix barcode?
Jonvy:
Hello all,
I'm new for LMAW, now I want to wirte an app to scan barcode, I runned the demo AppZBarcodeScannerViewDemo1, and find it only can
scan 1D barcode and QR 2D barcode.
But for my work, I should mostly scan datamatrix barcode.
Is there any way to scan datamatrix barcode with lazarus?
I can not find resource for it, can anyone help me?
Thanks!
Jonvy
loaded:
Hi ,
You can use the "AppIntentDemoZXing1" demo for this.
The "Barcode Scanner By ZXing Team" application must be installed on the device beforehand. You can install it from Play Store.
Jonvy:
Hello loaded,
I tried to run this demo, but I get following error(See attachment).
How can I do, where is the compileDebugRenderscript?
Also I can not find gradle.properties file in my directory.
Jonvy
loaded:
Yes you are right, it throws error in gradle. I don't know why, it seems like research is needed to solve the problem.
To get rid of such errors I also use ant for faster compilation.
It's working fine for me too.
Jonvy:
--- Quote from: loaded on March 10, 2023, 06:12:48 am ---Hi ,
You can use the "AppIntentDemoZXing1" demo for this.
The "Barcode Scanner By ZXing Team" application must be installed on the device beforehand. You can install it from Play Store.
--- End quote ---
I made some change to the gradle file to make the app work.
Because I'm in China, I can not use Play store, so Barcode Scanner zxing app is not possible installed.
However, I can find the zxing core from following address,
https://repo1.maven.org/maven2/com/google/zxing/core/3.3.0/
But how can I compile the zxing package into this demo app, so I can use it without zxing Scanner app?
Jonvy
Navigation
[0] Message Index
[#] Next page