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.
Related
I am developing a watch independant app.
I want to generate QRcode on watchkit, but since coreImage doesnt work with watchkit, is there any other way we can do this?
Thanks.
I use libraries, which supported watch os.
For example EFQRCode
I've a QR Code appearing in a Watch App.
I generated it as a UIImage -- encoded it as a Base64 String and send it across to the Watch as Data using WatchConnectivity. This does use CIFiter but only the Phone side to generate a UIImage.
On the Watch I decoded the UIImage from the Data.
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.
I did qr code with Zxing, Right now I can read data but what I want is :
Example: Be able read type of QR Code is wifi, VCard, Calendar, url, etc...
if detect QR Code is wifi so I be able code to change wifi setting key,
So, how do i know that data read from QR code is wifi?
QR Code itself does not specify any types. Its plain text. It can be an HTTP URL or a custom URL. (e.g. it should have "type://wifi" inside it. You can then use it to see what the type is). But off-the-shelf, there is no such thing. You have to know who is creating the QR Codes and what is he storing in them.
There is no standard format for encoding wi-fi information in a QR code. There is a de facto standard suggested by zxing and supported by Barcode Scanner, which is like:
WIFI:T:WPA;S:mynetwork;P:mypass;;
(This imitates many of DoCoMo's standards for QR code contents.) I'd just reuse this if you can.
This page lists common encodings for other data. Whether you can do anything with them on the iPhone, I don't know. On Android you can scan these to configure Wi-fi and add contacts.
Here is a nice document of different QR code types. None of them are standard, but you get the idea: https://github.com/zxing/zxing/wiki/Barcode-Contents
There is platform specific format for Android.
WIFI:T:WPA;S:mynetwork;P:mypass;;
Though, if there is no API for setting the WIFI settings on iOS, any format doesn't help much :/
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.
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