I need to add Zxing (a qrcode reader app) to my iphone app, made in html, css & js, phonagap compiled.
I have the zxing app on a side & my app (phonegap based) on the other side.
If someone knows what can I do to add the zxing project (a qrcode reader function) to my phonegap based app... It will great & really appreciated !
Any advice is welcome !
Thanks,
Nico
You could use something like : http://zbar.sourceforge.net/download.html under phoneGap
Related
I am beginner in iphone programming I have to do a project for my course and I have 1 month left.
what I have to do is that application scan qr code and load information like media and text from mysql database relevant to that object.
can you please guide me which SDK is more easy to learn for me as a beginner and also convenient for this project?
Thanks in Advance
I have used ZBar SDK In my app..it is pretty easy to use and is also customizable.
http://zbar.sourceforge.net/iphone/sdkdoc/index.html
i have developed iphone application almost, but for some screen i need to use already made functionality in java scripting, so i thought of using Phone gap, will it be possible to add this in already present project .
suggest me with your expert answers
thank you .
I think that is not possible to integrate phonegap with native app.
My suggestion if you just need to use javascript, html and css in your native app why are you looking for Phonegap ? Use UIWebView instead.
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.
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.
Can anyone point me in the right direction for information or tutorials for adding a QRcode reader to a native iPhone app?
Thanks in advance.
Get the ZBar iPhone SDK
http://zbar.sourceforge.net/iphone/index.html
ZXing (http://code.google.com/p/zxing/) and ZBar (above) are the ones heard about most. ZBar is LGPL 2.1, ZXing is Apache 2.
http://code.google.com/p/zxing/source/browse/trunk/iphone/README describes integrating the provided widget into an Xcode project.