/**
* Implements the "MECARD" address book entry format.
*
- * Supported keys: N, TEL, EMAIL, NOTE, ADR, BDAY, URL, plus ORG
- * Unsupported keys: SOUND, TEL-AV, NICKNAME
+ * Supported keys: N, SOUND, TEL, EMAIL, NOTE, ADR, BDAY, URL, plus ORG
+ * Unsupported keys: TEL-AV, NICKNAME
*
* Except for TEL, multiple values for keys are also not supported;
* the first one found takes precedence.
return null;
}
String name = parseName(rawName[0]);
+ String pronunciation = matchSingleDoCoMoPrefixedField("SOUND:", rawText, true);
String[] phoneNumbers = matchDoCoMoPrefixedField("TEL:", rawText, true);
String email = matchSingleDoCoMoPrefixedField("EMAIL:", rawText, true);
String note = matchSingleDoCoMoPrefixedField("NOTE:", rawText, false);
String org = matchSingleDoCoMoPrefixedField("ORG:", rawText, true);
return new AddressBookParsedResult(maybeWrap(name),
+ pronunciation,
phoneNumbers,
maybeWrap(email),
note,