问题
Anyone got a good handle on a barcode scanning library that can be used to read in UPC-A, EAN-13 or other major barcode formats based on input from the digital camera? Does RIM have a standard library already available for this?
I know that BlackBerry Messenger has 2D barcode scanning built-in so I'm guessing there must be something available, though not sure if it's proprietary or not.
Update: I'll go with the zxing library for now and see how that pans out since there aren't any official RIM libraries yet. I'll keep digging and update this question if I find anything else that's better in the meantime.
回答1:
You can take a look at zxing lib, there are samples for BB.
Other are huayu_sdk and jjil.
回答2:
RIM has not exposed any public APIs to assist with barcode scanning, even in the latest 5.0 APIs.
来源:https://stackoverflow.com/questions/2495049/blackberry-barcode-scanning-library