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

Reply
New Developer
FrugalHorn
Posts: 27
Registered: ‎04-09-2009
My Device: Not Specified

Barcode reader SDK or library?

Hi,

 

I can see there are a plenty of applications that can use the phone camera as a bar code reader.

 

Is there a 3rd party SDK/library available to do this? Opern source or commercial? So that one can make use of this to read barcodes in the application?

 

Any help/pointer/link in this direction is appreciated.

 

Cheers!!

/-FH

Developer
Posts: 5,339
Registered: ‎09-20-2008
My Device: ***
My Carrier: ***

Re: Barcode reader SDK or library?

Check this link: http://tinyurl.com/qxejwt
New Developer
FrugalHorn
Posts: 27
Registered: ‎04-09-2009
My Device: Not Specified

Re: Barcode reader SDK or library?

Wow!! The link leads to google home page with the search string "Bar code reader library java".  

 

I have searched the web quite thoroughly and was wondering if experienced programmers, contributors and architects have something to say specific considering RIM Java API and Blackberry devices.

Developer
Posts: 5,339
Registered: ‎09-20-2008
My Device: ***
My Carrier: ***

Re: Barcode reader SDK or library?

AFAIK there is no RIM specific API to work with bar codes.

 

Did I miss something ? :smileyhappy:

Developer
Posts: 5,339
Registered: ‎09-20-2008
My Device: ***
My Carrier: ***

Re: Barcode reader SDK or library?

Try to find in google the following:

 

j2me barcode recognition

 

the first link from search results: http://sourceforge.net/projects/readbarj/

Developer
marchywka
Posts: 1,415
Registered: ‎07-30-2008
My Device: Not Specified

Re: Barcode reader SDK or library?

Well, you could confine the google search to "site:sun.com" or render the javadocs for RIM 4.7 api and

grep -il barcode *.txt or any other keywords. This also comes up from time to time on the itext board

as people want to put barcodes into or read them from PDF files.I had a loaner Nokia about 4 years ago

that had some barcode app on it, I'm sure people have looked at this.  I haven't personally looked into

this but generally have an interest in OCR. You'd probably need to find a library, or even go back

to the spec and I'm not sure who the relevant organization is for that, and then look for 

things that you can specialize to j2me or BB. Often, these are things like floating point

or IO.

 

 I guess I'd be looking for things like performance against contrast and rotation and noise

but otherwise if you are just starting not sure what to suggest to consider.

 

New Developer
srowen
Posts: 1
Registered: ‎06-04-2009
My Device: Not Specified

Re: Barcode reader SDK or library?

Try ZXing (http://code.google.com/p/zxing). It is open source. (I am a developer.) The "core" part of the library is simple J2ME-compatible Java, so can be embedded in a Blackberry app. Under the "rim" component you will see a Blackberry client that uses it too.
New Developer
kdesilva
Posts: 4
Registered: ‎08-22-2009
My Device: Not Specified

Re: Barcode reader SDK or library?

I've downloaded this Jar, but there's no documentation on how to use it - any help from someone who's tackled it?
New Developer
kdesilva
Posts: 4
Registered: ‎08-22-2009
My Device: Not Specified

Re: Barcode reader SDK or library?

by "this Jar" I mean this

 

http://sourceforge.net/projects/readbarj/

Developer
peter_strange
Posts: 19,610
Registered: ‎07-14-2008
My Device: Not Specified

Re: Barcode reader SDK or library?

Not sure this is helpful, but both Baracoda and Microvision, who make barcode scanners that I have tried with Blackberry devices, have BlackBerry SDKs and BlackBerry Wedge software.  In addition, SerialIO (http://www.serialio.com/) do a more generic bar code interface product, that works with the Microvision products, plus the a number of others, including the impressive Symbol LS4278.  I believe this software is also used with the OPL range. 

 

Since all these scanners have different low level interfaces, and different capabilities (e.g. Symbol Sets supported), writing a generic barcode SDK that supported all of these is not for the faint hearted.