theChrisWalker.net

“Linux Mint advocate”

says Chris

QR Code for Permalink
Discovering QR Codes

with 2 comments

I recently discovered QR codes and how cool they are! Basically it’s a 2-D barcode and can store much more information than your standard bar code.
A QR code is a square of dots in a certain computer-readable pattern, for example there is one to the top-left of this post, encoded with the URL to this post.

Why bother though? Well, they are used mostly in Japan, where mobile phones are generally all Internet-enabled, so on an advert you might have a QR code for a URL where more info can be found. So you whip out your phone, point the in-built camera at the code, and bingo, it takes you to the website. Also you could have a film opening encoded in QR as a calendar event, so when you scan it it puts a reminder in your calendar. Useful no?

On a personal level though, when QR codes are not big in England, why should I care. Well, they are useful for transferring information I want to a phone. For example, I have a bookmarklet on my browser that converts the current page I’m looking at into a QR code (courtesy of the Google Chart API) and open the image in a new tab. Very useful if I find a page and think, “I’ll want to look at that later” I can make the QR scan it with my phone, and the page goes into it’s browser history for my later enjoyment.

For those of you interested the bookmarklet code is (should be all on one line, but for the page width’s sake…):

javascript:(function(){window.open(
  'http://chart.apis.google.com/chart?cht=qr&chs=400x400&chl='+
  encodeURIComponent(window.location.href)
);})()

Try it! (will generate the QR code for this page, but a lot bigger than the one by the title)

You may have noticed that there are QR codes for the permalinks to these posts aswell, so you can easily bookmark them with a capable phone. Another useful function that my phone can do is to display the QR code for a Contact in my address book, so I can easily share that with another QR enabled phone without having to “pair” them with bluetooth, or use Infrared (if the phone still has it!) or text it or whatever. Much more convenient. I just need to find someone else with a QR enabled phone…

Written by Chris

February 18th, 2009 at 3:32 pm

Posted in Not Code

Tagged with ,

2 Responses to 'Discovering QR Codes'

Subscribe to comments with RSS or TrackBack to 'Discovering QR Codes'.

  1. #1

    I believe QR codes will be a heavy marketing tool for our future. I been playing around with them for months now and would love for them to hit main stream in the U.S I use http://www.beqrious.com/ to generate my codes because I can save them in a PDF file from that site, helps me when I want to print posters!

    John.

    John

    19 Feb 09 at 00:47

  2. #2

    I came across qrcodes reading this blog post http://jquery-howto.blogspot.com/2009/08/qr-code-generator-plugin-for-jquery.html about jquery and qr code.

    I’m loving QR codes and it’s great that Google also provides QR code generation. the article above didn’t cover that …

    Thanks for sharing your javascript snippet…

    QR Coder

    12 Aug 09 at 10:22

Leave a Reply