Recently I’ve been noticing a lot more use of QR codes around the internet. A QR code is those 2D matrices that look like a bar code, but aren’t just the ordinary vertical lines that you would see on your box of cereal. These are a box that contain pixels that have been coded to contain information about pretty much anything. I’ve been seeing some people using them for contact information, web links, and pretty much anything you can think of to distribute information.
I also recently saw a show on Discovery where in Japan people will post these large images on a wall somewhere hoping people will scan them with their cell phones, thereby visiting a site of a product, or perhaps giving information about an upcoming show.
These codes can then be scanned by an application on your cell phone which then displays the data for you. On my Nokia E71, if I scan in a QR code which is in the format of a vCard, then my phone will recognize that, and let me save the contact information to my phone book. How cool is that!
I figured it’d be neat to build a vCard (which is a standard format that can be used by cell phones to distribute contact information so you can easily add it to your phone book), so I went looking on the internet for some free QR code generators, specifically for vCards. I was somewhat disappointed because all the vCard generators seemed to be missing a field for a SIP URI, which I wanted to add. So I ended up using Wikipedia to find the standard vCard format, and then noticed I just needed to add the X-SIP field to my vCard information, and voila, I had the field I wanted!
If you want to generate a vCard as well, you can use the http://www.invx.com website. I found it the most forgiving, and generated the best QR codes. Additionally, it generates a semacode at the same time if you’re looking for that kind of thing
Here is the result of my internet scouring for QR code data generators. If you wanna try it out, feel free to scan with your cell phone and add my contact details to your cell phone! If you don’t have a bar code scanner for your cell phone, then there are several that you can find on the Internet. I tried one from http://www.i-nigma.com which seemed to work pretty well. I have one that comes with my cell phone anyways, which I actually liked quite a bit, so I’m just using that, but thought I’d try something else just for fun. You can also install it from you cell phone by visiting http://www.i-nigma.mobi.
NOTE: At some point you can only encode so much information into the graphic because the cell phone seems to get confused. For example, the image I’m generating below seems to be pretty much at the limit that my cell phone will easily pick up. It seems to be the more data you encode, the less likely your cell is to pick it up on the first try.




Oh, some additional information. Here is the format of the vCard that I used. You just can just stick this text into the code generator, and away you go.
BEGIN:VCARD
VERSION:2.1
N:Madsen;Leif
FN:Leif
LN:Madsen
ORG:LeifMadsen Enterprises, Inc.
TITLE:Consultant and Author
TEL;WORK;VOICE:+14164790259
EMAIL;PREF;INTERNET:leif@leifmadsen.com
URL:http://www.leifmadsen.com
X-SIP:sip:leif@leifmadsen.com
REV:20080424T195243Z
END:VCARD
I’m a huge fan of this – done it before. I’ve also thought about including them on business cards, so people can easily input my contact info into their address book.
Great minds think alike then
I’m currently getting some square business cards with the vCard on the back.
Glad you like invx.com, much appreciated
If you’re the one providing it, thanks, because I greatly appreciate it!
Yes, I made that page.
Leif,
That is totally awesome. I wonder how small that can be before a typical scanning device (such as a smartphone) has trouble reading it. I want to get that on my next round of business cards, but I want to retain the same ‘normal’ business card dimensions.
Thanks for sharing the results of your efforts.
Jim
Well I figure it should be fine on the normal business card dimensions. I’m actually going to be getting a round of cards made up, so we’ll see what happens! I’ll keep you posted!
google charts can create those barcodes, with nothing more than a single URL.
For example: http://chart.apis.google.com/chart?chs=225×225&cht=qr&chl=blahblahblah
Yes thanks! I remembered that existed, but couldn’t find the link for some reason.
Hello Leif,
What is the difference between VCARD and MECARD formats (pro/con)?
Does QR Reader automatically add VCARD/MECARD to
your mobile phone address book (contact/phone book) or just save it?
I’m not sure the difference between VCARD and MECARD formats.
However! Google seems to
I did a search for MECARD vs. VCARD, and I found this thread on Google groups:
http://groups.google.com/group/zxing/browse_thread/thread/97fa9470b6f7f886?pli=1
It seems to basically state that MECARD is a more compact format, and that it generates a smaller QR code. It seems to be what Google is using on their business cards. VCARD tends to be more widely used as a business contact format, but tends to create larger images.
I can attest to this as a link to a MECARD generator (below) produces something significantly less complex than my VCARD code.
http://zxing.appspot.com/generator/
My concern with the MECARD may be wider availability on phones, but if you’re scanning, it is entirely possible your phone will understand both formats, in which case MECARD would make more sense for contact information.
I can’t test with my Nokia E71 right now because I left it beside my girlfriends bed, and I’m up at 4:30am attempting not to disturb her with my insomnia
Hope that helps! And thanks for bringing MECARD to my attention!
The thing that surprises me about this post the most, is that THIS is the one that gets the most hits each week, and not anything to do with Asterisk. Perhaps I should get into the QR code business