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

What is Apache Cordova?


The Apache Cordova project is an Apache open source project that targets the creation of native mobile applications using common web technologies such as HyperText Markup Language (HTML), Cascading Style Sheets (CSS), and JavaScript. It offers a set of JavaScript APIs, which provide access to a number of natively built core plugins. Cordova offers many core APIs, some of which grant the ability to perform the following:

  • Process the device contact lists

  • Process files on the device storage

  • Capture a photo using the device camera

  • Get a photo from the device gallery

  • Record voice using the device microphone

  • Get device direction using the device compass

  • Retrieve the device locale

  • Find out the device location

  • Get the device motion

  • Get the device connection information

Cordova supports a wide variety of different mobile platforms such as:

  • Android

  • iOS

  • Windows platform:

    • Windows Phone 7 (this support will be removed soon in Cordova Version 3.7)

    • Windows Phone 8

    • Windows 8

  • BlackBerry

  • Tizen

  • Web OS

  • Firefox OS

  • Bada

  • Ubuntu

The Apache Cordova official API documentation is at http://docs.cordova.io.

You can also refer to the following GitHub repositories to find the source code of Apache Cordova implementations on the different platforms:

You will find it very useful to know about GitHub, which is a web-based hosting service for software development projects that use the Git revision control system. GitHub offers both paid plans for private repositories and free accounts for open source projects. The site was launched in 2008 by Tom Preston-Werner, Chris Wanstrath, and PJ Hyett.