问题
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.
回答1:
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 .
来源:https://stackoverflow.com/questions/4667832/barcode-reader-for-3g