ZBar Module for iPhone
I'm working on an iPhone Application, and I really need to built-in some sort of EAN barcode scanner, and it needs to be free to use.
Has anyone had succes building a iPhone module for Appcelerator, which is able to scan and decode barcodes?
If anyone is up for creating such a module based on eg. ZBar or other open source EAN barcode scanner, I would be very interested in it. I might even be able to pay a little bit for it :)
6 Answers
-
Hi,
we have developed a TiBar - ZBar module for Titanium Mobile.
Cheers!
-
i just asked a very similar question…
http://developer.appcelerator.com/question/32851/calling-obj-c-classes-from-tibut fyi… I wrote a native barcode reader app last year, using redstripe from occipital. I also monkied around doing the same kind of app on android but with a free library for bar codes. I actually had more luck with the 2D codes.
But my question that I posted above is the exact same question you are going to need to resolve.
-
i just asked a very similar question…
http://developer.appcelerator.com/question/32851/calling-obj-c-classes-from-tibut fyi… I wrote a native barcode reader app last year, using redstripe from occipital. I also monkied around doing the same kind of app on android but with a free library for bar codes. I actually had more luck with the 2D codes.
But my question that I posted above is the exact same question you are going to need to resolve.
-
I started to look at building a custom module using this tutorial
http://sourceforge.net/apps/mediawiki/zbar/index.php?title=HOWTO:_Add_a_barcode_reader_to_an_iPhone_appI managed to create a custom module following the document
http://developer.appcelerator.com/doc/mobile/iphone/module_sdkbut I got the error [ERROR] Build Failed. Please see output for more details in the console. I couldn't find the output. I think it may be the way the zbar is included - due to my limited XCode knowledge and time I didnt get any further.
Then, I noticed there is also this ticket -
https://appcelerator.lighthouseapp.com/projects/32238/tickets/375-access-to-camera-as-a-barcode-reader
-
@Stephen
I did see that ticket, but it's important for me that the reader can scan EAN barcodes, and I'm affraid they're only using the zxing lib., which only support QR Codes for iPhone.Please let me know, if you should be able to get any closer to anything :)
-
when i get time I'll investigate further into using zbar - its probably something simple I missed when creating the module. I'll let you know.