Note: This book is out of date and an updated version is now available.

PhoneGap Essentials was based on PhoneGap 2.x. At the time, the development team was still working through the migration to the open source Apache Cordova project, so doing a book on PhoneGap made sense. Since then, Apache Cordova 3 as well as PhoneGap 3 have been released and have changed dramaticaly from what is described in this book. So, with the help of my publisher, I have released an update to PhoneGap Essentials called Apache Cordova 3 Programming.

Apache Cordova Programming is a complete rewrite of the first half of PhoneGap Essentials and covers the new stuff in Cordova 3 as well. Detailed coverage is provided on the Cordova CLI as well as all of the tools a developer needs to build applications for Apache Cordova and Adobe PhoneGap. The book is more about the tools and development process, but chapters are included that cover plugin development as well as the Cordova APIs.

The second half of PhoneGap Essentials, the part that is all about the Cordova APIs has been rewritten and is now available as Apache Cordova API Cookbook.


PhoneGap Essentials is a book that introduces mobile web developers to the concepts, tools and API's provided by the open source, cross-platform PhoneGap framework (also known as Apache Callback and more recently Apache Cordova). Using PhoneGap, 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 recoding. The open source PhoneGap platform has attracted immense interest amongst mobile developers, but its official documentation is sparse and incomplete.

Now, for the first time, there's a concise, practical, developer's guide to succeeding with PhoneGap in real-world mobile development. Long-time mobile developer John M. Wargo (author of BlackBerry Development Fundamentals) thoroughly introduces the PhoneGap platform: what it is, what it does, and how it works. Next, the book guides developers through configuring their PhoneGap development environments, creating a complete mobile app, and then configuring and building it for leading mobile platforms Google Android, Samsung bada, RIM BlackBerry, Apple iOS, Symbian and Windows Phone. Example applications highlight PhoneGap's APIs, demonstrating how to use mobile platform capabilities ranging from GPS and accelerometers to file systems and built-in applications. Readers also learn how to make the most of PhoneGap Build, PhoneGap's cloud-based packaging utility.

This book is for developers who are just getting started with PhoneGap development and need to know what PhoneGap is all about, what tools are provided and how to use them plus detailed information about how to leverage the PhoneGap API's in their applications. The book is chock full of sample applications that highlight the capabilities of each PhoneGap API.