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.

MeCard is based in UTF-8 (which is ASCII compatible), the fields are separated with one semicolon (;), the tags are separated with a colon (:). Compared to vCard, it needs very few chars due to the size limitation of QR Codes.

QR Code MeCard example containing the text MECARD:N:Doe,John;TEL:13035551212;EMAIL:john.doe@example.com;;

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, postal 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 orderBDAY:19700310;
EMAIL1.0The address for electronic mail communicationEMAIL: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 MeCardNICKNAME: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 communicationTEL:(123) 555-5832;
TEL-AV2.0The canonical string for a videophone number communicationTEL-AV:(123) 555-5832;
URL3.0A URL pointing to a website that represents the person in some wayURL:https://www.johndoe.com/


This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.