PIM.CONTACT_LIST, PIM.READ_WRITE);
// Check if there is already an existing contact
// with phone number 519-555-1111.
final Enumeration enumeration =
contacts.itemsByPhoneNumber(PHONE_NUMBER);
if (!enumeration.hasMoreElements()) {
final Contact contact = contacts.createContact();
// Add first and last name to contact
final String[] name =