The book assumes you’ve already had some exposure to Apache Cordova & Adobe PhoneGap. Chapter 1 contains a brief introduction to Apache Cordova for those that don’t have the background with the framework or want to hear what I have to say about Cordova and Cordova development. It’s not designed to cover everything, that’s done quite well in Apache Cordova 3 Programming (www.cordovaprogramming.com). Instead, it provides enough background to get you started if you’ve not worked with Cordova before.

The chapter includes some sample programs that highlight what makes a Cordova application a Cordova application and provides a brief introduction to the device APIs.

The first example application is a simple application that displays the results from the Cordova Device APi. The figures below show the application running on Android and iOS devices.

Hello World 1 on Android
Hello World 1 on Android
Hello World 1 on iOS
Hello World 1 on iOS

The second example application in the chapter is the same as the first example, except this one is built using the Adobe Topcoat CSS framework.

Hello World 2 on Android
Hello World 2 on Android
Hello World 2 on iOS
Hello World 2 on iOS

Throughout the book, I use either Topcoat (for simple application UIs) or jQuery Mobile (for more complicated UIs or ones that require capabilities not exposed through Topcoat.