Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Contributor
Posts: 14
Registered: ‎07-31-2012
My Device: Bold 9900
Accepted Solution

QR Scanner

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

Developer
Developer
Posts: 607
Registered: ‎04-29-2011
My Device: PlayBook 16GB, BB10 LE Z10 (red)
My Carrier: none

Re: QR Scanner


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-APIs


"Like" if you liked the post.
"Accept as Solution" if the post solves your question.
Trusted Contributor
Posts: 166
Registered: ‎12-09-2011
My Device: 9550,9300,9800,9700,9900,9850,9860

Re: QR Scanner

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!!!! 

Thanks & Regards,
Nitish Subudhi

Feel Free To Press The Like Button On The Right Side To Thank The User That Helped You.
Please Mark Posts As Solved If You Found a Solution.
Developer
Developer
Posts: 607
Registered: ‎04-29-2011
My Device: PlayBook 16GB, BB10 LE Z10 (red)
My Carrier: none

Re: QR Scanner

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 :smileywink:


"Like" if you liked the post.
"Accept as Solution" if the post solves your question.
Trusted Contributor
Posts: 166
Registered: ‎12-09-2011
My Device: 9550,9300,9800,9700,9900,9850,9860

Re: QR Scanner

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. 

Thanks & Regards,
Nitish Subudhi

Feel Free To Press The Like Button On The Right Side To Thank The User That Helped You.
Please Mark Posts As Solved If You Found a Solution.
Developer
Developer
Posts: 607
Registered: ‎04-29-2011
My Device: PlayBook 16GB, BB10 LE Z10 (red)
My Carrier: none

Re: QR Scanner

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.


"Like" if you liked the post.
"Accept as Solution" if the post solves your question.
Trusted Contributor
Posts: 166
Registered: ‎12-09-2011
My Device: 9550,9300,9800,9700,9900,9850,9860

Re: QR Scanner

Hi LBP,

I am recently working on Implementation of QR Code scanner.
I hope this code is useful to me. 

Thanks & Regards,
Nitish Subudhi

Feel Free To Press The Like Button On The Right Side To Thank The User That Helped You.
Please Mark Posts As Solved If You Found a Solution.
Developer
Developer
Posts: 607
Registered: ‎04-29-2011
My Device: PlayBook 16GB, BB10 LE Z10 (red)
My Carrier: none

Re: QR Scanner

Hi.

 

Let me know about your progress on this. BTW: Are you targetting BB OS for SmartPhones, PB OS or BB10?


"Like" if you liked the post.
"Accept as Solution" if the post solves your question.
Trusted Contributor
Posts: 166
Registered: ‎12-09-2011
My Device: 9550,9300,9800,9700,9900,9850,9860

Re: QR Scanner

Hi LBP,
I will surely post if I will complete this task.
I am targeting BB OS for Smartphone BB10. 

Thanks & Regards,
Nitish Subudhi

Feel Free To Press The Like Button On The Right Side To Thank The User That Helped You.
Please Mark Posts As Solved If You Found a Solution.