function onSuccess(contact) { alert("Speichern erfolgreich "); }; function onError(contactError) { alert("Error = " + contactError.code); }; // Ein neues Kontakt-Objekt anlegen var contact = navigator.contacts.create(); contact.displayName = "CordoMan"; contact.nickname = "CordoMan"; // Das Namen-Objekt erstellen und Eigenschaften setzen var name = new ContactName(); name.givenName = "Martin"; name.familyName = "Schmidt"; contact.name = name; // Kontakt speichern contact.save(onSuccess,onError);