7. Contacts
The Cordova Contacts API provides an application with an interface it can use to create, locate, read, edit, copy, and delete contact records from the device’s native Contacts application. The API is not proprietary; instead it’s an implementation of the W3C’s Contacts API (www.w3.org/TR/2011/WD-contacts-api-20110616/). This API interfaces with the native Contacts APIs provided by the mobile platform, and because of the way the internal API views contact information, there are some quirks that manifest themselves across mobile device platforms.
An application would use this API to build an application that, well, interacts with the device’s local contacts. An enterprise customer relationship management (CRM) application, for example, ...
Get Apache Cordova API Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.