zxing framework is not working with 1D barcodes for iphone - iphone

i am using zxing for barcode reader into my iphone application .But it is working for QRCoder 2D barcodes .But for my app i need to scan 1D barcodes. So what should i change into my code ,
or else what should i have to do so that my app is able to scan 1D barcodes.

You can use redlaser sdk for the barcode scanning. Check this url:
http://redlaser.com/
This will be useful for the following barcodes

What about the ZBar - Library ?
http://zbar.sourceforge.net/iphone/index.html

http://code.google.com/p/zxing
It says below that the iphone port of the zxing project for android only has the QR section implemented. So zxing isnt the way to go if you are looking for 1d barcodes.

#Oh Danny Boy, PSB
Why don't 1D codes work on iOS devices? An initial port of the Java code to C++ for 1D codes was done some time ago but has not been actively maintained. Results generated by this code are not comparable in quality or stability to the Java code.
Because of this, it is disabled by default in the iOS classes. Contributors interested in improving and maintaining this code are welcome. It's not particularly hard; the Java code is actively maintained and not very difficult to port. The need is for someone with sufficient interest/motivation.
http://code.google.com/p/zxing/wiki/FrequentlyAskedQuestions

Related

QR code scanning issue zxing iOS 6.0.2

i am working on an application where we need to scan QR codes for iPhone.
I am using zxing API for it. App is working great with iOS 6.0.1 but it's not working right with the latest release of iOS 6.0.2.
I am sending the scanned QR code to the server which gives me this response.
For example, if the QR code is 00012123456789000134,
iOS 6.0.1 version is giving me 00012123456789000134 as result but iOS 6.0.2 gives the result as 2100012123456789000134\u001D0111223344556677.
I don't know what is the problem. Is it due to the fixes in iOS 6.0.2 ????
Please help me out.
Thanx in advance.
Have you tried to scan with ZXing's own scan app from the app store, you need to check that out first to make sure that the problem is not the SDK nor the QR Code you are scanning.
If it is related to your code, review how you the result string is handled and moved to the output. it can be any of a few things, Zombies, incompatible types and moving between them, but mostly logic error. If you can post your codes, a lot more people will probably be able to help you. Also always the thing that ultimately helps is a lot of printfs.

Zxing for iphone using HTML5/javascript

i am new to ios development .
can anybody pls tell me . is it possible to use Zxing lib for scanning bar/qr-code on iPhone for a webapp(HTML5/javascript) ?
i mean my webapp needs to use Zxing , Is it possible ?
Barcode scanning requires use of the camera on your phone, this device is not available from a webapp and therefore you cannot scan barcodes from the webapp, regardless of the library you would like to use.
Also, I dont think you can use C, C++, Objective C libraries from your javascript/html5 these libs would have to be on the phone where your code cannot get to it, and your browser most certainly cant run it.
One alternative would be PhoneGap, I am not too familiar with it, but it is an iOS (and or Android) shell around a webapp that runs as a native app. You could probably get camera support in there and maybe use the Zxing lib. You would have to look into that, but then you dont 'really' have a webapp anymore either.
EDIT: For phoneGap and Zxing see also: how to scan barcode using phonegap
These days you can get it working with the HTML5 Camera API and this little beauty; https://github.com/LazarSoft
enjoy.

creating QR code using zbar sdk for iphone

ZBAR sdk is normally used to read QRcode or barcode & convert it to user data. Can we use ZBAR API to create QRcode for iphone?
As far I know Zbar SDK can only be used to read.
Maybe this link will be of some help.
onbarcode
https://github.com/myang-git/QR-Code-Encoder-for-Objective-C worked well to generate QR Codes even with much content and UTF-8 characters (where some other generators I tried failed). The project is active and Apache 2.0 licensed.

Enhanced iOS barcode scanner library?

We're creating an iOS app that basically scans badges at events and collects contact info. We're looking for an iOS library that can read not only the number of the barcode, but also any additional information that's included (contact info). Does anyone have any library suggestions or will this have to be a custom library? Thanks in advance!
Updated:
Use AVCaptureMetaDataOutput in AVFoundation which works with minimum deployment target iOS 7.
Previous Answer:
Have been using ZBar SDK in most of our projects. Picks up barcode and scans very fast, easy to customize focus area from SDK. Tested on iPhone 3GS, iPhone4/4S, iPhone 5 and iPad
https://codeload.github.com/cgreening/BarCodeExample/zip/master
iOS7 has built in functionality scanning BarCodes not sepearate sdk is required; if your deployment target is iOS7
Is your barcode format up to you, or do you have a predetermined symbology you have to work with?
There is this: http://shopsavvy.mobi/sdk/. Don't know why that wouldn't work for you, unless you object to the licensing terms.
Checkout ZXing ("Zebra Crossing") at http://code.google.com/p/zxing/
Reads almost every kind of barcodes and we used it with great success previously.
Use ZBAR its the best, we used it in our app www.infomq.com and its is really stable and scans reliably.
Basically you want to use PDF417 which is a stacked linear barcode symbol. Check out the pdf417 decode on Sourceforge.

Barcode Reader for 3G

I am newbie to iPhone application. But recently I saw a post asking for Barcode Reader for 3G iPhones. And people(including me) have referred to zxing which works on 3GS or later and if you want to make an appication for 3G then better you buy it from QuickMark or RedLaser to get 3g scanning.
So I planned something and need several information from you all
There are lots available on appStore. One of them is pic2shop(Which is a free application).
But what I want to know is:
What exactly is it done to recognize the barcode and generate code?
Is there any website or link to which when image of barcode is send will respond with the code generated or any API which does the same i.e. Taking picture and generating code.
And Secondly From Where does we get the information about the produce related to that barcode code.
Hi we recently had a product which required bar code scanning functionality, in the end after evaluating a lot options we went with zBar but it does not work on iPhone 3G it requires 3GS or above.
zBar is an open source SDK you can download it from sourceforge.
What we're doing right now is scanning bar codes using the zbar SDK & then calling upcdatabase.com API through xml-rpc to get the information about the product back.
And its working pretty well.
If you do not want to pay redlaser or others for SDK I would recommend using this approach. But of-course the downside is iphone 3G is not supported which I think does not represent many devices & also recently Apple has also dropped its support for its upgrades as iPhone 3G users will not be able to upgrade to iOS 4.3.
I actually own a 3G iphone & its very slow on iOS version 4.0 .