Developers can access, read from, and filter the contacts saved within the device's contact database, allowing them to query and work with the address book on the device.
We will create an application to read all contacts in the device database and output them as a list:
readcontactby running the following command:
phonegap create readcontact com.myapp.readcontact readcontact
cordova platform add ios cordova platform add android
cordova plugin add org.apache.cordova.contacts
www/index.html, and let's clean up the unnecessary elements. ...