Configuring Parallels Desktop

Configuring Parallels Desktop This section shows how to configure Parallels Desktop on a Mac so that you can use Cordova to generate Windows Phone applications. The Microsoft Developer Network provides general instructions for how to run Windows under Parallels Desktop. After installing Windows, follow these steps: Within Parallels Desktop, select the Windows 8 disk image you have prepared, and choose Settings. Choose the General → CPUs options. Specify two CPUs. Specify at least 2GB of memory,

Windows Phone 8 Plugins

Windows Phone 8 Plugins This section provides details for how to implement native plugin code on the Windows Phone platform. Before reading this, see Plugin Development Guide 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. Writing a plugin for Cordova on Windows Phone requires a basic understanding of Cordova's architecture. Cord

iOS Plugin Development

iOS Plugin Development Guide This section provides details for how to implement native plugin code on the iOS platform. Before reading this, see [Plugin Development Guide][plugin-dev] 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. An iOS plugin is implemented as an Objective-C class that extends the CDVPlugin class. For JavaScri

cordova-plugin-statusbar

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-statusbar StatusBar The StatusBar object provides some functions to customize the iOS and Android StatusBar. :warning: Report issues on the Apache Cordova issue tracker Installation This installation method requires cordova 5.0+ cordova plugin add cordova-plugin-statusbar Older versions of cordova c

cordova requirements

cordova requirements command Synopsis Checks and print out all the requirements for platforms specified (or all platforms added to project if none specified). If all requirements for each platform are met, exits with code 0 otherwise exits with non-zero code. This can be useful when setting up a machine for building a particular platform. Syntax cordova requirements android

endcallbutton

endcallbutton This event fires when the user presses the end call button. The event overrides the default end call behavior. Quick Example document.addEventListener("endcallbutton", onEndCallKeyDown, false); function onEndCallKeyDown() { // Handle the end call button }

menubutton

menubutton The event fires when the user presses the menu button. Applying an event handler overrides the default menu button behavior. Quick Example document.addEventListener("menubutton", onMenuKeyDown, false); function onMenuKeyDown() { // Handle the back button }

<platform>

platform When using the CLI to build applications, it is sometimes necessary to specify preferences or other elements specific to a particular platform. Use the element to specify configuration that should only appear in a single platform-specific config.xml file. Attributes(type) Only for platform: Description name(string) Required The platform whose preferences are being defined. Examples: <platform name="android"> <preference name="Fullscreen" value="true" /> </platfo

Ubuntu Platform

Ubuntu Platform Guide This guide shows how to set up a development environment for creating Cordova applications for Ubuntu. You will need an Ubuntu system for building applications, either running natively or in a virtual machine. You will also need an Ubuntu phone for testing your application, though an emulator can be used for basic verifications. Development Platform Requirements Minimum and Recommended Versions Developing Cordova apps requires a system running Ubuntu. The recommended envir

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