Apache Cordova API Cookbook Cover Image

Apache Cordova API Cookbook provides experienced mobile developers with details about how each Cordova API works and how to use the APIs in their own applications. Using Apache Cordova, 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. Coverage is included for all Cordova/PhoneGap 3 APIs.

Instead of just showing short snippets of code to explain a particular API, the book is chock full of complete, contextual examples. Inside the book, you’ll find more than 30 complete Cordova applications; chapter content highlights how those applications look and work on Android, iOS, Windows and more. The sample applications provide developers with applications they can run on every Cordova supported mobile device platform to see exactly what the API does, how it works and what the limitations are on each platform.

Through realistic “cookbook” example code, pioneering enterprise mobile developer John Wargo helps you master the Cordova APIs and understand how to use them in your Cordova applications.

Topics include:

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

Special care has been taken to make the application code easily readable and digestible by the reader. Weighing in at about 300 pages, you will not find a more thorough coverage of the topic anywhere.

The book’s source code is available on GitHub at https://github.com/johnwargo/apache-cordova-api-cookbook-code.

Check out John’s Other Books

Apache Cordova 4 Programming cover Apache Cordova 4 Programming is the perfect companion to Apache Cordova 4 Programming, digging much deeper into each Cordova API and many complete sample applications. With these two books, you have more than 700 pages of content teaching everything you need to know about Apache Cordova development.
Learning Progressive Web Apps cover Learning Progressive Web Apps is the definitive guide for writing Progressive Web applications (PWAs). The Author guides you through the process of converting existing web apps to PWAs, highlighting how to make an app installable using web app manifests, and enable all sorts of amazing background capabilities using service workers.