How to read a QR-CODE?

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
RickA1
Posts: 13
Joined: Fri Mar 07, 2014 12:31 pm
Location: Brazil

How to read a QR-CODE?

Post by RickA1 » Fri Mar 07, 2014 12:42 pm

I want to capture (using the device camera) and read the contents of a QR-CODE in iOS and Android.

Did search "qr-code" in this forum and found nothing. ( and I found that the forum search feature is not reliable ) :(

How can I do it in Livecode?

Rick.

splash21
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 369
Joined: Sun Dec 19, 2010 1:10 am
Location: UK
Contact:

Re: How to read a QR-CODE?

Post by splash21 » Fri Mar 07, 2014 2:03 pm

Check out mergExt : http://livecode.com/store/marketplace/mergExt-1-0-2

I'm using the QR reader in a commercial iOS app and it's superb.


I've not tried it on android yet -http://forums.runrev.com/viewtopic.php? ... oid#p85277
LiveCode Development & Training : http://splash21.com

RickA1
Posts: 13
Joined: Fri Mar 07, 2014 12:31 pm
Location: Brazil

Re: How to read a QR-CODE?

Post by RickA1 » Fri Mar 07, 2014 3:09 pm

It's iOS only. Check their website: http: //mergext. com/home/mergzxing/

matthiasr
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 190
Joined: Sat Apr 08, 2006 7:55 am
Location: Lübbecke, Germany
Contact:

Re: How to read a QR-CODE?

Post by matthiasr » Sat Mar 15, 2014 10:27 pm

Hi Rick,

mergExt suite also contains mergAndroid which contains a function to scan a barcode using the App BARCODE or BARCODE + and returns the scanned barcode to the livecode Android app.

I´ve uploaded the html documentation for this external. I think Monte does not mind.

https://dl.dropbox.com/s/pw1a3e02g6b0fj0/index.html

Regards,

Matthias

RickA1
Posts: 13
Joined: Fri Mar 07, 2014 12:31 pm
Location: Brazil

Re: How to read a QR-CODE?

Post by RickA1 » Mon Mar 24, 2014 5:33 pm

Hi Matthias,

Monte could make the current docs public on his website. I believe that this is, per se, a good marketing.

Android is the most important mobile OS worldwide (yes, I know that inside USA many could say *what?* but I have the numbers) and people see MergExt as an iOS only solution.

That said, I am not very happy on how MergAndroid works, in special for this task. It makes my app 3rd party dependent for scanning, I mean, I need to say to my user pre-install an app to do the scan part, because my app does not and need to "borrow" this capability from another. This is not same behavior of MergZXing for iOS, where it takes care of the full task, and had no Android counterpart. :(

I have MergExt complete. I'll follow this workaround while we don't have a better solution. Thanks. ;)

Rick.

Post Reply

Return to “Getting Started with LiveCode - Experienced Developers”