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

Java Development


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
New Contributor
Posts: 2
Registered: ‎01-14-2011
My Device: BlackBerry Z10
My Carrier: Orange

* Barcode Reader Like in BlackBerry Messenger *

[ Edited ]
Hi,

I am trying to develop a QR Code reader for the BlackBerry Curve 8900 v4.6.1.101

I have tried ZXing libraries (1.4 & 1.6) but they do not seem to compile for this version of the OS I need it for Smiley Sad

I know that v6 has it built into the OS but I really need to push this out to older OS's

What I would really like to do is use the same functionailty as in BlackBerry Messenger 5+. For those of you that do not know, you click on the menu option of "Scan a Group Barcode" and it then takes you to the video camera via a help screen. The camera then shows you in a kind of live view (on my model it changes the focus automatically). Once it can read a valid barcode it pops up a dialog with the information and asks if you would like to navigate there.

I love this functionality and was wondering if anyone knows how I could accomplish this? Example code would be a great help in this area.
I have read on a previous thread that the BlackBerry Messenger APIs are not available to the developer community, is this true?

Thanks in advance.
Regards
Julian Mummery
Application Developer
Highlighted
Contributor
Posts: 16
Registered: ‎05-27-2010
My Device: any
My Carrier: any

Re: * Barcode Reader Like in BlackBerry Messenger *

I have the same problem, but I need for OS 4.5, which is still more difficult since there's no way to control camera inside the application, so I depend on the balckberry built-in camera application.

 

 To have the ZXing code compiling and running in os previous to 5.0 you should comment some lines in ZXing source code, becasue os prior to 5.0 does not include some part of the j2me that's needed for ZXing.

 

Anyway after doing that, I tried running but I got a runtime error: ArithmeticException.

 

If you any solution or a bettter library to do qr scanning in balckberry os 4.x, please let me know.

I'm looking forward for a solution.

 

Regards, Ezequiel

Regular Contributor
Posts: 64
Registered: ‎04-27-2010
My Device: Bold 9000
My Carrier: Vodafone

Re: * Barcode Reader Like in BlackBerry Messenger *

I've successfully used ZXING with OS 4.6 and 5.0.

 

The example provided for BlackBerry with ZXing assumes that users will capture an image of the QR code which will be decoded. I've used an alternative approach that automates capturing the image and actually captures several images for scanning. If you send me a message with your email I'll be glad to share the code with you. Its too much to share it here

bog
Contributor
Posts: 35
Registered: ‎05-11-2011
My Device: 9800
My Carrier: bell

Re: * Barcode Reader Like in BlackBerry Messenger *

That will be great if you can share it here. I am interested in your approach.

Thanks!