cordova - Trigger the native contacts ui in phonegap [ios] -


i've been looking through documentation contacts api , there ways retrieve , save contacts display them on own ui.

but there way trigger native contacts display address book?

something similar sms plugin pops native sms composer within app.

thanks

i looking exact same thing , came across http://fqnow.com/phonegap-contact-picker/. here's javascript code, need is:

function contactchooser(){   var options = new contactfindoptions();   options.fields = ["displayname", "name", "emails", "phonenumbers"];   navigator.contacts.choosecontact( onsuccess, options); } function onsuccess(id, contact){   alert(id);   alert(contact); } 

Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -