1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

Common usages

From phpqrcode

Jump to: navigation, search

Contents

QR Code usages

QR Code itself is only a medium, way to represent a data - like a binary code, set of letters, music notation. It's only way of displaying data in machine-readable maner. QR Code docs itself does not specifies meaning of data eg. does not tell how to represent url, telephone number, Android Market link.

Because of that library takes as a parameter raw string, it's up to developer of code generator and scaner developers to agree over how speciffic data will be represented, and what action should be taken by scanner (navigate to web, add contact, initialize call).

Some ways are quite common, and - mayby not officialy speciffied - but defacto standards, supported by majority of software scaners. Here you finde some examples

Website urls

http://example.com

http://example.com?withparameter=a&andother=b

http://goo.gl/short

market://details?id=my.android.market.full.qualiffied.package.name

Telephones

tel:01234567

E-mail adresses

mailto:johndoe@example.com

mailto:johndoe@example.com?subject=promotion

Contact Card (VCard)

BEGIN:VCARD
VERSION:2.1
N:Gump;Forrest
FN:Forrest Gump
TITLE:Shrimp Man
TEL;WORK;VOICE:(111) 555-1212
END:VCARD

Important! Try to limit size of data - larger codes are hard to read. More: [1]

Personal tools