News for hackers. Stuff that matters.
Re:Anatomy of a QR Code by bigtech on Wednesday May 18, 2011 @04:22PM (#2561627)
I get the data structure, but is there some metadata? How does it know the contents are, say, an URL, or a vcard?
Re:Anatomy of a QR Code by smackfu on Wednesday May 18, 2011 @04:31PM (#2561668)
I think it is just: store bytes and let the reader decide how to deal with them. Starts with "http", it's a URL. Starts with "BEGIN:VCARD", it's a vcard. Primitive but it works well enough I guess.
Re:Anatomy of a QR Code by jpulgarin on Wednesday May 18, 2011 @04:27PM (#2561646)
Just by the structure of the contents. Clients are supposed to parse the string contents, realize it's a URL, and open the browser for example.
Re:Anatomy of a QR Code by PaulGaspardo on Wednesday May 18, 2011 @07:00PM (#2562190)
The best guide to this I've seen is here: http://code.google.com/p/zxing/wiki/BarcodeContents
Re:Anatomy of a QR Code by anodari on Wednesday May 18, 2011 @06:08PM (#2562038)
This link (http://www.swetake.com/qr/qr2_en.html) have a detailed explanation about how data are stored
Re:Anatomy of a QR Code by abava on Wednesday May 18, 2011 @04:40PM (#2561710)
by parsing the string