how to decode QR code - iPhone - iphone

I am developing an app which reads barcode and QR code using Zbarcode framework. Is there any way to decode the QR code using objective c?

You can refer to this library called Zxing.
This has both QRCode Reader and BarCode Reader.
http://code.google.com/p/zxing/
Hope this helps you.

Related

Photo inside vCard inside QR code: How to make it readable?

I am trying to create a QR code containing my vCard with an inline, Base64 encoded photo in PNG. (I am not interested in a photo referenced by a URI.)
I have studied vCard 3.0 specification, vCard 4.0 specification and Wikipedia articles "vCard" and "Base64".
I have created many vCards:
versions 2.1, 3.0, 4.0
photo as PNG or JPEG (just in case PNG does not work)
with and without line folding in Base64 photo
with and without diacritics in my contact details
Example:
BEGIN:VCARD
VERSION:3.0
N;CHARSET=UTF-8:Diblík;Petr
FN;CHARSET=UTF-8:Petr Diblík
TITLE;CHARSET=UTF-8:přední český mozaikář
NICKNAME:pd#
TEL;TYPE=cell:+420777282921
EMAIL:petr.diblik#mozaikar.cz
URL:http://www.mozaikar.cz
PHOTO;TYPE=PNG;ENCODING=B:iVBORw0KGgoAAAANSUhEUgAAAEAAAABAAQAAAACCEkxzAAABPklEQVR4AW3LMUvDQBjG8ecSSwbBdtEuauwgdHN3ueLmpJtgh36EfgDByya6+BEs+AGcBAcht9XRzUmMuLioRZHG2OTxXnqgqO9yP/48B2aQi37A/kHyHy6AEIJFCADsCnKHS4+ZiWAEtNaBSLBWepwXHi9j2WQIDJNG5KBSoiYIyKtgKKXHfEEAw4+dA1ggJjkU1B2kIHQ4lo0SSIEhT2AVoMnUwco3jQz3gynCPI9PK4MRJu04mTN4BPMYAR3MRKNFXCsW2s4TGUyhH5aIFZhcpynRgS70HYkEZmQoQJxpAaAHZoqm8jj0gFUUQCXwAH6XDvwY36g8avseq6+VAG29V/YEjXrJVLAcsbwR1N9YvQuaJEtB5PAsCB2YeoylwMGcCTT5OQYwu0VWt8C2e9ntY+OoSxZPhN3su1LxC1Cg7qrVLzSeAAAAAElFTkSuQmCC
END:VCARD
Some of the vCards (not encoded in a QR code yet) can be successfully imported to Google Contacts, including the photo.
But when encoded in a QR code (using goqr.me or qrcode-monkey.com), the vCard is always read WITHOUT the photo, using any of the following QR code readers for Android:
Google Goggles
QR Code Reader (Scan, Inc.)
Seznam.cz qr ctecka (Seznam.cz, a.s.)
(QR Code Desktop Reader (CodeTwo) for Windows cannot read those QR codes at all.)
Please advise how to improve the vCard so as it can be read from a QR code and saved to contacts INCLUDING the photo.
Or if the vCard is valid, is there some combination of a platform (no matter whether desktop or mobile), a QR code reader and a contact manager sw that can do that?

How to save QR code as an contact in address book in iPhone

I have started using QR code in one of my app. I have successfully implemented Google API for scanning phone number and generate QR. I have got QR code working, How do i save that QR code as an contact inside address book in iPhone. Please if there is any kind of link or help let me know. Thanks for all the wonderful support
Your QR should be encoded in a specific format. If your QR is vCard encoded, then you can parse that into a Contact and save it.
You might be able to use this as a reference:
How to save contact info from vCard into iPhone's Contacts App

Display YUV/RGBA data native code in ios

I have a decoder ported to iOS. The decoder is written in normal C language. In android we have some API through which we can render the decoded frames(will be in YUV, if required can be converted to RGBA).
Is there a similar functionality in iOS in which we can render the decoded data from the C code itself(not from the objective c part of the code).
I tried googling but found ways to render data only from the objective side of the code and did'nt find a way to do it from the native side of the code.
Please suggest a way to do so. A link to some similar example will be very helpful.
Thanks in advance.

iPhone QRCode Generator n Decoder

I have to create an app in iPhone which can generate QRCode for Text,Mail,Map,Photos etc. And can also Decode the QRCode. Has anyboday have idea about its API or example?
Thanks in advance
I usually use QR Code Encoder for QR generation and ZBar for decoding QR (It also works with other code standards)
They are very easy to use.

How to read standard barcodes (EAN) with zxing? iOS

Hi folks just a quick question, how do I read non-QR codes with zxing? I am setting the ZXingWidgetController to 1D mode, and am using a MultiFormatUPCEANReader however the barcodes just won't scan. Any suggestions?
However, someone did it: https://github.com/TheLevelUp/ZXingObjC
According to their site, only QR was ported to iPhone.
http://code.google.com/p/zxing/
iphone: iPhone client + port to Objective C / C++ (QR code only)
As Lou says, zxing only support QR codes on iPhone.
A better bet is to use the alternative library ZBar, which supports EAN/UPC and is available here:
http://zbar.sourceforge.net/iphone/index.html