Android Platform

Android Platform Guide This guide shows how to set up your SDK environment to deploy Cordova apps for Android devices, and how to optionally use Android-centered command-line tools in your development workflow. You need to install the Android SDK regardless of whether you want to use these platform-centered shell tools or cross-platform Cordova CLI for development. For a comparison of the two development paths, see the Overview. For details on the CLI, see Cordova CLI Reference. Requirements an

volumeupbutton

volumeupbutton The event fires when the user presses the volume up button. If you need to override the default volume up behavior you can register an event listener for the volumeupbutton event. Quick Example document.addEventListener("volumeupbutton", onVolumeUpKeyDown, false); function onVolumeUpKeyDown() { // Handle the volume up button }

cordova-plugin-camera

This documentation describes this plugin at version master. Other versions are on GitHub. Android iOS Windows 8.1 Store Windows 8.1 Phone Windows 10 Store Travis CI cordova-plugin-camera This plugin defines a global navigator.camera object, which provides an API for taking pictures and for choosing images from the system's image library. Although the object is attached to the global scoped navigator, it is not available until after the deviceready event. document.addEventListene

iOS Platform

iOS Platform Guide This guide shows how to set up your SDK development environment to deploy Cordova apps for iOS devices such as iPhone and iPad, and how to optionally use iOS-centered command-line tools in your development workflow. You need to install the SDK tools regardless of whether you want to use these platform-centered shell tools or cross-platform Cordova CLI for development. For a comparison of the two development paths, see the Overview. For details on the CLI, see Cordova CLI Refe

<description>

description Specifies metadata that may appear within app-store listings. Examples: <widget ...> <description>A sample Apache Cordova application</description> </widget>

Hooks

Hooks Introduction Cordova Hooks represent special scripts which could be added by application and plugin developers or even by your own build system to customize cordova commands. Cordova hooks allow you to perform special activities around cordova commands. For example, you may have a custom tool that checks for code formatting in your javascript file. And, you would like to run this tool before every build. In such a case, you could use a 'before_build' hook and instruct the cordova run time

Upgrading iOS

Upgrading iOS This guide shows how to modify iOS projects to upgrade from older versions of Cordova. Most of these instructions apply to projects created with an older set of command-line tools that precede the cordova CLI utility. See The Command-Line Interface for information how to update the version of the CLI. NOTE: Xcode 6 is required. Currently, to submit to the Apple App Store, you should use the latest shipped version of the iOS SDK, which is iOS 8 and this is included only with Xcode

BlackBerry 10 Plugins

BlackBerry 10 Plugins This section provides details for how to implement native plugin code on the BlackBerry 10 platform. Before reading this, see Application Plugins for an overview of the plugin's structure and its common JavaScript interface. This section continues to demonstrate the sample echo plugin that communicates from the Cordova webview to the native platform and back. The Echo plugin basically returns whatever string the window.echo function sends from JavaScript: window.echo = fun

startcallbutton

startcallbutton The event fires when the user presses the start call button. If you need to override the default start call behavior you can register an event listener for the startcallbutton event. Quick Example document.addEventListener("startcallbutton", onStartCallKeyDown, false); function onStartCallKeyDown() { // Handle the start call button }

cordova-plugin-device-motion

This documentation describes this plugin at version master. Other versions are on GitHub. Android iOS Windows 8.1 Store Windows 8.1 Phone Windows 10 Store Travis CI cordova-plugin-device-motion This plugin provides access to the device's accelerometer. The accelerometer is a motion sensor that detects the change (delta) in movement relative to the current device orientation, in three dimensions along the x, y, and z axis. Access is via a global navigator.accelerometer object. Al