+ Start a Discussion
SFDC developer55SFDC developer55 

QR code scanner for salesforce

Hi All,

Did anyone implement QR code scanner in Salesforce project?

What I need? If user scans the attached QR code, it should return the result after decode.

For e.g. If you scan the attached image (QR code) then it should return “ER-0000130”.

We are able to get the results from online demo’s, here is one example:http://dwa012.github.io/html5-qrcode/

However, after implementing code in SFDC, I am getting one or more errors. 

Please let me know if anyone implemented any QR code scanner in their project, with the instruction to implement.

Thank you.
Chamil MadusankaChamil Madusanka
Have you tried these?

https://developer.salesforce.com/blogs/developer-relations/2012/04/bar-code-and-qr-code-scanning-using-the-mobile-sdk.html (https://developer.salesforce.com/blogs/developer-relations/2012/04/bar-code-and-qr-code-scanning-using-the-mobile-sdk.html" target="_blank)

http://bobbuzzard.blogspot.com/2014/02/reading-qr-codes-in-salesforce1.html (http://bobbuzzard.blogspot.com/2014/02/reading-qr-codes-in-salesforce1.html" target="_blank)

If you get the answer, please mark it as the correct answer. It will be a help to others who are facing the same problem later.
SFDC developer55SFDC developer55
Hello Chamil,

First URL -Looks like the Git hub repo has been deprecated.

Second URL - I have already tried it did not work, also that is about to read the existing QR code, I mean user need to upload the scanner and then it will decode, However, I am looking for QR code scanner, so that on the fly i can scan the code and get the result. Similar functionality to this demo app: http://dwa012.github.io/html5-qrcode/

Vetriselvan ManoharanVetriselvan Manoharan

The bob buzzard's link will help you


But the problem in it is the QR code scanner doesn't work on Salesforce1 android. But it works fine with android chrome browser etc.. and also with ios..

I use "Barcode to Cloud" app to scan and send barcode data to Salesforce.

"Barcode to Cloud (https://play.google.com/store/apps/details?id=com.albertdev.barcodetocloud)" app allows to scan and send data to Salesforce and execute configurable actions in Salesforce - https://play.google.com/store/apps/details?id=com.albertdev.barcodetocloud

App demo - https://www.youtube.com/watch?v=b3ArzkmR6kc