Google Chart Server API now generates QR Codes

16 views
Skip to first unread message

srowen

unread,
Apr 8, 2008, 6:06:37 PM4/8/08
to zxing
This has been launched for a short time, but not yet documented; I
think it's alright to give you folks a heads up that Google's Chart
Server API (see http://code.google.com/apis/chart/) now supports
encoding of QR Codes. Hooray -- now embedding QR Codes in your web
applications is that much easier.

How do you use it? I think you can probably figure out all you need to
know from this example:

http://chartserver.apis.google.com/chart?cht=qr&chs=200x200&chl=http://google.com/m

Look for more documentation on this coming soon, but feel free to try
it out now. And if you haven't seen our quite useful Chart Server API
yet, do yourself a favor and have a look now. It makes adding charts
to your web app as painless as it should be.

Dean Collins

unread,
Apr 8, 2008, 6:31:42 PM4/8/08
to zx...@googlegroups.com
Hi Sean,

Great application - any ideas on the functionality of being able to
encode other QR codes apart from http urls?


Regards,

Dean Collins
Cognation Pty Ltd
de...@cognation.net
+1-212-203-4357 Ph
+61-2-9016-5642 (Sydney in-dial).

srowen

unread,
Apr 8, 2008, 10:19:06 PM4/8/08
to zxing
Excellent question sir. Hyperlinks sure seem like the most interesting
application, but, a few more reasonable ones that should work with
several readers are:


Contact info.

We read DoCoMo's "MECARD" format, which is a relatively compact way of
putting your details in a QR Code:
http://www.nttdocomo.co.jp/english/service/imode/make/content/barcode/function/application/addressbook/
Example: MECARD:N:Owen,Sean;TEL:9175551212;EMAIL:sro...@example.com;;

This is what we have on the back of some of our biz cards in New York.
I wonder does anyone think vCard should be used in QR Codes? It seemed
excessively verbose.


Telephone / click to call.

tel:2125551212

This ought to call up a dialer in most readers/phones. Have people
call you based on a barcode.


Geographic location.

geo:40.724243,-73.99366,1000

That's lat/long and optional altitude. Not sure what all readers do
with this but naturally we fire up Google Maps in response to this if
you have it to show you the location.


E-mail.

An email address like 'sro...@example.com' or
'mailto:sro...@example.com' ought to open up the devices email client
if it has one. The DoCoMo MATMSG format lets you prefill a subject and
body potentially:

MATMSG:TO:sro...@example.com;SUB:Ad reply;BODY:I clicked barcode
2358825858;;

Dean Collins

unread,
Apr 9, 2008, 7:45:20 AM4/9/08
to zx...@googlegroups.com
Sorry for being dumb - but does this mean the google charts api cant do any other forms of qr encoding yet (I'm particularly interested in vcard and sms as we've discussed previously).

Regards,

Dean Collins
Cognation Pty Ltd
de...@cognation.net
+1-212-203-4357 Ph
+61-2-9016-5642 (Sydney in-dial).


> -----Original Message-----
> From: zx...@googlegroups.com [mailto:zx...@googlegroups.com] On Behalf Of
> srowen

srowen

unread,
Apr 9, 2008, 10:32:31 AM4/9/08
to zxing
QR Codes just encode text, so you are welcome to put whatever text in
there that you like, and it will work -- text encoding vCard info,
text encoding an SMS, etc.

Why vCard over MECARD? vCard is going to make some dense QR Codes but
it would work. Also what do you mean by SMS? sounds supportable (in
the reader I mean, you can encode whatever you like) if it's just
another type of URL or something.

Sean
Reply all
Reply to author
Forward
0 new messages