07-31-2012 04:12 PM
Hi, I want to know if there is any way to add a QR Scanner to my Blackberry Application, not to download a qr scanner from the market, just download the source code to add a QR Scanner.
Thanks
Solved! Go to Solution.
07-31-2012 06:28 PM
rnbd12 wrote:Hi, I want to know if there is any way to add a QR Scanner to my Blackberry Application, not to download a qr scanner from the market, just download the source code to add a QR Scanner.
Thanks
Hi. Do not know which device and BB OS version your post is for, but you could have a closer look to the WebWorks Community APIs. There you can find the extensions neccessary to access BarCode functionality for 1D + 2D Codes: https://github.com/blackberry/WebWorks-Community-A
08-24-2012 11:00 AM
Hi LBP,
in the given link there is option for BarCode but not for QR Code.
Can you Please tell me that Barcode Scanner will work for QR code or Not!!!!
08-24-2012 01:11 PM
Hi.
Depends on the device/OS. I think the QR code reader source code is directly in there. Have a closer look into the files for SmartPhone and PlayBook there is 2D code format reader functionality in there, so I asume it should also be possible to use the Community API samples for QR code as well, isn't it. Give it a try ![]()
08-25-2012 03:12 AM
Hi LBP,
Thanks for your valuable reply, but the above link is for Barcode and I am not able to use this code for Scanning QR Code.
Please Help me for the solution.
08-25-2012 03:52 AM
You need to have a closer look at the source code, the samples implement 1D- and also 2D-codes and QR-code is a subset of 2D-code. Have a closer look at line 103 and following for PlayBook and line 81 and following for SmartPhone, I think all the code is already in there.
08-25-2012 06:20 AM
Hi LBP,
I am recently working on Implementation of QR Code scanner.
I hope this code is useful to me.
08-25-2012 06:52 AM
Hi.
Let me know about your progress on this. BTW: Are you targetting BB OS for SmartPhones, PB OS or BB10?
08-25-2012 05:36 PM
Hi LBP,
I will surely post if I will complete this task.
I am targeting BB OS for Smartphone BB10.
08-30-2012 11:11 AM
Here is the C# source code of encoding QR Code:
List<SRegion> areas = new List<SRegion>(); SRegion area = new SRegion(0, 0, 200, 300); areas.Add(area); string[] barcodes = BarcodeScanner.ScanRegions("qr code image.gif", BarcodeType.qr code, areas); more source please refer to encode barcode in using C# source code.