Reading qr codes in Livecode with ZXing [Solved]

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
yunior.portilla
Posts: 28
Joined: Sat May 30, 2020 12:50 am

Reading qr codes in Livecode with ZXing [Solved]

Post by yunior.portilla » Wed Aug 19, 2020 7:06 pm

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

makeshyft
Posts: 220
Joined: Mon Apr 15, 2013 4:41 am
Contact:

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

Post by makeshyft » Sat Feb 19, 2022 4:26 pm

Thank you for this! I'm sorry that no one replied, but thanks for the contribution,
Founder & Developer @ MakeShyft R.D.A - https://www.makeshyft.com
Build Software with AppStarterStack for Livecode - https://www.AppStarterStack.com
Save Time with The Time Saver's Toolbox - https://www.TimeSaversToolbox.com

mrcoollion
Posts: 720
Joined: Thu Sep 11, 2014 1:49 pm
Location: The Netherlands

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

Post by mrcoollion » Sat Feb 19, 2022 5:45 pm

Strange that no one reacted. But thanks here as well :-)

bangkok
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 937
Joined: Fri Aug 15, 2008 7:15 am

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

Post by bangkok » Sun Feb 20, 2022 9:42 am

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.
Attachments
ERROR.png
ERROR.png (10.24 KiB) Viewed 6094 times

makeshyft
Posts: 220
Joined: Mon Apr 15, 2013 4:41 am
Contact:

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

Post by makeshyft » 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?
Founder & Developer @ MakeShyft R.D.A - https://www.makeshyft.com
Build Software with AppStarterStack for Livecode - https://www.AppStarterStack.com
Save Time with The Time Saver's Toolbox - https://www.TimeSaversToolbox.com

yunior.portilla
Posts: 28
Joined: Sat May 30, 2020 12:50 am

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

Post by yunior.portilla » Sun Oct 23, 2022 6:44 am

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

yunior.portilla
Posts: 28
Joined: Sat May 30, 2020 12:50 am

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

Post by yunior.portilla » Sun Oct 23, 2022 6:48 am

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.

makeshyft
Posts: 220
Joined: Mon Apr 15, 2013 4:41 am
Contact:

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

Post by makeshyft » Fri Nov 04, 2022 6:14 pm

hmmm..ok I will test this again, thank you.
Founder & Developer @ MakeShyft R.D.A - https://www.makeshyft.com
Build Software with AppStarterStack for Livecode - https://www.AppStarterStack.com
Save Time with The Time Saver's Toolbox - https://www.TimeSaversToolbox.com

Post Reply

Return to “Android Deployment”