Addressbook API
The functionality of the address book is achieved using the ContactList and Contact classes only. Contacts in the PIM API support a subset of the fields of the vCard format version 3.0 specified in IETF RFC 2426. The following example shows a vCard for John Smith in ASCII format:
BEGIN:VCARD FN:John Smith N:Smith;John;;;MD TEL;TYPE=WORK:555-7352 TEL;TYPE=HOME:555-4321 END:VCARD
Contacts and Their Fields
As mentioned earlier, the interface Contact extending the PIMElement interface represents a single contact. A contact consists of several fields such as name, phone number, or birthday. These fields are of different data types, depending ...
Get Java™ 2 Micro Edition Application Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.