QR-Code source that works on Blackberry
i'm trying to develop an app that integrates the qr code reader as part of the functionality.开发者_如何学运维
i have read about zxing as the best option. but it turns out that they dont support development for blackberry, and the sample app shipped in zxing haves bugs (gives JVM runtime exception).
i wonder if anyone knows a viable alternative to use a reader without having to recreate all the app/cam/decoder functions from scratch.
thanks!.
The new 6.0 APIs have native QR code support built in. Judging from the package names ("com.google.zxing.qrcode") it looks like they just used the Google zxing library. So maybe the library isn't as buggy as it used to be?
Developer here. To be clear, the library is in no sense buggy. The core decoding library is in fact built into BBOS 6.0 by RIM.
The sample app you cite merely does not support the version of the BBOS you are trying to use. And, there's nobody making a version for BBOS 6.0.
But, you are writing your own app right? Then you would not be using this anyway.
Ok i found this on BB dev forum: http://supportforums.blackberry.com/t5/Java-Development/How-to-use-the-Barcode-API/ta-p/574569
trying that now. if anyone knows, i appreciate advice. this is for 6.0 API.
still looking for more compatibility. (most of current bb devices are previous 6.0).
Ok i got it working on the simulator for BB 6.0.
there was an error in a file reference call. if anyone interested, the issue and the solution is reported on the zxing page/group.
http://code.google.com/p/zxing/issues/detail?id=548&can=1&sort=-priority&colspec=ID%20Type%20Status%20Priority%20Owner%20Summary
now i'm trying to run it on 5.0 but i'm having a problem with the compilation. well, that's another story...
精彩评论