Page 1 of 1

Reading qr codes in Livecode with ZXing [Solved]

Posted: Wed Aug 19, 2020 7:06 pm
by yunior.portilla
A few months ago I tried to use the excellent livecode qr code scanner and my users could not use it because many of their devices did not have google play services on their devices.

To solve this problem, I started a project to integrate the free ZXing project into LiveCode using LiveCode Builder, which I will share with the community today.

It is working very fast for me, here I leave the links to download the example and the developed library that integrates ZXing.

https://github.com/portilla/yBarcode

Regards

Re: Reading qr codes in Livecode with ZXing [Solved]

Posted: Sat Feb 19, 2022 4:26 pm
by makeshyft
Thank you for this! I'm sorry that no one replied, but thanks for the contribution,

Re: Reading qr codes in Livecode with ZXing [Solved]

Posted: Sat Feb 19, 2022 5:45 pm
by mrcoollion
Strange that no one reacted. But thanks here as well :-)

Re: Reading qr codes in Livecode with ZXing [Solved]

Posted: Sun Feb 20, 2022 9:42 am
by bangkok
I've just tried the library.

Tested on LC 9.6.6 windows 10.

When saving the example stack as a standalone for Android, i received an error message in spanish ("Programas"). So i guess it's internal to the library (the author writing in spanish).

See picture attached.

Do you have an idea ?

[OOPS] my mistake. It was the developper key, from the author, in the settings. With "sign for developpment only" it's ok.

Re: Reading qr codes in Livecode with ZXing [Solved]

Posted: Thu Oct 20, 2022 4:43 am
by makeshyft
Thanks for this but this no longer seems to work. The function returns

button "qrCode": execution error at line 8 (LCB Error in file java.lcb at line 152: Could not convert String to Java string) near "java", char 14

Has anyone encountered or solved this?

Re: Reading qr codes in Livecode with ZXing [Solved]

Posted: Sun Oct 23, 2022 6:44 am
by yunior.portilla
I will check with the new version of livecode and tell you, it will probably change something in livecode builder.

As soon as I try, I'll let you know the result.

Cheers

Re: Reading qr codes in Livecode with ZXing [Solved]

Posted: Sun Oct 23, 2022 6:48 am
by yunior.portilla
makeshyft wrote:
Thu Oct 20, 2022 4:43 am
Thanks for this but this no longer seems to work. The function returns

button "qrCode": execution error at line 8 (LCB Error in file java.lcb at line 152: Could not convert String to Java string) near "java", char 14

Has anyone encountered or solved this?
In the project settings change the option to use a private key to a development only.

Re: Reading qr codes in Livecode with ZXing [Solved]

Posted: Fri Nov 04, 2022 6:14 pm
by makeshyft
hmmm..ok I will test this again, thank you.