Blackberry 10s

Blackberry 10 Guides BlackBerry 10 Platform Guide BlackBerry 10 Shell Tool Guide BlackBerry 10 Configuration BlackBerry 10 Plugins Upgrading BlackBerry 10

BlackBerry 10 Shell Tool

BlackBerry 10 Shell Tool Guide The cordova command-line utility is a high-level tool that allows you to build applications across several platforms at once. An older version of the Cordova framework provides sets of command-line tools specific to each platform. To use them as an alternative to the CLI, you need to download this version of Cordova from cordova.apache.org. The download contains separate archives for each platform. Expand the platform you wish to target. The tools described here a

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

BlackBerry 10 Platform

BlackBerry 10 Platform Guide This guide shows how to set up your SDK environment to deploy Cordova apps for BlackBerry 10 devices. For previous versions of BlackBerry, you need to use a different SDK environment and set of command-line tools, described in the BlackBerry Platform Guide. For BlackBerry 10, you need to install the SDK regardless of whether you want to use the cross-platform Cordova CLI for development, or a narrower set of platform-centered command-line tools. For a comparison of

BlackBerry 10 Configuration

BlackBerry 10 Configuration The config.xml file controls an app's basic settings that apply across each application and CordovaWebView instance. This section details preferences that only apply to BlackBerry 10 builds. See The config.xml File for information on global configuration options. ChildBrowser (disable or the default enable): Disables child browser windows. By default, apps launch a secondary browser window to display resources accessed via window.open() or by specifying a _blank anc

backbutton

backbutton The event fires when the user presses the back button. To override the default back-button behavior, register an event listener for the backbutton event. It is no longer necessary to call any other method to override the back-button behavior. Quick Example document.addEventListener("backbutton", onBackKeyDown, false); function onBackKeyDown() { // Handle the back button } Windows Quirks Throw an error in a backbutton callback to force the default behavior, which is an app exit:

Android WebViews

Android WebViews This guide shows how to embed a Cordova-enabled WebView component within a larger Android application. For details on how these components can communicate with each other, see Application Plugins. If you're unfamiliar with Android, you should first familiarize yourself with the Android Platform Guide and have the latest Android SDK installed before you attempt the more unusual development option of embedding a WebView. Starting with Cordova 1.9, the Android platform relies on a

Android Plugin Development

Android Plugin Development Guide This section provides details for how to implement native plugin code on the Android platform. Before reading this, see the 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. For another sample, see also the comments in CordovaPlugin.java. Android plugins are based on Cordova

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

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