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

Chapter 6. Using Device Storage and the Contacts API

Your knowledge of PhoneGap is coming together well. It's time to add some interaction with external data sources and with the device itself. The main goal of this chapter is to guide you to understand the offline storage capabilities of PhoneGap and how to interact with the Contacts API.

In this chapter you will:

  • Learn how to read and write data on the device using the localStorage object
  • Learn how to handle the storage on a local database considering the specific platform implementation
  • Understand database storage limitations and learn how to handle them
  • Get an overview of the PhoneGap Contacts API and its objects
  • Learn how to use the PhoneGap Contacts API in order to read and filter the 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