scanning QR codes with C2 app

Get help using Construct 2

Post » Thu May 04, 2017 10:28 am

Hi everyone,

Is it possible to scan a QR code somehow with a C2-based app? I need to make an app that scans QR codes to access a database.

I found this plugin about QR codes but it seems that it creates them and doesn't read them.

Thanks for your help!
B
29
S
6
G
1
Posts: 347
Reputation: 2,725

Post » Thu May 04, 2017 11:00 am

You would probably need to search via Google for a Javascript API and use the C2 SDK to create a plugin. Another option may be to try and use something like the following: https://github.com/LazarSoft/jsqrcode.

Wish I could help more but this is way above my pay grade!
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
84
Posts: 5,375
Reputation: 58,432

Post » Thu May 04, 2017 12:15 pm

Thanks a lot, at least I know this is not possible by default. Will look into your github solution but it seems a bit complicated for me.
B
29
S
6
G
1
Posts: 347
Reputation: 2,725

Post » Thu May 04, 2017 1:14 pm

Rable wrote:Thanks a lot, at least I know this is not possible by default. Will look into your github solution but it seems a bit complicated for me.



IF you do find a suitable API, then making a [REQUEST] post in the Work in Progress Addons section may be an option. That clever lot will on occasion fulfil requests if they think it's worthwhile.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
84
Posts: 5,375
Reputation: 58,432

Post » Fri May 05, 2017 9:12 am

Thanks for the tip. I'll first see if I can do what I need to do with an other software which already manages that, otherwise I'll do as you propose and ask if someone could make an addon for this eventually.
B
29
S
6
G
1
Posts: 347
Reputation: 2,725

Post » Fri May 05, 2017 9:25 am

Two lines below in the list of addons there is the QR decoder plugin that does take a QR code you filmed with the User Media plugin and decodes it.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
289
S
112
G
94
Posts: 7,333
Reputation: 69,293

Post » Fri May 05, 2017 1:17 pm

Amazing! Thanks @Kyatric !
B
29
S
6
G
1
Posts: 347
Reputation: 2,725


Return to How do I....?

Who is online

Users browsing this forum: R0J0hound and 9 guests