phonegap

 

iPhone: Choose a contact

Page history last edited by Shazron Abdullah 3 mos ago
function chooseContact(allowsEditing) {
    var options = {
        allowsEditing: allowsEditing
    };
    navigator.ContactManager.chooseContact(chooseContact_Return, options);
}
function chooseContact_Return(contact) {
    if (contact) {
        navigator.notification.alert(contact.firstName + " " + contact.lastName, "Contact Returned", "Dismiss");
    }

Comments (0)

You don't have permission to comment on this page.