Book Image

JavaScript Mobile Application Development

Book Image

JavaScript Mobile Application Development

Overview of this book

Table of Contents (15 chapters)
JavaScript Mobile Application Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 4. Cordova API in Action

In this chapter, we will start taking a deep dive in Apache Cordova API and see Apache Cordova API in action. You will learn how to work with the Cordova accelerometer, camera, compass, connection, contacts, device, geolocation, globalization, and the InAppBrowser APIs. This chapter as well as the next one illustrates a Cordova mobile app, Cordova Exhibition (which is developed using Apache Cordova and jQuery Mobile), that explores the main features of the Apache Cordova API in order to give you real-life usage examples of the Apache Cordova API in Android, iOS, and Windows Phone 8.