14. Building a Cordova Application

At this point in the book, I’ve shown you a lot about Cordova programming, but I’ve not done a complete walkthrough of the process using a real application as an example. So, in this chapter, I take a complete application and show you the steps needed to create and test the application from start to finish.

About the Application

In PhoneGap Essentials, I created complete sample applications for each PhoneGap API; it was a great way to highlight all of the options for each API. For this chapter, I took one of the applications from that book and updated it for Cordova 3.0. I decided to use one of the applications I created to demonstrate how to implement a Compass watch.

The application displays a simple screen ...

Get Apache Cordova 3 Programming 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.