O'Reilly logo

PhoneGap Mobile Application Development Cookbook by Matt Gifford

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

Creating and saving a new contact

Having an address book or an application that can read contact information from the database is fantastic, but wouldn't it be even better if we could add contacts to the database? The good news is that the PhoneGap API not only provides a way to read the information, but it also gives developers an incredibly powerful but easy way to add information too.

Getting ready

For this recipe, we'll build on the code created in the previous recipe, Displaying contact information for a specific individual. This will give us a good head start to add additional functionality into the application. Therefore, if you haven't yet completed the Display contact information for a specific individual recipe, it may help to go there ...

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