How to integrate Zxing Barcode Scanner without installing the actual zxing app (cannot resolve symbol: .android.CaptureActivity)?

Although already been answered I feel like an in depth solution for those who want to use ZXing as a library without using any auto installation method like ANT. ZXing being an open source project allow (as described in the ZXing website) you to use its features as a projects library rather than forcing 3rd … Read more

Undefined symbols for architecture armv7 when using ZXing library in Xcode 4.5

Well, at last I got it working.. For anyone who encounters this in the future.. Rename the main.m file to main.mm. ZXing’s README states why we need this It can happen that when trying to build your own project with ZXingWidgetController you get linker errors like “undefined reference to”. If this error looks like a … Read more

QR code reader for iPhone [closed]

ZBarSDK is another option. A very capable library. UPDATE January 2014 Beginning in iOS7, AVCaptureDevice now includes the ability to read barcodes (of all kinds) and return a human readable value. If you’re targeting iOS7+, this is the way to go. ZBarSDK is still great for pre-iOS7 support, of course.

Reduce border width on QR Codes generated by ZXing?

The QR spec requires a four module quiet zone and that’s what zxing creates. (See QUIET_ZONE_SIZE in QRCodeWriter.renderResult.) More recent versions of ZXing allow you to set the size of the quiet zone (basically the intrinsic padding of the QR code) by supplying an int value with the EncodeHintType.MARGIN key. Simply include it in the … Read more