This is a migrated thread and some comments may be shown as answers.

QR Code Scanning

3 Answers 334 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Robert Sprague
Top achievements
Rank 1
Robert Sprague asked on 15 Nov 2012, 01:48 AM
First off -- I'm new to mobile development and saw the demo for this product at DevConnections.  I've got to say, I left that keynote with more motivation to develop mobile apps than ever before.  Great demonstation of the product and its ability to deploy to devices!

Now, I have a need to scan a qr code within my application.  I need to append a unique identifier to the URL decode from the qr scan.  What is the best practice for this?  I've read that you have the ability to call the existing default qr scanner on the phone, but I need the URL returned to my app before the post occurs.

Do I need to implement my own decoder in my app, or should I try to use the default scanner to do the work for me?  Do you have any code examples of either solution? 

Thanks.  I've been a big fan of telerik, and I'm looking forward to using icenium.

Robert Sprague



3 Answers, 1 is accepted

Sort by
0
Evgeni "Zammy" Petrov
Telerik team
answered on 16 Nov 2012, 07:54 AM
Hi Robert,

 Thank you very much for the kind words.

Currently you cannot do this with Icenium. Cordova is a framework which embeds a web view control inside a native app. The APIs provided are the most commonly used and cross-platform ones. In order to use anything beyond that you need to extend the JavaScript API with plug-ins which run native code (Obj-C or Java).
 Icenium has support for Cordova plugins but it's a predefined set. In order for a plugin to fit into our infrastructure, we need to do some special preparations and test it thoroughly. This is going to be an ongoing effort on our part. Currently we support only "Child Browser" but we'll be adding many more plugins.

 So for your case you will need QR Code plugin. You can go and vote for it here:
https://feedback.telerik.com/Project/87/Feedback/Details/873-support-barcode-scanner-cordova-plugin.
Depending on user feedback we are going to prioritize which plugins are going to be supported next.

 If you have any more questions please don't hesitate to write us back.

All the best,
Evgeni "Zammy" Petrov
the Telerik team

Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Pluralsight.
0
Bruce
Top achievements
Rank 1
answered on 22 May 2013, 06:25 AM
Create QR Code app for smart phone is not difficult if using such qr code font and encoder,
QR Code font encoder for Android: http://www.keepautomation.com/font_tools/2d_qrcode_encoder/android.html
QR Code font encoder for iOS: http://www.keepautomation.com/font_tools/2d_qrcode_encoder/ios_iphone_ipad.html

0
Steve
Telerik team
answered on 22 May 2013, 08:39 AM
Hi Bruce,

This thread is for barcode scanning needs and not for barcode generation needs. We have already added Barcode Scanner plugin into the supported Cordova plugins, so this resolves the original inquiry asked.

Regards,
Steve
Telerik

Don't miss the Icenium May Release Keynote - sign up now!
Share feedback and vote for features on our Feedback Portal.
Tags
General Discussion
Asked by
Robert Sprague
Top achievements
Rank 1
Answers by
Evgeni "Zammy" Petrov
Telerik team
Bruce
Top achievements
Rank 1
Steve
Telerik team
Share this question
or