Using Apache Cordova, mobile developers can write cross-platform mobile apps using standard HTML5, JavaScript, and CSS, and then deploy those apps to every leading mobile platform with little or no re-coding. 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. Coverage is included for all Cordova/PhoneGap 3 APIs.
Instead of just showing short snippets of code to explain a particular API, this guide is chock full of complete examples. You’ll find more than thirty complete Cordova applications that work on Android, iOS, Windows, and more. The sample applications demonstrate exactly what each API does and how it works, while the chapter content describes the limitations on the leading target platforms (and even offers possible workarounds).
Through realistic “cookbook” example code, mobile developer John Wargo helps you master the Cordova APIs and understand how to use them in your Cordova applications.
Topics include
Accelerometers, compass, and geolocation
Image, video, and audio–capture, playback, and management
Determining connection and device information
Interacting with the Contacts application
Responding to application events
Accessing the device file system
Globalizing apps
Using the InAppBrowser
Notifications
Custom splash screens
Special care has been taken to make the code easily readable and digestible by the reader. This guide provides the most accessible coverage, anywhere, of Apache Cordova APIs.
- ISBN10 0321994809
- ISBN13 9780321994806
- Publish Date 24 July 2014 (first published 24 June 2014)
- Publish Status Out of Print
- Out of Print 22 June 2022
- Publish Country US
- Publisher Pearson Education (US)
- Imprint Addison-Wesley Educational Publishers Inc
- Format Paperback
- Pages 320
- Language English