O'Reilly logo

PhoneGap 3 Beginner's Guide by Giorgio Natili

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The Contacts API

You can easily access the contact information stored on a device using the PhoneGap API. The Contacts API is an implementation of the W3C's Pick Contacts Intent API (an intent that enables access to a user's address book service from inside a web application). You can read more about the W3C specifications at http://www.w3.org/TR/contacts-api/).

In order to allow your app to access and manipulate the contacts stored on the device, you have to update the specific platform configuration files. The following table lists the information you need to add to the configuration files for Android, iOS, and Windows Phone apps. For a complete list of all the supported platforms refer to the online documentation at http://docs.phonegap.com/en/edge/cordova_contacts_contacts.md.html#Contacts ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required