Overall, I've written 4 books on Apache Cordova. The first was called PhoneGap Essentials and covered both Adobe PhoneGap and Apache Cordova. All of the books on this page are partial rewrites of that original publication.

AC4P-160.pngApache Cordova 4 Programming is a book about the latest version of Apache Cordova (covers Apache Cordova 4.0 and 5.0), the leading framework for building native mobile applications for multiple target platforms using HTML5 (HTML, JavaScript, and CSS). I created the book in order to help web developers and mobile developers understand how to use Apache Cordova to build hybrid applications for mobile devices. The book targets the specific capabilities provided in Apache Cordova 4 and subsequent versions.

As Adobe PhoneGap is just a distribution of Apache Cordova, this book is also about Adobe PhoneGap. You’ll find any differences between the two clearly described herein.

The book is written for mobile developers who want to learn about Apache Cordova 4. If you’re brand- new to Cordova, then this book will be just what you need to get started. If you’re experienced with an older version of Cordova, this book can act as a refresher, plus it will show you in detail how to use all of the new stuff that’s in Cordova 4. You should have at least some experience with mobile development to directly benefit from this book. For web developers who want to get into mobile development using Apache Cordova, I’ve included content that shows you how to install and use the native SDKs, but I don’t cover many native-specific topics.

acac-cover-160.pngApache Cordova API Cookbook provides complete and thorough coverage of the Apache Cordova APIs. Using Apache Cordova 3, mobile developers can write cross-platform mobile apps using standard HTML 5, JavaScript, and CSS, and then deploy those apps to every leading mobile platform with little or no re-coding.

Apache Cordova API Cookbook introduces experienced mobile developers to all major Apache Cordova 3/PhoneGap APIs, showing how to use them to build native-style apps for mobile devices on iOS, Android, Windows Phone, and other mobile platforms.

Through realistic "cookbook" example code, pioneering enterprise mobile developer John Wargo helps you master key Cordova APIs and implement support for virtually every major aspect of mobile development. He explains what Cordova's JavaScript calls do, and how they translate into native app code for the various vendors. Topics include:

  • Accelerometers, compasses, GPS, and geolocation
  • Image, video, and audio capture, playback, and management
  • Determining connection and device information
  • Interacting with contacts
  • Responding to application events
  • Using the file system and storage
  • Determining device location
  • Globalizing apps
  • Using the InAppBrowser
  • Notifications
  • Custom splash screens

The author demonstrates how to make the most of the platform's latest advances.

Available July, 2014, you can read more about the book at www.cordovacookbook.com or the book's page at Amazon.com.

acp-cover-160.pngApache Cordova 3 Programming is a complete guide to developing applications using Apache Cordova 3. With this latest version of Apache Cordova, the team has made some pretty dramatic changes to the framework and this book is the first reference available to help guide you through the new changes.

With Cordova 3, all of the Cordova APIs have been removed from the container and implemented as plugins. This makes for a smaller and faster container and puts more emphasis on plugins. With this version, the developer tooling has change dramatically as well.

In Cordova 3, applications are managed using the Cordova Command Line Interface (CLI) which provides command line tools for creating projects, adding and removing mobile device platforms, adding and removing plugins as well as testing applications on emulators, simulators or physical devices. This approach simplifies cross-platform development and gives developers greater flexibility when working with the framework.

Because of all of these changes, developers have a lot to learn and this book is the way to obtain the information you need. The book includes the following chapters:

  1. The What, Why, How & More of Apache Cordova
  2. Installing the Cordova & PhoneGap Frameworks
  3. Installing the Cordova Command Line Interface
  4. Using the Cordova Command Line Interface
  5. Anatomy of a Cordova Application
  6. The Mechanics of Cordova Development
  7. Android Development with Cordova
  8. BlackBerry 10 Development with Cordova
  9. iOS Development with Cordova
  10. Windows Phone 8 Development with Cordova
  11. Using PhoneGap Build
  12. Working with the Cordova APIs
  13. Creating Cordova Plug-Ins
  14. Building a Cordova Application
  15. Extending Cordova to the Enterprise

As you can see, the book describes what makes Cordova important, shows you how to install the tools then walks you through the process of using the CLI as well as the native SDKs as you work on your Cordova projects. With the emphasis on plugins that comes with Cordova 3, the book includes a chapter which shows you start to finish how to create your own plugins.

You can learn more about the book at the Apache Cordova 3 Programming web site. You can purchase the book from Amazon.com using this link.