Return-Path: X-Original-To: apmail-cordova-commits-archive@www.apache.org Delivered-To: apmail-cordova-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9DC0F10A8D for ; Tue, 17 Dec 2013 20:32:32 +0000 (UTC) Received: (qmail 92749 invoked by uid 500); 17 Dec 2013 20:32:32 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 92728 invoked by uid 500); 17 Dec 2013 20:32:32 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 92721 invoked by uid 99); 17 Dec 2013 20:32:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Dec 2013 20:32:32 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Dec 2013 20:32:27 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id A0C822388C52; Tue, 17 Dec 2013 20:31:43 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r1551686 [9/19] - in /cordova/site/public/docs/en: 3.3.0/ edge/ Date: Tue, 17 Dec 2013 20:31:37 -0000 To: commits@cordova.apache.org From: mwbrooks@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20131217203143.A0C822388C52@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Modified: cordova/site/public/docs/en/3.3.0/guide_platforms_win8_index.md.html URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/3.3.0/guide_platforms_win8_index.md.html?rev=1551686&r1=1551685&r2=1551686&view=diff ============================================================================== --- cordova/site/public/docs/en/3.3.0/guide_platforms_win8_index.md.html (original) +++ cordova/site/public/docs/en/3.3.0/guide_platforms_win8_index.md.html Tue Dec 17 20:31:35 2013 @@ -17,16 +17,18 @@ specific language governing permissions and limitations under the License. --> - - - - -Apache Cordova API Documentation - - - - - + + + + + + Apache Cordova API Documentation + + + + + +

Windows 8 Platform Guide

@@ -153,6 +156,7 @@ detailed platform-specific information:<
  • Upgrading Windows 8
  • Windows 8 Command-line Tools
  • +

    The command-line tools above refer to versions prior to Cordova 3.0. See The Command-Line Interface for information about the current interface.

    @@ -162,21 +166,18 @@ Windows RT. MSDN now refers to this type app, and this guide follows that convention. Also, in this guide Windows 8 signifies both Windows 8 and Windows RT.

    -

    -Requirements -

    +

    Requirements

    • Windows 8

    • Visual Studio 2012 Professional or better, or Visual Studio 2012 Express for Windows 8

    +

    Follow the instructions at windowsstore.com to submit your app to Windows Store.

    -

    -Install SDK and Cordova -

    +

    Install SDK and Cordova

    Set up your preferred variant of Visual Studio 2012. All of the product's paid versions (Professional, etc.) let you build Windows @@ -188,9 +189,7 @@ apps using the Cordova. These instuctions apply to the lib\windows-8 subdirectory.

    -

    -Set up a New Project -

    +

    Set up a New Project

    You can already build Windows 8 apps using the HTML/JavaScript track available in Windows Store apps. Use Cordova in Windows Store apps to @@ -258,9 +257,8 @@ Explorer. Add the following oth -

    -Test the Project -

    + +

    Test the Project

    Run the project from Visual Studio. You'll see the message box appear:

    @@ -273,6 +271,7 @@ Explorer. Add the following oth
    - - + + + Modified: cordova/site/public/docs/en/3.3.0/guide_platforms_win8_tools.md.html URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/3.3.0/guide_platforms_win8_tools.md.html?rev=1551686&r1=1551685&r2=1551686&view=diff ============================================================================== --- cordova/site/public/docs/en/3.3.0/guide_platforms_win8_tools.md.html (original) +++ cordova/site/public/docs/en/3.3.0/guide_platforms_win8_tools.md.html Tue Dec 17 20:31:35 2013 @@ -17,16 +17,18 @@ specific language governing permissions and limitations under the License. --> - - - - -Apache Cordova API Documentation - - - - - + + + + + + Apache Cordova API Documentation + + + + + +

    Windows 8 Command-line Tools

    @@ -158,16 +161,12 @@ more detailed directions.

    plugins, see Using Plugman to Manage Plugins. See Application Plugins for an overview.

    -

    -Windows 8 -

    +

    Windows 8

    The Windows 8 command-line tools only support creating new projects. Commands must be run from a cmd or powershell prompt.

    -

    -Create a Project -

    +

    Create a Project

    Run the create command with the following parameters:

    @@ -176,10 +175,12 @@ Commands must be run from a cmd or power
  • Package Name, following reverse-domain style convention. This becomes the default Namespace.

  • Project name

  • -
    + + - - + + + Modified: cordova/site/public/docs/en/3.3.0/guide_platforms_win8_upgrading.md.html URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/3.3.0/guide_platforms_win8_upgrading.md.html?rev=1551686&r1=1551685&r2=1551686&view=diff ============================================================================== --- cordova/site/public/docs/en/3.3.0/guide_platforms_win8_upgrading.md.html (original) +++ cordova/site/public/docs/en/3.3.0/guide_platforms_win8_upgrading.md.html Tue Dec 17 20:31:35 2013 @@ -17,16 +17,18 @@ specific language governing permissions and limitations under the License. --> - - - - -Apache Cordova API Documentation - - - - - + + + + + + Apache Cordova API Documentation + + + + + +

    Upgrading Windows 8

    @@ -150,9 +153,7 @@ Most of these instructions apply to proj 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.

    -

    -Upgrade to 3.2.0 from 3.1.0 -

    +

    Upgrade to 3.2.0 from 3.1.0

    For projects that were created with the cordova CLI:

    @@ -160,20 +161,17 @@ version of the CLI.

  • Update the cordova CLI version. See The Command-Line Interface.

  • Run cordova platform update windows8.

  • +

    For projects not created with the cordova CLI, run:

        bin\update <project_path>
     
    -

    -Upgrade to 3.1.0 -

    +

    Upgrade to 3.1.0

    Cordova CLI support for Windows 8 was introduced in Cordova 3.1.0. To upgrade, we suggest creating a new Cordova CLI project and moving over all necessary assets.

    -

    -Upgrade to 2.9.0 from 2.8.0 -

    +

    Upgrade to 2.9.0 from 2.8.0

    The following commands should be done from within Visual Studio to be sure that the any project references are updated/deleted.

    @@ -182,9 +180,8 @@ version of the CLI.

  • Add cordova.js file from the source to the project's www directory. (Note that the file no longer contains a version number in the filename.)

  • Build and test!

  • -

    -Upgrade to 2.8.0 from 2.7.0 -

    + +

    Upgrade to 2.8.0 from 2.7.0

    The following commands should be done from within Visual Studio to be sure that the any project references are updated/deleted.

    @@ -193,10 +190,12 @@ version of the CLI.

  • Add cordova.js file from the source to the project's www directory. (Note that the file no longer contains a version number in the filename.)

  • Build and test!

  • -
    + + - - + + + Modified: cordova/site/public/docs/en/3.3.0/guide_platforms_wp7_index.md.html URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/3.3.0/guide_platforms_wp7_index.md.html?rev=1551686&r1=1551685&r2=1551686&view=diff ============================================================================== --- cordova/site/public/docs/en/3.3.0/guide_platforms_wp7_index.md.html (original) +++ cordova/site/public/docs/en/3.3.0/guide_platforms_wp7_index.md.html Tue Dec 17 20:31:35 2013 @@ -17,16 +17,18 @@ specific language governing permissions and limitations under the License. --> - - - - -Apache Cordova API Documentation - - - - - + + + + + + Apache Cordova API Documentation + + + + + +

    Windows Phone 7 Platform Guide

    @@ -162,13 +165,12 @@ applies to both versions:

  • Windows Phone Plugins
  • Windows Phone Command-line Tools
  • +

    The command-line tools above refer to versions prior to Cordova 3.0. See The Command-Line Interface for information about the current interface.

    -

    -System Requirements -

    +

    System Requirements

    Use Windows 7 or Windows 8 (Pro) or Windows Vista with SP2. The 64-bit version (x64) of Windows is required for the SDK. The Pro @@ -182,9 +184,7 @@ to install an app on a real device or su Read Windows Phone on a Mac for insights on developing solutions.

    -

    -Install SDK and Cordova -

    +

    Install SDK and Cordova

    Download and install the Windows Phone SDK.

    @@ -197,9 +197,7 @@ contains the Windwos Phone 8 version of

    Copy the CordovaWP7_x_x_x.zip file to the \My Documents\Visual Studio 2012\Templates\ProjectTemplates\ directory.

    -

    -Building the Template -

    +

    Building the Template

    NOTE: Skip this step if the lib\windows-phone directory already contains a CordovaWP7_x_x_x.zip file.

    @@ -226,9 +224,7 @@ with a parameter to install automaticall
        >createTemplates.bat -install
     
    -

    -Set up a New Project -

    +

    Set up a New Project

    • Open Visual Studio Express for Windows Phone and choose New @@ -237,9 +233,8 @@ Project.

    • description.

    • Give the project a name, and select OK.

    -

    -Review the Project Structure -

    + +

    Review the Project Structure

    The www directory features html, js, and css subdirectories and any other resources your app requires. @@ -251,10 +246,8 @@ vary depending on installed version:

    -

    -Build the Project for the Device - -

    +

    Build the Project for the Device +

    Before testing your application on a device, the device must be registered. Consult @@ -268,6 +261,7 @@ the basic steps:

  • Press the green play button next to the main drop-down menu to start debugging, or else type F5.

  • +

    At this point, you're done.

    @@ -276,6 +270,7 @@ start debugging, or else type F5
    - - + + + Modified: cordova/site/public/docs/en/3.3.0/guide_platforms_wp8_index.md.html URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/3.3.0/guide_platforms_wp8_index.md.html?rev=1551686&r1=1551685&r2=1551686&view=diff ============================================================================== --- cordova/site/public/docs/en/3.3.0/guide_platforms_wp8_index.md.html (original) +++ cordova/site/public/docs/en/3.3.0/guide_platforms_wp8_index.md.html Tue Dec 17 20:31:35 2013 @@ -17,16 +17,18 @@ specific language governing permissions and limitations under the License. --> - - - - -Apache Cordova API Documentation - - - - - + + + + + + Apache Cordova API Documentation + + + + + +

    Windows Phone 8 Platform Guide

    @@ -166,13 +169,12 @@ applies to both versions:

  • Windows Phone Plugins
  • Windows Phone Command-line Tools
  • +

    The command-line tools above refer to versions prior to Cordova 3.0. See The Command-Line Interface for information about the current interface.

    -

    -System Requirements -

    +

    System Requirements

    • @@ -220,11 +222,10 @@ current interface.

    • Register and pay for a Windows Phone Dev Center account if you want to install your app on a real device or submit it to Market Place.

    +

    NOTE: Running the SDK in Virtual Machine might present some challenges. You can read this blog post that gives insight on the solutions to develop for Windows Phone on a Mac.

    -

    -Install SDK and Cordova -

    +

    Install SDK and Cordova

    Download and install Windows Phone SDK.

    @@ -236,9 +237,7 @@ subdirectory is where you need to do you

    Copy the CordovaWP8_x_x_x.zip file to the \My Documents\Visual Studio 2012\Templates\ProjectTemplates\ directory.

    -

    -Building the Template -

    +

    Building the Template

    NOTE: Skip this step if the lib\windows-phone directory already contains a CordovaWP8_x_x_x.zip file.

    @@ -264,9 +263,7 @@ with a parameter to install automaticall
        >createTemplates.bat -install
     
    -

    -Set up a New Project -

    +

    Set up a New Project

    Open Visual Studio Express for Windows Phone and choose New Project.

    @@ -278,9 +275,7 @@ template description.

    -

    -Review the Project Structure -

    +

    Review the Project Structure

    The www directory features html, js, and css subdirectories and any other resources your app requires. @@ -292,9 +287,7 @@ vary depending on the installed version:

    -

    -Build and Deploy to Emulator -

    +

    Build and Deploy to Emulator

    Make sure Windows Phone Emulator is selected in the main drop-down menu.

    @@ -303,10 +296,8 @@ start debugging, or type F5

    -

    -Build the Project for the Device - -

    +

    Build the Project for the Device +

    Before testing your application on a device, the device must be registered. Consult @@ -320,13 +311,12 @@ the basic steps:

  • Press the green play button next to the main drop-down menu to start debugging, or else type F5.

  • +

    At this point, you're done.

    -

    -Further Reading -

    +

    Further Reading

    The Windows Phone Developer Blog provides helpful details @@ -337,6 +327,7 @@ both.

    - - + + + Modified: cordova/site/public/docs/en/3.3.0/guide_platforms_wp8_plugin.md.html URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/3.3.0/guide_platforms_wp8_plugin.md.html?rev=1551686&r1=1551685&r2=1551686&view=diff ============================================================================== --- cordova/site/public/docs/en/3.3.0/guide_platforms_wp8_plugin.md.html (original) +++ cordova/site/public/docs/en/3.3.0/guide_platforms_wp8_plugin.md.html Tue Dec 17 20:31:35 2013 @@ -17,16 +17,18 @@ specific language governing permissions and limitations under the License. --> - - - - -Apache Cordova API Documentation - - - - - + + + + + + Apache Cordova API Documentation + + + + + +

    Windows Phone Plugins

    @@ -165,9 +168,7 @@ license: Licensed to the Apache Software specific language governing permissions and limitations -

    - under the License. -

    +

    under the License.

    Windows Phone Plugins

    @@ -222,14 +223,13 @@ using WPCordovaClassLib.Cordova.JSON; +

    See the BaseCommand.cs class for methods available for the plugin to override. For example, the plugin can capture 'pause' and 'resume' events.

    -

    -Namespaces -

    +

    Namespaces

    The default namespace for unqualified commands is:

    @@ -257,9 +257,7 @@ your C# class like this:

        cordova.exec(win, fail, "com.mydomain.cordovaExtensions.Echo", ...);
     
    -

    -Interpreting Arguments in C -

    +

    Interpreting Arguments in C

    In the example discussed in Application Plugins, the data your plugin receives is a string, but what if you want to pass an array of @@ -282,9 +280,7 @@ into C#, and so need to be decoded:

    // optVal now has the value of "input string" -

    -Passing Results from C# to JavaScript -

    +

    Passing Results from C# to JavaScript

    The BaseCommand class provides methods to pass data to JavaScript callback handlers. If you simply want to signal success with no @@ -312,9 +308,7 @@ object whose status is ERROR DispatchCommandResult(new PluginResult(PluginResult.Status.ERROR, "Echo signaled an error")); -

    -Handling Serialization Errors -

    +

    Handling Serialization Errors

    When interpreting your arguments, try/catch blocks help screen out bad input. This pattern appears throughout the Cordova C# code:

    @@ -340,9 +334,7 @@ bad input. This pattern appears througho } -

    -Plugin XML -

    +

    Plugin XML

    The following shows how to use the plugin.xml file to specify a plugin's source files on the Windows Phone platform. See Application @@ -373,9 +365,8 @@ file:

    -

    -Debugging Plugins -

    + +

    Debugging Plugins

    Use Visual Studio's debugger to debug a plugin's C# component. You can set a break point at any of the methods exposed by your class.

    @@ -384,9 +375,7 @@ set a break point at any of the methods use console.log to output the plugin's state, or to inform yourself of errors.

    -

    -Common Pitfalls -

    +

    Common Pitfalls

    • @@ -415,10 +404,12 @@ calling exec(). Doing so al unnecessary functionality from the plugin's various native implementations.

    -
    + + - - + + + Modified: cordova/site/public/docs/en/3.3.0/guide_platforms_wp8_tools.md.html URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/3.3.0/guide_platforms_wp8_tools.md.html?rev=1551686&r1=1551685&r2=1551686&view=diff ============================================================================== --- cordova/site/public/docs/en/3.3.0/guide_platforms_wp8_tools.md.html (original) +++ cordova/site/public/docs/en/3.3.0/guide_platforms_wp8_tools.md.html Tue Dec 17 20:31:35 2013 @@ -17,16 +17,18 @@ specific language governing permissions and limitations under the License. --> - - - - -Apache Cordova API Documentation - - - - - + + + + + + Apache Cordova API Documentation + + + + + +

    Windows Phone Command-line Tools

    @@ -161,9 +164,7 @@ more detailed directions.

    plugins, see Using Plugman to Manage Plugins. See Application Plugins for an overview.

    -

    -Windows Phone -

    +

    Windows Phone

    The Windows Phone command-line tools support creating, building, and running new projects. Commands must be run from a cmd or powershell @@ -172,9 +173,7 @@ prompt.

    The WP8 repo now includes code for building both WP7 + WP8 apps. The repo has subdirectories for each: wp7/ and wp8/.

    -

    -Create a Project -

    +

    Create a Project

    There are 2 ways to go about creating a new Apache Cordova WP7 or WP8 application.

    @@ -191,6 +190,7 @@ new Apache Cordova Windows Phone apps fr File → New Project menu.

  • If you run the batch file from the command line, you can also call with a parameter to install automatically

  • +

    Run the script :

    >createTemplates.bat -install
    @@ -218,9 +218,7 @@ name.  Here is the syntax for both Windo
     
     

    Build and Run it

    -

    -Building the Project (Clean, then Build) -

    +

    Building the Project (Clean, then Build)

    • @@ -234,9 +232,8 @@ name. Here is the syntax for both Windo

      $ C:\path\to\mynewproject\cordova\build --release

    -

    -Running the App -

    + +

    Running the App

    Run the 'run' command with the following optional parameters

    @@ -248,11 +245,10 @@ name. Here is the syntax for both Windo

    $ C:\path\to\mynewproject\cordova\run [Target] [Build]

    +

    By default the run command is called with --emulator --debug if flags are not provided.

    -

    -Cleaning -

    +

    Cleaning

    $ C:\path\to\my_new_project\cordova\clean
     
    @@ -261,6 +257,7 @@ name. Here is the syntax for both Windo
    - - + + + Modified: cordova/site/public/docs/en/3.3.0/guide_platforms_wp8_upgrading.md.html URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/3.3.0/guide_platforms_wp8_upgrading.md.html?rev=1551686&r1=1551685&r2=1551686&view=diff ============================================================================== --- cordova/site/public/docs/en/3.3.0/guide_platforms_wp8_upgrading.md.html (original) +++ cordova/site/public/docs/en/3.3.0/guide_platforms_wp8_upgrading.md.html Tue Dec 17 20:31:35 2013 @@ -17,16 +17,18 @@ specific language governing permissions and limitations under the License. --> - - - - -Apache Cordova API Documentation - - - - - + + + + + + Apache Cordova API Documentation + + + + + +

    Upgrading Windows Phone

    @@ -173,9 +176,7 @@ Command-Line Interface for informati the CLI. The following section shows how to upgrade from non-CLI projects.

    -

    -Upgrade to 3.2.0 from 3.1.0 -

    +

    Upgrade to 3.2.0 from 3.1.0

    For projects that were created with the cordova CLI:

    @@ -183,14 +184,13 @@ projects.

  • Update the cordova CLI version. See The Command-Line Interface.

  • Run cordova platform update wp8 (or wp7, per the platforms you added to your project).

  • +

    For projects not created with the cordova CLI, run:

        bin\update <project_path>
     
    -

    -Upgrade to 3.1.0 from 3.0.0 -

    +

    Upgrade to 3.1.0 from 3.0.0

    For projects that were created with the cordova CLI:

    @@ -198,14 +198,13 @@ projects.

  • Update the cordova CLI version. See The Command-Line Interface.

  • Run cordova platform update wp8 (or wp7, per the platforms you added to your project).

  • +

    For projects not created with the cordova CLI, run:

        bin\update <project_path>
     
    -

    -Upgrade to the CLI (3.0.0) from 2.9.0 -

    +

    Upgrade to the CLI (3.0.0) from 2.9.0

    1. Create a new Apache Cordova 3.0.0 project using the cordova CLI, as @@ -223,9 +222,8 @@ the CLI handles all core APIs as plugins added. Only 3.0.0 plugins are compatible with the CLI.

    2. Build and test.

    -

    -Upgrade to 3.0.0 (non-CLI) from 2.9.0 -

    + +

    Upgrade to 3.0.0 (non-CLI) from 2.9.0

    In Visual Studio's Solution Explorer window:

    @@ -236,14 +234,13 @@ added. Only 3.0.0 plugins are compatible
  • Copy over any plugins from the plugins directory to the new project and ensure that they are also added to the VS project.

  • Build and test.

  • +

    NOTE: all core APIs are removed from Cordova version 3.0, and must be installed separately as plugins. For more information on how to re-enable these features in a non-CLI workflow, see Using Plugman to Manage Plugins.

    -

    -Upgrade to 2.9.0 from 2.8.0 -

    +

    Upgrade to 2.9.0 from 2.8.0

    In Visual Studio's Solution Explorer window:

    @@ -255,9 +252,8 @@ Manage Plugins.

  • Copy over any plugins from the plugins directory to the new project and ensure that they are also added to the .csproj file.

  • Build and test.

  • -

    -Upgrade to 2.8.0 from 2.7.0 -

    + +

    Upgrade to 2.8.0 from 2.7.0

    In Visual Studio's Solution Explorer window:

    @@ -269,9 +265,8 @@ Manage Plugins.

  • Copy over any plugins from the plugins directory to the new project and ensure that they are also added to the VS project.

  • Build and test.

  • -

    -Upgrade to 2.7.0 from 2.6.0 -

    + +

    Upgrade to 2.7.0 from 2.6.0

    In Visual Studio's Solution Explorer window:

    @@ -283,9 +278,8 @@ Manage Plugins.

  • Copy over any plugins from the plugins directory to the new project and ensure that they are also added to the VS project.

  • Build and test.

  • -

    -Upgrade to 2.6.0 from 2.5.0 -

    + +

    Upgrade to 2.6.0 from 2.5.0

    In Visual Studio's Solution Explorer window:

    @@ -297,9 +291,8 @@ Manage Plugins.

  • Copy over any plugins from the plugins directory to the new project and ensure that they are also added to the VS project.

  • Build and test.

  • -

    -Upgrade to 2.5.0 from 2.4.0 -

    + +

    Upgrade to 2.5.0 from 2.4.0

    In Visual Studio's Solution Explorer window:

    @@ -311,9 +304,8 @@ Manage Plugins.

  • Copy over any plugins from the plugins directory to the new project and ensure that they are also added to the VS project.

  • Build and test.

  • -

    -Upgrade to 2.4.0 from 2.3.0 -

    + +

    Upgrade to 2.4.0 from 2.3.0

    In Visual Studio's Solution Explorer window:

    @@ -325,9 +317,8 @@ Manage Plugins.

  • Copy over any plugins from the plugins directory to the new project and ensure that they are also added to the VS project.

  • Build and test.

  • -

    -Upgrade to 2.3.0 from 2.2.0 -

    + +

    Upgrade to 2.3.0 from 2.2.0

    In Visual Studio's Solution Explorer window:

    @@ -339,9 +330,8 @@ Manage Plugins.

  • Copy over any plugins from the plugins directory to the new project and ensure that they are also added to the VS project.

  • Build and test.

  • -

    -Upgrade to 2.2.0 from 2.1.0 -

    + +

    Upgrade to 2.2.0 from 2.1.0

    In Visual Studio's Solution Explorer window:

    @@ -353,9 +343,8 @@ Manage Plugins.

  • Copy over any plugins from the plugins directory to the new project and ensure that they are also added to the VS project.

  • Build and test.

  • -

    -Upgrade to 2.1.0 from 2.0.0 -

    + +

    Upgrade to 2.1.0 from 2.0.0

    In Visual Studio's Solution Explorer window:

    @@ -367,9 +356,8 @@ Manage Plugins.

  • Copy over any plugins from the plugins directory to the new project and ensure that they are also added to the VS project.

  • Build and test.

  • -

    -Upgrade to 2.0.0 from 1.9.0 -

    + +

    Upgrade to 2.0.0 from 1.9.0

    There have been considerable changes to the WP7 project structure in Apache Cordova 2.0.0 which make this upgrade a little more involved that the others. Essentially this is not an upgrade but creation of a new project and copy over of existing source files.

    @@ -383,9 +371,8 @@ Manage Plugins.

  • Copy over any plugins from the plugins directory to the new project and ensure that they are also added to the VS project.

  • Build and test.

  • -

    -Upgrade to 1.9.0 from 1.8.0 -

    + +

    Upgrade to 1.9.0 from 1.8.0

    In Visual Studio's Solution Explorer window:

    @@ -401,9 +388,8 @@ Manage Plugins.

  • Copy the new cordova-1.9.0.js into your project. (Be sure it is marked as Content.)

  • Update your HTML to use the new cordova-1.9.0.js file.

  • -

    -Upgrade to 1.8.0 from 1.7.0 -

    + +

    Upgrade to 1.8.0 from 1.7.0

    In Visual Studio's Solution Explorer window:

    @@ -419,9 +405,8 @@ Manage Plugins.

  • Copy the new cordova-1.8.0.js into your project. (Be sure it is marked as Content.)

  • Update your HTML to use the new cordova-1.8.0.js file.

  • -

    -Upgrade to 1.7.0 from 1.6.0 -

    + +

    Upgrade to 1.7.0 from 1.6.0

    In Visual Studio's Solution Explorer window:

    @@ -437,9 +422,8 @@ Manage Plugins.

  • Copy the new cordova-1.7.0.js into your project. (Be sure it is marked as Content.)

  • Update your HTML to use the new cordova-1.7.0.js file.

  • -

    -Upgrade to 1.6.1 from 1.6.0 -

    + +

    Upgrade to 1.6.1 from 1.6.0

    In Visual Studio's Solution Explorer window:

    @@ -455,9 +439,8 @@ Manage Plugins.

  • Copy the new cordova-1.6.1.js into your project. (Be sure it is marked as Content.)

  • Update your HTML to use the new cordova-1.6.1.js file.

  • -

    -Upgrade to 1.6.0 from 1.5.0 -

    + +

    Upgrade to 1.6.0 from 1.5.0

    In Visual Studio's Solution Explorer window:

    @@ -473,9 +456,8 @@ Manage Plugins.

  • Copy the new cordova-1.6.0.js into your project. (Be sure it is marked as Content.)

  • Update your HTML to use the new cordova-1.6.0.js file.

  • -

    -Upgrade to 1.5.0 from 1.4.0 -

    + +

    Upgrade to 1.5.0 from 1.4.0

    In Visual Studio's Solution Explorer window:

    @@ -491,9 +473,8 @@ Manage Plugins.

  • Copy the new cordova-1.5.0.js into your project. (Be sure it is marked as Content.)

  • Update your HTML to use the new cordova-1.5.0.js file.

  • -

    -Upgrade to 1.4.0 from 1.3.0 -

    + +

    Upgrade to 1.4.0 from 1.3.0

    In Visual Studio's Solution Explorer window:

    @@ -509,9 +490,8 @@ Manage Plugins.

  • Copy the new cordova-1.4.0.js into your project. (Be sure it is marked as Content.)

  • Update your HTML to use the new cordova-1.4.0.js file.

  • -

    -Upgrade to 1.3.0 from 1.2.0 -

    + +

    Upgrade to 1.3.0 from 1.2.0

    In Visual Studio's Solution Explorer window:

    @@ -527,9 +507,8 @@ Manage Plugins.

  • Copy the new cordova-1.3.0.js into your project. (Be sure it is marked as Content.)

  • Update your HTML to use the new cordova-1.3.0.js file.

  • -

    -Upgrade to 1.2.0 from 1.1.0 -

    + +

    Upgrade to 1.2.0 from 1.1.0

    In Visual Studio's Solution Explorer window:

    @@ -545,9 +524,8 @@ Manage Plugins.

  • Copy the new cordova-1.2.0.js into your project. (Be sure it is marked as Content.)

  • Update your HTML to use the new cordova-1.2.0.js file.

  • -

    -Upgrade to 1.1.0 from 1.0.0 -

    + +

    Upgrade to 1.1.0 from 1.0.0

    In Visual Studio's Solution Explorer window:

    @@ -563,10 +541,12 @@ Manage Plugins.

  • Copy the new cordova-1.1.0.js into your project. (Be sure it is marked as Content.)

  • Update your HTML to use the new cordova-1.1.0.js file.

  • -
    + + - - + + + Modified: cordova/site/public/docs/en/3.3.0/guide_support_index.md.html URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/3.3.0/guide_support_index.md.html?rev=1551686&r1=1551685&r2=1551686&view=diff ============================================================================== --- cordova/site/public/docs/en/3.3.0/guide_support_index.md.html (original) +++ cordova/site/public/docs/en/3.3.0/guide_support_index.md.html Tue Dec 17 20:31:35 2013 @@ -17,16 +17,18 @@ specific language governing permissions and limitations under the License. --> - - - - -Apache Cordova API Documentation - - - - - + + + + + + Apache Cordova API Documentation + + + + + +

    Platform Support

    @@ -148,13 +151,16 @@ CLI's shorthand stubs.)

    - - + + + - + + + + - - + + + - - + + + + - - + + + + - - + + + - - + + + + - - + + + + - - + + + + - - + + + + - - + + + + - - + + + + - - + + + + - - + + + + - - + + + + - - + + + + - - + + + + - - + + + + - - + + + + - - + + + + - - + + + + - - + + + + +
    + +
    amazon-fireos android blackberry10 iosUbuntu wp7 (Windows
    Phone 7)
    @@ -163,247 +169,292 @@ CLI's shorthand stubs.)

    win8
    (Windows 8)
    tizen
    cordova
    CLI
    cordova
    CLI
    Mac, Windows, Linux Mac, Windows, Linux Mac, Windows MacUbuntu Windows Windows
    Embedded
    WebView
    Embedded
    WebView
    (see details) (see details) (see details)
    Plug-in
    Interface
    Plug-in
    Interface
    (see details) (see details) (see details) (see details) (see details) (see details)
    Platform APIs
    Accelerometer
    Accelerometer
    Camera
    Camera
    Capture
    Capture
    Compass
    Compass (3GS+)
    Connection
    Connection
    Contacts
    Contacts
    Device
    Device
    Events
    Events
    File
    File
    Geolocation
    Geolocation
    Globalization
    Globalization
    InAppBrowser
    InAppBrowser uses iframe
    Media
    Media
    Notification
    Notification
    Splashscreen
    Splashscreen
    Storage
    Storage localStorage & indexedDB localStorage & indexedDB localStorage & indexedDB
    + -
    + + - - + + + Modified: cordova/site/public/docs/en/3.3.0/index.html URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/3.3.0/index.html?rev=1551686&r1=1551685&r2=1551686&view=diff ============================================================================== --- cordova/site/public/docs/en/3.3.0/index.html (original) +++ cordova/site/public/docs/en/3.3.0/index.html Tue Dec 17 20:31:35 2013 @@ -17,16 +17,18 @@ specific language governing permissions and limitations under the License. --> - - - - -Apache Cordova API Documentation - - - - - + + + + + + Apache Cordova API Documentation + + + + + +

    Home

    @@ -143,7 +146,7 @@

    Guides

      -
    • +
    • Overview

      Start here if you are new to Cordova.
    • @@ -192,9 +195,10 @@ Full index of the documentation.
    -

    API Reference

    + +

    API Reference

      -
    • +
    • Accelerometer

      Tap into the device's motion sensor.
    • @@ -259,12 +263,14 @@ Hook into the devices native storage options.
    +
    - - + + + Modified: cordova/site/public/docs/en/3.3.0/plugin_ref_plugman.md.html URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/3.3.0/plugin_ref_plugman.md.html?rev=1551686&r1=1551685&r2=1551686&view=diff ============================================================================== --- cordova/site/public/docs/en/3.3.0/plugin_ref_plugman.md.html (original) +++ cordova/site/public/docs/en/3.3.0/plugin_ref_plugman.md.html Tue Dec 17 20:31:35 2013 @@ -17,16 +17,18 @@ specific language governing permissions and limitations under the License. --> - - - - -Apache Cordova API Documentation - - - - - + + + + + + Apache Cordova API Documentation + + + + + +

    Using Plugman to Manage Plugins

    @@ -162,9 +165,7 @@ you are working closely with a single pl

    For more information on Plugman, especially if you are interested in consuming Plugman as a node module or hacking on the Plugman code, see the README file in its repository.

    -

    -Installing Plugman -

    +

    Installing Plugman

    To install plugman, you must have node installed on your machine. Then you can run the following command from anywhere in your environment to install plugman globally, so that it @@ -183,17 +184,13 @@ when you create a Cordova project with t Since you did not instally globally, you will have to invoke node for every Plugman command, for example node ./node_modules/plugman/main.js -version. The rest of this guide assumes you have installed Plugman globally, meaning you can invoke it with just plugman.

    -

    -Create a Cordova Project -

    +

    Create a Cordova Project

    Before you can use Plugman, you must create a Cordova project. You can do this with either the Command-line Interface or with the lower level shell scripts. Instructions for using the shell scripts to create your project are located in the various "Command-line Tools" guides listed on the Platform Guides page.

    -

    -Adding a Plugin -

    +

    Adding a Plugin

    Once you have installed Plugman and have created a Cordova project, you can start adding plugins to the platform with:

    @@ -210,6 +207,7 @@ listed on the --variable allows to specify certain variables at install time, necessary for certain plugins requiring API keys or other custom, user-defined parameters. Please see the plugin specification for more information. -

    -Remove a Plugin -

    + +

    Remove a Plugin

    To uninstall a plugin, you simply pass the --uninstall flag and provide the plugin ID.

    $ plugman --uninstall --platform <ios|amazon-fireos|android|blackberry10|wp7|wp8> --project <directory> --plugin <id> [--www <directory>] [--plugins_dir <directory>]
     
    -

    -Help Commands -

    +

    Help Commands

    Plugman features a global help command which may help you if you get stuck or are experiencing problems. It will display a list of all available Plugman commands and their syntax:

    @@ -254,9 +249,7 @@ plugman -d --platform android --project
    plugman -v
     
    -

    -Registry Actions -

    +

    Registry Actions

    There are a number of plugman commands that can be used for interacting with the Plugin registry. Please note that these registry commands are specific to the plugins.cordova.io plugin registry and may not be implemented by @@ -286,9 +279,7 @@ plugman config get registry

    This will contact the plugin registry and fetch information such as the plugin's version number.

    -

    -Installing Core Plugins -

    +

    Installing Core Plugins

    The examples below show how to add plugins as needed so that any Cordova APIs you use in your project still work after you upgrade to @@ -336,10 +327,12 @@ plugman --platform --project

    cordova-plugin-vibration plugman --platform --project --plugin org.apache.cordova.vibration

    -
    + + - - + + +