MeCard (QR code)

MeCard is a data file similar to vCard but used by NTT DoCoMo in Japan in QR code format for use with Cellular Phones.

It is largely compatible with most QR-readers for smartphones. It is an easy way to share a contact with the most used fields. Usually, devices can recognize it and treat it like a contact ready to import.

The following QR Code image is an example containing the text: MECARD:N:Doe,John;TEL:13035551212;EMAIL:john.doe@example.com;;

QR Code MeCard example


Advantages

Its main advantage is the simplicity: It is very intuitive.

It is based in UTF-8 (which is ASCII compatible), the fields are separated with one semicolon (";"), the tags are very readable, they are separated with a colon (":") and --maybe the most important reason-- compared with vCard it needs very few chars which is important for the size of a QR Code.

Limitations

Compared to vCard, MeCard format only stores one single contact, a few labels, and a few data pieces to be set in a typical phonebook.

Structure

MeCard format starts with the tag "MECARD:" and it finishes with two semicolons (";;")


The supported tags include:

Tagi-mode compatible bar code recognition functionDescriptionExample
ADR3.0The physical delivery address. The fields divided by commas (,) denote PO box, room number, house number, city, prefecture, zip code and country, in order.ADR:,,123 Main St.,Springfield,IL,12345,USA;
BDAY3.08 digits for date of birth: year (4 digits), month (2 digits) and day (2 digits), in order.BDAY:19700310;
EMAIL1.0The address for electronic mail communication.EMAIL:johndoe@hotmail.com;
N1.0A structured representation of the name of the person. When a field is divided by a comma (,), the first half is treated as the last name and the second half is treated as the first name.N:Doe,John;
NICKNAME3.0Familiar name for the object represented by this MeCard.NICKNAME:Johnny;
NOTE1.0Specifies supplemental information to be set as memo in the phonebook.NOTE:I am proficient in Tiger-Crane Style,\nand I am more than proficient in the exquisite art of the Samurai sword.;
SOUND1.0Designates a text string to be set as the kana name in the phonebook. When a field is divided by a comma (,), the first half is treated as the last name and the second half is treated as the first name.
TEL1.0The canonical number string for a telephone number for telephony communication.TEL:(123) 555-5832;
TEL-AV2.0The canonical string for a videophone number communication.TEL-AV:(123) 555-5832;
URL3.0A URL pointing to a website that represents the person in some way.URL:https://www.johndoe.com/
gollark: Never mind, I did things and the disk is fine, the adapter was just being broken and works if I disable UASP.
gollark: It's very janky. I don't think I have actual spare disk caddies, so it's just plugged in on a spare USB to SATA adapter.
gollark: Fortunately, this is only my *backup* disk.
gollark: No, it's just not mounting and I'm getting tons of errors in dmesg.
gollark: Oh dear, this disk might *actually* be broken.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.