Book description
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.
Table of contents
- About This eBook
- Title Page
- Copyright Page
- Dedication Page
- Contents
- Foreword
- Preface
- Acknowledgments
- About the Author
- 1. Introduction to Apache Cordova
- 2. Accelerometer
- 3. Camera
- 4. Capture
- 5. Compass
- 6. Connection
- 7. Contacts
- 8. Device
- 9. Events
- 10. File
- 11. Geolocation
- 12. Globalization
- 13. InAppBrowser
- 14. Media
- 15. Notification
- 16. Splashscreen
- Index
Product information
- Title: Apache Cordova API Cookbook
- Author(s):
- Release date: July 2014
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780133838558
You might also like
book
Apache Cordova in Action
Apache Cordova in Action teaches you to create and launch hybrid mobile apps using Cordova or …
book
Apache Cordova 3 Programming
Covers PhoneGap 3.X Written for experienced mobile developers, is a complete introduction to Apache Cordova 3 …
video
Applying Apache Cordova and PhoneGap
Build web apps that take can advantage of features such as the camera, accelerometer, address book, …
book
Apache Cordova 4 Programming
Using Apache Cordova 4, you can leverage native technologies and web standards to quickly build cross-platform …