Integrating third party library for QR code printing and scanning

Hello

I would like add functionality to create and read QR codes in my app. How can I do this? I am running CUBA version 7.1. I wanted to use the libraries found at this link : https://www.callicoder.com/generate-qr-code-in-java-using-zxing/

Can anyone point me in the right direction as to how to integrate this library or any other into my project?

Hi,

You need to add this library as a dependency with Studio Project Properties dialog.

Take a look into this section for instructions:
https://doc.cuba-platform.com/studio/?_ga=2.37454816.1189720628.1569224134-237267920.1554359693#project_properties

The article you’ve posted contains necessary maven and gradle dependency coordinates.

For the “create” part, I second @AlexBudarov, for the “read” (scanning) part it’s all another story, with a completely different set of dependencies and challenges (the library you pointed out is useless in that regard)…

P.