You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ma...@apache.org on 2013/10/01 05:56:01 UTC

svn commit: r1527865 [22/25] - in /cordova/site/public/docs/en/3.1.0: ./ img/ img/guide/ img/guide/cli/ img/guide/platforms/ img/guide/platforms/android/ img/guide/platforms/bada/ img/guide/platforms/blackberry10/ img/guide/platforms/ios/ img/guide/pla...

Added: cordova/site/public/docs/en/3.1.0/guide_platforms_tizen_index.md.html
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/3.1.0/guide_platforms_tizen_index.md.html?rev=1527865&view=auto
==============================================================================
--- cordova/site/public/docs/en/3.1.0/guide_platforms_tizen_index.md.html (added)
+++ cordova/site/public/docs/en/3.1.0/guide_platforms_tizen_index.md.html Tue Oct  1 03:55:57 2013
@@ -0,0 +1,241 @@
+<!DOCTYPE html>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+--><html lang="en">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, width=device-width">
+<meta name="generator" content="joDoc">
+<title>Apache Cordova API Documentation</title>
+<link rel="stylesheet" type="text/css" href="index.css">
+<link rel="stylesheet" type="text/css" href="mobile.css" media="only screen and (max-device-width: 1024px)">
+<link rel="stylesheet" type="text/css" href="prettify/prettify.css">
+</head>
+<body>
+        <div id="header">
+            <h1><a href="index.html">Apache <strong>Cordova</strong> Documentation</a></h1>
+            <small>
+                <select><optgroup label="Chinese" value="zh"><option value="edge">edge</option></optgroup>
+<optgroup label="English" value="en">
+<option value="edge">edge</option>
+<option selected value="3.1.0">3.1.0</option>
+<option value="3.0.0">3.0.0</option>
+<option value="2.9.0">2.9.0</option>
+<option value="2.8.0">2.8.0</option>
+<option value="2.7.0">2.7.0</option>
+<option value="2.6.0">2.6.0</option>
+<option value="2.5.0">2.5.0</option>
+<option value="2.4.0">2.4.0</option>
+<option value="2.3.0">2.3.0</option>
+<option value="2.2.0">2.2.0</option>
+<option value="2.1.0">2.1.0</option>
+<option value="2.0.0">2.0.0</option>
+<option value="1.9.0">1.9.0</option>
+<option value="1.8.1">1.8.1</option>
+<option value="1.8.0">1.8.0</option>
+<option value="1.7.0">1.7.0</option>
+<option value="1.6.1">1.6.1</option>
+<option value="1.6.0">1.6.0</option>
+<option value="1.5.0">1.5.0</option>
+</optgroup>
+<optgroup label="French" value="fr"><option value="edge">edge</option></optgroup>
+<optgroup label="German" value="de"><option value="edge">edge</option></optgroup>
+<optgroup label="Italian" value="it"><option value="edge">edge</option></optgroup>
+<optgroup label="Japanese" value="ja">
+<option value="edge">edge</option>
+<option value="2.2.0">2.2.0</option>
+<option value="2.1.0">2.1.0</option>
+<option value="2.0.0">2.0.0</option>
+<option value="1.9.0">1.9.0</option>
+<option value="1.8.1">1.8.1</option>
+<option value="1.7.0">1.7.0</option>
+</optgroup>
+<optgroup label="Korean" value="ko">
+<option value="edge">edge</option>
+<option value="2.0.0">2.0.0</option>
+</optgroup>
+<optgroup label="Russian" value="ru"><option value="edge">edge</option></optgroup>
+<optgroup label="Spanish" value="es"><option value="edge">edge</option></optgroup></select></small>
+        </div>
+        <div id="subheader">
+            <h1>Tizen Platform Guide</h1>
+            <small><select><option value="Tizen%2520Platform%2520Guide">Tizen Platform Guide</option>
+<option value="Tizen%20Platform%20Guide_requirements_and_support">      - Requirements and Support</option>
+<option value="Tizen%20Platform%20Guide_install_the_sdk">      - Install the SDK</option>
+<option value="Tizen%20Platform%20Guide_open_a_project_in_the_sdk">      - Open a Project in the SDK</option>
+<option value="Tizen%20Platform%20Guide_deploy_to_emulator">      - Deploy to Emulator</option>
+<option value="Tizen%20Platform%20Guide_deploy_to_device">      - Deploy to Device
+</option></select></small>
+        </div>
+
+        <div id="sidebar">
+            <div class="vertical_divider"></div>
+        <h1>Guides</h1>
+<ul>
+<li><a href="guide_overview_index.md.html#Overview">Overview</a></li>
+<li><a href="guide_cli_index.md.html#The%20Command-line%20Interface">The Command-line Interface</a></li>
+<li><a href="guide_platforms_index.md.html#Platform%20Guides">Platform Guides</a></li>
+<li><a href="config_ref_index.md.html#The%20config.xml%20File">The config.xml File</a></li>
+<li><a href="guide_hybrid_webviews_index.md.html#Embedding%20WebViews">Embedding WebViews</a></li>
+<li><a href="guide_hybrid_plugins_index.md.html#Plugin%20Development%20Guide">Plugin Development Guide</a></li>
+<li><a href="guide_appdev_privacy_index.md.html#Privacy%20Guide">Privacy Guide</a></li>
+<li><a href="guide_appdev_whitelist_index.md.html#Domain%20Whitelist%20Guide">Domain Whitelist Guide</a></li>
+<li><a href="_index.html">Keyword Index</a></li>
+</ul>
+<h1>API Reference</h1>
+<ul>
+<li><a href="cordova_accelerometer_accelerometer.md.html#Accelerometer">Accelerometer</a></li>
+<li><a href="cordova_camera_camera.md.html#Camera">Camera</a></li>
+<li><a href="cordova_media_capture_capture.md.html#Capture">Capture</a></li>
+<li><a href="cordova_compass_compass.md.html#Compass">Compass</a></li>
+<li><a href="cordova_connection_connection.md.html#Connection">Connection</a></li>
+<li><a href="cordova_contacts_contacts.md.html#Contacts">Contacts</a></li>
+<li><a href="cordova_device_device.md.html#Device">Device</a></li>
+<li><a href="cordova_events_events.md.html#Events">Events</a></li>
+<li><a href="cordova_file_file.md.html#File">File</a></li>
+<li><a href="cordova_geolocation_geolocation.md.html#Geolocation">Geolocation</a></li>
+<li><a href="cordova_globalization_globalization.md.html#Globalization">Globalization</a></li>
+<li><a href="cordova_inappbrowser_inappbrowser.md.html#InAppBrowser">InAppBrowser</a></li>
+<li><a href="cordova_media_media.md.html#Media">Media</a></li>
+<li><a href="cordova_notification_notification.md.html#Notification">Notification</a></li>
+<li><a href="cordova_splashscreen_splashscreen.md.html#Splashscreen">Splashscreen</a></li>
+<li><a href="cordova_storage_storage.md.html#Storage">Storage</a></li>
+</ul>
+</div>
+
+        <div id="scrollable">
+            <div id="content">
+                <h1><a name="Tizen%20Platform%20Guide">Tizen Platform Guide</a></h1>
+
+<p>This guide describes how to set up your SDK development environment to
+deploy Cordova apps for devices running the Tizen operating system.</p>
+
+<h2>
+<a name="Tizen%20Platform%20Guide_requirements_and_support">Requirements and Support</a>
+</h2>
+
+<p>The Tizen SDK requires Linux Ubuntu 10.04/10.10/11.04/11.10 (32-bit),
+or Windows XP SP3/7 (32-bit).</p>
+
+<p>Developers should use the <code>cordova</code> utility in conjunction with
+the Tizen SDK.  See <a href="guide_cli_index.md.html#The%20Command-line%20Interface">The Command-line Interface</a> for information
+how to install it, add projects, then build and deploy a project.</p>
+
+<h2>
+<a name="Tizen%20Platform%20Guide_install_the_sdk">Install the SDK</a>
+</h2>
+
+<p>Download the Tizen SDK from
+<a class="external" href="https://developer.tizen.org/sdk">tizen.org</a>.</p>
+
+<!--
+
+- (optional) Install Tizen Cordova template projects: copy the
+  `/templates` directory content into the Tizen Eclipse IDE web
+  templates directory (e.g:
+  `/home/my_username/tizen-sdk/IDE/Templates/web`).
+
+- __Method #2: Use Tizen Eclipse IDE Cordova Tizen project templates__
+    - Launch Tizen Eclipse IDE
+    - Select  __File &rarr; New &rarr; Tizen Web Project__
+    - Select __User Template__ and __User defined__ items
+    - Select one of the Tizen Cordova template (e.g: __CordovaBasicTemplate__)
+    - Fill the __Project name__ and its target __Location__
+
+    ![](img/guide/platforms/tizen/project_template.png)
+
+    - Click __Finish__
+
+    ![](img/guide/platforms/tizen/project_explorer.png)
+
+    - Your project should now appear in the __Project Explorer__ view
+
+-->
+
+<h2>
+<a name="Tizen%20Platform%20Guide_open_a_project_in_the_sdk">Open a Project in the SDK</a>
+</h2>
+
+<ol>
+<li><p>Launch the Tizen Eclipse IDE.</p></li>
+<li>
+<p>Select <strong><a href="cordova_file_file.md.html#File">File</a> → Import → Tizen Web Project</strong>:</p>
+
+<p><img src="img/guide/platforms/tizen/import_project.png" alt="" title=""></p>
+</li>
+<li><p>Press <strong>Next</strong>.</p></li>
+<li><p>Make sure <strong>Select root directory</strong> is checked.</p></li>
+<li><p>Make sure <strong>Copy projects into workspace</strong> is checked.</p></li>
+<li>
+<p>Press <strong>Browse</strong> and select the Cordova Tizen <code>samples</code> project directory (such as <code>/cordova-basic</code>):</p>
+
+<p><img src="img/guide/platforms/tizen/import_widget.png" alt="" title=""></p>
+</li>
+<li>
+<p>Press <strong>Finish</strong>. Your project should now be imported and appear in
+the <strong>Project Explorer</strong> view:</p>
+
+<p><img src="img/guide/platforms/tizen/project_explorer.png" alt="" title=""></p>
+</li>
+</ol>
+<p>To rebuild the project, right-click in the <strong>Project Explorer</strong> view
+and Select <strong>Build Project</strong>:</p>
+
+<p><img src="img/guide/platforms/tizen/build_project.png" alt="" title=""></p>
+
+<p>A widget package file such as <em>hello.wgt</em> should generate in the
+project's root directory.</p>
+
+<h2>
+<a name="Tizen%20Platform%20Guide_deploy_to_emulator">Deploy to Emulator</a>
+</h2>
+
+<p>Right-click the project in the <strong>Project Explorer</strong> view and select
+<strong>Run As → Tizen Web Simulator Application</strong>:</p>
+
+<p><img src="img/guide/platforms/tizen/runas_web_sim_app.png" alt="" title=""></p>
+
+<h2>
+<a name="Tizen%20Platform%20Guide_deploy_to_device">Deploy to Device
+</a>
+</h2>
+
+<ul>
+<li><p>Make sure that the target device is properly launched, connected and
+configured. Its <strong>Date and Time</strong> settings must be set correctly.</p></li>
+<li>
+<p>Use the <strong><a href="cordova_connection_connection.md.html#Connection">Connection</a> Explorer</strong> view to select the application
+deployment target: <strong>Window → Show View → <a href="cordova_connection_connection.md.html#Connection">Connection</a>
+Explorer</strong>.</p>
+
+<p><img src="img/guide/platforms/tizen/connection_explorer.png" alt="" title=""></p>
+</li>
+<li>
+<p>Right-click the project in the <strong>Project Explorer</strong> view, then
+select <strong>Run As &amp; rarr; Tizen Web Application</strong>:</p>
+
+<p><img src="img/guide/platforms/tizen/runas_web_app.png" alt="" title=""></p>
+</li>
+</ul>
+</div>
+        </div>
+
+        <!-- Functionality and Syntax Highlighting -->
+        <script type="text/javascript" src="index.js"></script><script type="text/javascript" src="prettify/prettify.js"></script>
+</body>
+</html>

Added: cordova/site/public/docs/en/3.1.0/guide_platforms_win8_index.md.html
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/3.1.0/guide_platforms_win8_index.md.html?rev=1527865&view=auto
==============================================================================
--- cordova/site/public/docs/en/3.1.0/guide_platforms_win8_index.md.html (added)
+++ cordova/site/public/docs/en/3.1.0/guide_platforms_win8_index.md.html Tue Oct  1 03:55:57 2013
@@ -0,0 +1,242 @@
+<!DOCTYPE html>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+--><html lang="en">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, width=device-width">
+<meta name="generator" content="joDoc">
+<title>Apache Cordova API Documentation</title>
+<link rel="stylesheet" type="text/css" href="index.css">
+<link rel="stylesheet" type="text/css" href="mobile.css" media="only screen and (max-device-width: 1024px)">
+<link rel="stylesheet" type="text/css" href="prettify/prettify.css">
+</head>
+<body>
+        <div id="header">
+            <h1><a href="index.html">Apache <strong>Cordova</strong> Documentation</a></h1>
+            <small>
+                <select><optgroup label="Chinese" value="zh"><option value="edge">edge</option></optgroup>
+<optgroup label="English" value="en">
+<option value="edge">edge</option>
+<option selected value="3.1.0">3.1.0</option>
+<option value="3.0.0">3.0.0</option>
+<option value="2.9.0">2.9.0</option>
+<option value="2.8.0">2.8.0</option>
+<option value="2.7.0">2.7.0</option>
+<option value="2.6.0">2.6.0</option>
+<option value="2.5.0">2.5.0</option>
+<option value="2.4.0">2.4.0</option>
+<option value="2.3.0">2.3.0</option>
+<option value="2.2.0">2.2.0</option>
+<option value="2.1.0">2.1.0</option>
+<option value="2.0.0">2.0.0</option>
+<option value="1.9.0">1.9.0</option>
+<option value="1.8.1">1.8.1</option>
+<option value="1.8.0">1.8.0</option>
+<option value="1.7.0">1.7.0</option>
+<option value="1.6.1">1.6.1</option>
+<option value="1.6.0">1.6.0</option>
+<option value="1.5.0">1.5.0</option>
+</optgroup>
+<optgroup label="French" value="fr"><option value="edge">edge</option></optgroup>
+<optgroup label="German" value="de"><option value="edge">edge</option></optgroup>
+<optgroup label="Italian" value="it"><option value="edge">edge</option></optgroup>
+<optgroup label="Japanese" value="ja">
+<option value="edge">edge</option>
+<option value="2.2.0">2.2.0</option>
+<option value="2.1.0">2.1.0</option>
+<option value="2.0.0">2.0.0</option>
+<option value="1.9.0">1.9.0</option>
+<option value="1.8.1">1.8.1</option>
+<option value="1.7.0">1.7.0</option>
+</optgroup>
+<optgroup label="Korean" value="ko">
+<option value="edge">edge</option>
+<option value="2.0.0">2.0.0</option>
+</optgroup>
+<optgroup label="Russian" value="ru"><option value="edge">edge</option></optgroup>
+<optgroup label="Spanish" value="es"><option value="edge">edge</option></optgroup></select></small>
+        </div>
+        <div id="subheader">
+            <h1>Windows 8 Platform Guide</h1>
+            <small><select><option value="Windows%25208%2520Platform%2520Guide">Windows 8 Platform Guide</option>
+<option value="Windows%208%20Platform%20Guide_1_requirements">      - 1. Requirements</option>
+<option value="Windows%208%20Platform%20Guide_2_install_sdk_cordova">      - 2. Install SDK + Cordova</option>
+<option value="Windows%208%20Platform%20Guide_3_set_up_new_project">      - 3. Set up New Project</option>
+<option value="Windows%208%20Platform%20Guide_5_test_the_project">      - 5. Test the Project</option>
+<option value="Windows%208%20Platform%20Guide_done">      - Done!</option></select></small>
+        </div>
+
+        <div id="sidebar">
+            <div class="vertical_divider"></div>
+        <h1>Guides</h1>
+<ul>
+<li><a href="guide_overview_index.md.html#Overview">Overview</a></li>
+<li><a href="guide_cli_index.md.html#The%20Command-line%20Interface">The Command-line Interface</a></li>
+<li><a href="guide_platforms_index.md.html#Platform%20Guides">Platform Guides</a></li>
+<li><a href="config_ref_index.md.html#The%20config.xml%20File">The config.xml File</a></li>
+<li><a href="guide_hybrid_webviews_index.md.html#Embedding%20WebViews">Embedding WebViews</a></li>
+<li><a href="guide_hybrid_plugins_index.md.html#Plugin%20Development%20Guide">Plugin Development Guide</a></li>
+<li><a href="guide_appdev_privacy_index.md.html#Privacy%20Guide">Privacy Guide</a></li>
+<li><a href="guide_appdev_whitelist_index.md.html#Domain%20Whitelist%20Guide">Domain Whitelist Guide</a></li>
+<li><a href="_index.html">Keyword Index</a></li>
+</ul>
+<h1>API Reference</h1>
+<ul>
+<li><a href="cordova_accelerometer_accelerometer.md.html#Accelerometer">Accelerometer</a></li>
+<li><a href="cordova_camera_camera.md.html#Camera">Camera</a></li>
+<li><a href="cordova_media_capture_capture.md.html#Capture">Capture</a></li>
+<li><a href="cordova_compass_compass.md.html#Compass">Compass</a></li>
+<li><a href="cordova_connection_connection.md.html#Connection">Connection</a></li>
+<li><a href="cordova_contacts_contacts.md.html#Contacts">Contacts</a></li>
+<li><a href="cordova_device_device.md.html#Device">Device</a></li>
+<li><a href="cordova_events_events.md.html#Events">Events</a></li>
+<li><a href="cordova_file_file.md.html#File">File</a></li>
+<li><a href="cordova_geolocation_geolocation.md.html#Geolocation">Geolocation</a></li>
+<li><a href="cordova_globalization_globalization.md.html#Globalization">Globalization</a></li>
+<li><a href="cordova_inappbrowser_inappbrowser.md.html#InAppBrowser">InAppBrowser</a></li>
+<li><a href="cordova_media_media.md.html#Media">Media</a></li>
+<li><a href="cordova_notification_notification.md.html#Notification">Notification</a></li>
+<li><a href="cordova_splashscreen_splashscreen.md.html#Splashscreen">Splashscreen</a></li>
+<li><a href="cordova_storage_storage.md.html#Storage">Storage</a></li>
+</ul>
+</div>
+
+        <div id="scrollable">
+            <div id="content">
+                <h1><a name="Windows%208%20Platform%20Guide">Windows 8 Platform Guide</a></h1>
+
+<p>This guide shows how to set up your SDK development environment to
+deploy Cordova apps for Windows 8. See the following for more
+detailed platform-specific information:</p>
+
+<ul>
+<li><a href="guide_platforms_win8_upgrading.md.html#Upgrading%20Windows%208">Upgrading Windows 8</a></li>
+<li><a href="guide_platforms_win8_tools.md.html#Windows%208%20Command-line%20Tools">Windows 8 Command-line Tools</a></li>
+</ul>
+<p>The command-line tools above refer to versions prior to Cordova 3.0.
+See <a href="guide_cli_index.md.html#The%20Command-line%20Interface">The Command-line Interface</a> for information about the
+current interface.</p>
+
+<p>Microsoft deprecated the name <em>Metro-style apps</em> in Windows 8 and
+Windows RT. MSDN now refers to this type of app as a <em>Windows Store</em>
+app, and this guide follows that convention. Also, in this guide
+<em>Windows 8</em> signifies both Windows 8 and Windows RT.</p>
+
+<h2>
+<a name="Windows%208%20Platform%20Guide_1_requirements">1. Requirements</a>
+</h2>
+
+<ul>
+<li><p>Windows 8</p></li>
+<li><p>Visual Studio 2012 Professional or better, or Visual Studio 2012 Express for Windows 8</p></li>
+</ul>
+<p>Follow the instructions <a class="external" href="http://www.windowsstore.com/">here</a> to submit your apps Windows Store.</p>
+
+<h2>
+<a name="Windows%208%20Platform%20Guide_2_install_sdk_cordova">2. Install SDK + Cordova</a>
+</h2>
+
+<ul>
+<li><p>Set up your preferred variant of Visual Studio 2012. All of the product's paid versions (Professional, etc.) let you build Windows Store apps. You need <strong>Express for Windows 8</strong> to build Windows Store apps using the <a class="external" href="http://www.microsoft.com/visualstudio/eng/products/visual-studio-express-products">Express editions</a>.</p></li>
+<li><p>Download and extract the latest copy of <a class="external" href="http://phonegap.com/download">Cordova</a>. You will be working in the <code>lib\windows-8</code> subdirectory.</p></li>
+</ul>
+<h2>
+<a name="Windows%208%20Platform%20Guide_3_set_up_new_project">3. Set up New Project</a>
+</h2>
+
+<p>You can already build Windows 8 apps using the <em>HTML/JavaScript track</em>
+available in Windows Store apps. Use Cordova in Windows Store apps to
+expose the same APIs as on other Cordova-supported platforms.</p>
+
+<ul>
+<li><p>Open Visual Studio 2012 and choose <strong>New Project</strong>.</p></li>
+<li>
+<p>Select <strong>Installed → Template → Other Languages → JavaScript → Windows Store</strong> from the tree, and then <strong>Blank App</strong> from the projects list. Enter whatever project name you like, such as <code>CordovaWin8Foo</code> as in this example.</p>
+
+<p><img src="img/guide/platforms/win8/wsnewproject.png" alt="" title=""></p>
+</li>
+<li>
+<p>Microsoft continues to use <code>default.html</code> as the default home page, but most web developers use <code>index.html</code>. (Plus it's likely that in the other platform variants of your project you are using <code>index.html</code> as the name of your default page.) To fix this, in Solution Explorer rename the <code>default.html</code> file to <code>index.html</code>. Then double-click the <code>package.appxmanifest</code> file and change the <strong>Start page</strong> value to <code>index.html</code>.</p>
+
+<p><img src="img/guide/platforms/win8/wschangemanifest.png" alt="" title=""></p>
+</li>
+<li><p>To include <code>cordova.js</code> in your project, right-click on the <code>js</code> directory in Solution Explorer and select <strong>Add → New Item</strong>. Locate the <code>cordova.js</code> file in the <code>lib\windows-8</code> directory noted above.</p></li>
+<li><p>Edit the code for <code>index.html</code>. Add a reference to <code>cordova.js</code>. You can do this manually, or by dragging the file from Solution Explorer.</p></li>
+</ul>
+<h3>Adding the reference...</h3>
+
+<pre class="prettyprint"><code>    &lt;!-- WinJS references --&gt;
+    &lt;link href="//Microsoft.WinJS.1.0/css/ui-dark.css" rel="stylesheet" /&gt;
+    &lt;script src="//Microsoft.WinJS.1.0/js/base.js"&gt;&lt;/script&gt;
+    &lt;script src="//Microsoft.WinJS.1.0/js/ui.js"&gt;&lt;/script&gt;
+
+    &lt;!-- Cordova --&gt;
+    &lt;script src="/js/cordova.js"&gt;&lt;/script&gt;
+
+    &lt;!-- CordovaWin8Foo references --&gt;
+    &lt;link href="/css/default.css" rel="stylesheet" /&gt;
+    &lt;script src="/js/default.js"&gt;&lt;/script&gt;
+</code></pre>
+
+<ul>
+<li>Next, add some code that demonstrates Cordova is working.</li>
+</ul>
+<h3>Adding a '<a href="cordova_events_events.md.html#deviceready">deviceready</a>' handler...</h3>
+
+<pre class="prettyprint"><code>&lt;body&gt;
+    &lt;p&gt;Content goes here&lt;/p&gt;
+
+    &lt;script type="text/javascript"&gt;
+
+        console.log("Subscribing...");
+        document.<a href="cordova_inappbrowser_inappbrowser.md.html#addEventListener">addEventListener</a>("<a href="cordova_events_events.md.html#deviceready">deviceready</a>", function () {
+
+            navigator.<a href="cordova_notification_notification.md.html#notification.alert">notification.alert</a>("The device is ready!");
+
+        });
+
+    &lt;/script&gt;
+
+&lt;/body&gt;
+</code></pre>
+
+<h2>
+<a name="Windows%208%20Platform%20Guide_5_test_the_project">5. Test the Project</a>
+</h2>
+
+<ul>
+<li>
+<p>Run the project from Visual Studio. You'll see the message box appear:</p>
+
+<p><img src="img/guide/platforms/win8/wsalert.png" alt="" title=""></p>
+</li>
+</ul>
+<h2>
+<a name="Windows%208%20Platform%20Guide_done">Done!</a>
+</h2>
+
+<p>That's it! You're now ready to build Windows Store apps with Cordova.</p>
+
+            </div>
+        </div>
+
+        <!-- Functionality and Syntax Highlighting -->
+        <script type="text/javascript" src="index.js"></script><script type="text/javascript" src="prettify/prettify.js"></script>
+</body>
+</html>

Added: cordova/site/public/docs/en/3.1.0/guide_platforms_win8_tools.md.html
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/3.1.0/guide_platforms_win8_tools.md.html?rev=1527865&view=auto
==============================================================================
--- cordova/site/public/docs/en/3.1.0/guide_platforms_win8_tools.md.html (added)
+++ cordova/site/public/docs/en/3.1.0/guide_platforms_win8_tools.md.html Tue Oct  1 03:55:57 2013
@@ -0,0 +1,156 @@
+<!DOCTYPE html>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+--><html lang="en">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, width=device-width">
+<meta name="generator" content="joDoc">
+<title>Apache Cordova API Documentation</title>
+<link rel="stylesheet" type="text/css" href="index.css">
+<link rel="stylesheet" type="text/css" href="mobile.css" media="only screen and (max-device-width: 1024px)">
+<link rel="stylesheet" type="text/css" href="prettify/prettify.css">
+</head>
+<body>
+        <div id="header">
+            <h1><a href="index.html">Apache <strong>Cordova</strong> Documentation</a></h1>
+            <small>
+                <select><optgroup label="Chinese" value="zh"><option value="edge">edge</option></optgroup>
+<optgroup label="English" value="en">
+<option value="edge">edge</option>
+<option selected value="3.1.0">3.1.0</option>
+<option value="3.0.0">3.0.0</option>
+<option value="2.9.0">2.9.0</option>
+<option value="2.8.0">2.8.0</option>
+<option value="2.7.0">2.7.0</option>
+<option value="2.6.0">2.6.0</option>
+<option value="2.5.0">2.5.0</option>
+<option value="2.4.0">2.4.0</option>
+<option value="2.3.0">2.3.0</option>
+<option value="2.2.0">2.2.0</option>
+<option value="2.1.0">2.1.0</option>
+<option value="2.0.0">2.0.0</option>
+<option value="1.9.0">1.9.0</option>
+<option value="1.8.1">1.8.1</option>
+<option value="1.8.0">1.8.0</option>
+<option value="1.7.0">1.7.0</option>
+<option value="1.6.1">1.6.1</option>
+<option value="1.6.0">1.6.0</option>
+<option value="1.5.0">1.5.0</option>
+</optgroup>
+<optgroup label="French" value="fr"><option value="edge">edge</option></optgroup>
+<optgroup label="German" value="de"><option value="edge">edge</option></optgroup>
+<optgroup label="Italian" value="it"><option value="edge">edge</option></optgroup>
+<optgroup label="Japanese" value="ja">
+<option value="edge">edge</option>
+<option value="2.2.0">2.2.0</option>
+<option value="2.1.0">2.1.0</option>
+<option value="2.0.0">2.0.0</option>
+<option value="1.9.0">1.9.0</option>
+<option value="1.8.1">1.8.1</option>
+<option value="1.7.0">1.7.0</option>
+</optgroup>
+<optgroup label="Korean" value="ko">
+<option value="edge">edge</option>
+<option value="2.0.0">2.0.0</option>
+</optgroup>
+<optgroup label="Russian" value="ru"><option value="edge">edge</option></optgroup>
+<optgroup label="Spanish" value="es"><option value="edge">edge</option></optgroup></select></small>
+        </div>
+        <div id="subheader">
+            <h1>Windows 8 Command-line Tools</h1>
+            <small><select><option value="Windows%25208%2520Command-line%2520Tools">Windows 8 Command-line Tools</option>
+<option value="Windows%208%20Command-line%20Tools_windows_8">      - Windows 8</option>
+<option value="Windows%208%20Command-line%20Tools_create_a_project">      - Create a project</option></select></small>
+        </div>
+
+        <div id="sidebar">
+            <div class="vertical_divider"></div>
+        <h1>Guides</h1>
+<ul>
+<li><a href="guide_overview_index.md.html#Overview">Overview</a></li>
+<li><a href="guide_cli_index.md.html#The%20Command-line%20Interface">The Command-line Interface</a></li>
+<li><a href="guide_platforms_index.md.html#Platform%20Guides">Platform Guides</a></li>
+<li><a href="config_ref_index.md.html#The%20config.xml%20File">The config.xml File</a></li>
+<li><a href="guide_hybrid_webviews_index.md.html#Embedding%20WebViews">Embedding WebViews</a></li>
+<li><a href="guide_hybrid_plugins_index.md.html#Plugin%20Development%20Guide">Plugin Development Guide</a></li>
+<li><a href="guide_appdev_privacy_index.md.html#Privacy%20Guide">Privacy Guide</a></li>
+<li><a href="guide_appdev_whitelist_index.md.html#Domain%20Whitelist%20Guide">Domain Whitelist Guide</a></li>
+<li><a href="_index.html">Keyword Index</a></li>
+</ul>
+<h1>API Reference</h1>
+<ul>
+<li><a href="cordova_accelerometer_accelerometer.md.html#Accelerometer">Accelerometer</a></li>
+<li><a href="cordova_camera_camera.md.html#Camera">Camera</a></li>
+<li><a href="cordova_media_capture_capture.md.html#Capture">Capture</a></li>
+<li><a href="cordova_compass_compass.md.html#Compass">Compass</a></li>
+<li><a href="cordova_connection_connection.md.html#Connection">Connection</a></li>
+<li><a href="cordova_contacts_contacts.md.html#Contacts">Contacts</a></li>
+<li><a href="cordova_device_device.md.html#Device">Device</a></li>
+<li><a href="cordova_events_events.md.html#Events">Events</a></li>
+<li><a href="cordova_file_file.md.html#File">File</a></li>
+<li><a href="cordova_geolocation_geolocation.md.html#Geolocation">Geolocation</a></li>
+<li><a href="cordova_globalization_globalization.md.html#Globalization">Globalization</a></li>
+<li><a href="cordova_inappbrowser_inappbrowser.md.html#InAppBrowser">InAppBrowser</a></li>
+<li><a href="cordova_media_media.md.html#Media">Media</a></li>
+<li><a href="cordova_notification_notification.md.html#Notification">Notification</a></li>
+<li><a href="cordova_splashscreen_splashscreen.md.html#Splashscreen">Splashscreen</a></li>
+<li><a href="cordova_storage_storage.md.html#Storage">Storage</a></li>
+</ul>
+</div>
+
+        <div id="scrollable">
+            <div id="content">
+                <h1><a name="Windows%208%20Command-line%20Tools">Windows 8 Command-line Tools</a></h1>
+
+<p>The <code>cordova</code> 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
+<a class="external" href="http://cordova.apache.org">cordova.apache.org</a>. The download contains
+separate archives for each platform. Expand the platform you wish to
+target. The tools described here are typically available in the
+top-level <code>bin</code> directory, otherwise consult the <strong>README</strong> file for
+more detailed directions.</p>
+
+<h2>
+<a name="Windows%208%20Command-line%20Tools_windows_8">Windows 8</a>
+</h2>
+
+<p>The Windows 8 command-line tools only support creating new projects.
+Commands must be run from a cmd or powershell prompt.</p>
+
+<h2>
+<a name="Windows%208%20Command-line%20Tools_create_a_project">Create a project</a>
+</h2>
+
+<p>Run the <code>create</code> command with the following parameters:</p>
+
+<ul>
+<li><p>Path to your new Cordova Windows 8 project</p></li>
+<li><p>Package Name, following reverse-domain style convention. This becomes the default Namespace.</p></li>
+<li><p>Project name</p></li>
+</ul>
+</div>
+        </div>
+
+        <!-- Functionality and Syntax Highlighting -->
+        <script type="text/javascript" src="index.js"></script><script type="text/javascript" src="prettify/prettify.js"></script>
+</body>
+</html>

Added: cordova/site/public/docs/en/3.1.0/guide_platforms_win8_upgrading.md.html
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/3.1.0/guide_platforms_win8_upgrading.md.html?rev=1527865&view=auto
==============================================================================
--- cordova/site/public/docs/en/3.1.0/guide_platforms_win8_upgrading.md.html (added)
+++ cordova/site/public/docs/en/3.1.0/guide_platforms_win8_upgrading.md.html Tue Oct  1 03:55:57 2013
@@ -0,0 +1,161 @@
+<!DOCTYPE html>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+--><html lang="en">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, width=device-width">
+<meta name="generator" content="joDoc">
+<title>Apache Cordova API Documentation</title>
+<link rel="stylesheet" type="text/css" href="index.css">
+<link rel="stylesheet" type="text/css" href="mobile.css" media="only screen and (max-device-width: 1024px)">
+<link rel="stylesheet" type="text/css" href="prettify/prettify.css">
+</head>
+<body>
+        <div id="header">
+            <h1><a href="index.html">Apache <strong>Cordova</strong> Documentation</a></h1>
+            <small>
+                <select><optgroup label="Chinese" value="zh"><option value="edge">edge</option></optgroup>
+<optgroup label="English" value="en">
+<option value="edge">edge</option>
+<option selected value="3.1.0">3.1.0</option>
+<option value="3.0.0">3.0.0</option>
+<option value="2.9.0">2.9.0</option>
+<option value="2.8.0">2.8.0</option>
+<option value="2.7.0">2.7.0</option>
+<option value="2.6.0">2.6.0</option>
+<option value="2.5.0">2.5.0</option>
+<option value="2.4.0">2.4.0</option>
+<option value="2.3.0">2.3.0</option>
+<option value="2.2.0">2.2.0</option>
+<option value="2.1.0">2.1.0</option>
+<option value="2.0.0">2.0.0</option>
+<option value="1.9.0">1.9.0</option>
+<option value="1.8.1">1.8.1</option>
+<option value="1.8.0">1.8.0</option>
+<option value="1.7.0">1.7.0</option>
+<option value="1.6.1">1.6.1</option>
+<option value="1.6.0">1.6.0</option>
+<option value="1.5.0">1.5.0</option>
+</optgroup>
+<optgroup label="French" value="fr"><option value="edge">edge</option></optgroup>
+<optgroup label="German" value="de"><option value="edge">edge</option></optgroup>
+<optgroup label="Italian" value="it"><option value="edge">edge</option></optgroup>
+<optgroup label="Japanese" value="ja">
+<option value="edge">edge</option>
+<option value="2.2.0">2.2.0</option>
+<option value="2.1.0">2.1.0</option>
+<option value="2.0.0">2.0.0</option>
+<option value="1.9.0">1.9.0</option>
+<option value="1.8.1">1.8.1</option>
+<option value="1.7.0">1.7.0</option>
+</optgroup>
+<optgroup label="Korean" value="ko">
+<option value="edge">edge</option>
+<option value="2.0.0">2.0.0</option>
+</optgroup>
+<optgroup label="Russian" value="ru"><option value="edge">edge</option></optgroup>
+<optgroup label="Spanish" value="es"><option value="edge">edge</option></optgroup></select></small>
+        </div>
+        <div id="subheader">
+            <h1>Upgrading Windows 8</h1>
+            <small><select><option value="Upgrading%2520Windows%25208">Upgrading Windows 8</option>
+<option value="Upgrading%20Windows%208_upgrade_to_3_1_0">      - Upgrade to 3.1.0</option>
+<option value="Upgrading%20Windows%208_upgrade_to_2_9_0_from_2_8_0">      - Upgrade to 2.9.0 from 2.8.0</option>
+<option value="Upgrading%20Windows%208_upgrade_to_2_8_0_from_2_7_0">      - Upgrade to 2.8.0 from 2.7.0</option></select></small>
+        </div>
+
+        <div id="sidebar">
+            <div class="vertical_divider"></div>
+        <h1>Guides</h1>
+<ul>
+<li><a href="guide_overview_index.md.html#Overview">Overview</a></li>
+<li><a href="guide_cli_index.md.html#The%20Command-line%20Interface">The Command-line Interface</a></li>
+<li><a href="guide_platforms_index.md.html#Platform%20Guides">Platform Guides</a></li>
+<li><a href="config_ref_index.md.html#The%20config.xml%20File">The config.xml File</a></li>
+<li><a href="guide_hybrid_webviews_index.md.html#Embedding%20WebViews">Embedding WebViews</a></li>
+<li><a href="guide_hybrid_plugins_index.md.html#Plugin%20Development%20Guide">Plugin Development Guide</a></li>
+<li><a href="guide_appdev_privacy_index.md.html#Privacy%20Guide">Privacy Guide</a></li>
+<li><a href="guide_appdev_whitelist_index.md.html#Domain%20Whitelist%20Guide">Domain Whitelist Guide</a></li>
+<li><a href="_index.html">Keyword Index</a></li>
+</ul>
+<h1>API Reference</h1>
+<ul>
+<li><a href="cordova_accelerometer_accelerometer.md.html#Accelerometer">Accelerometer</a></li>
+<li><a href="cordova_camera_camera.md.html#Camera">Camera</a></li>
+<li><a href="cordova_media_capture_capture.md.html#Capture">Capture</a></li>
+<li><a href="cordova_compass_compass.md.html#Compass">Compass</a></li>
+<li><a href="cordova_connection_connection.md.html#Connection">Connection</a></li>
+<li><a href="cordova_contacts_contacts.md.html#Contacts">Contacts</a></li>
+<li><a href="cordova_device_device.md.html#Device">Device</a></li>
+<li><a href="cordova_events_events.md.html#Events">Events</a></li>
+<li><a href="cordova_file_file.md.html#File">File</a></li>
+<li><a href="cordova_geolocation_geolocation.md.html#Geolocation">Geolocation</a></li>
+<li><a href="cordova_globalization_globalization.md.html#Globalization">Globalization</a></li>
+<li><a href="cordova_inappbrowser_inappbrowser.md.html#InAppBrowser">InAppBrowser</a></li>
+<li><a href="cordova_media_media.md.html#Media">Media</a></li>
+<li><a href="cordova_notification_notification.md.html#Notification">Notification</a></li>
+<li><a href="cordova_splashscreen_splashscreen.md.html#Splashscreen">Splashscreen</a></li>
+<li><a href="cordova_storage_storage.md.html#Storage">Storage</a></li>
+</ul>
+</div>
+
+        <div id="scrollable">
+            <div id="content">
+                <h1><a name="Upgrading%20Windows%208">Upgrading Windows 8</a></h1>
+
+<p>This guide shows how to modify Windows 8 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 <code>cordova</code> CLI utility. See <a href="guide_cli_index.md.html#The%20Command-line%20Interface">The Command-line Interface</a> for information how to update the
+version of the CLI.</p>
+
+<h2>
+<a name="Upgrading%20Windows%208_upgrade_to_3_1_0">Upgrade to 3.1.0</a>
+</h2>
+
+<p>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.  </p>
+
+<h2>
+<a name="Upgrading%20Windows%208_upgrade_to_2_9_0_from_2_8_0">Upgrade to 2.9.0 from 2.8.0</a>
+</h2>
+
+<p>The following commands should be done from within Visual Studio to be sure that the any project references are updated/deleted.</p>
+
+<ol>
+<li><p>Remove <code>cordova-2.8.0.js</code> from the project's <code>www</code> directory.</p></li>
+<li><p>Add <code>cordova.js</code> file from the source to the project's <code>www</code> directory. (Note that the file no longer contains a version number in the filename.)</p></li>
+<li><p>Build and test!</p></li>
+</ol>
+<h2>
+<a name="Upgrading%20Windows%208_upgrade_to_2_8_0_from_2_7_0">Upgrade to 2.8.0 from 2.7.0</a>
+</h2>
+
+<p>The following commands should be done from within Visual Studio to be sure that the any project references are updated/deleted.</p>
+
+<ol>
+<li><p>Remove <code>cordova-2.7.0.js</code> from the project's <code>www</code> directory. </p></li>
+<li><p>Add <code>cordova.js</code> file from the source to the project's <code>www</code> directory. (Note that the file no longer contains a version number in the filename.)</p></li>
+<li><p>Build and test!</p></li>
+</ol>
+</div>
+        </div>
+
+        <!-- Functionality and Syntax Highlighting -->
+        <script type="text/javascript" src="index.js"></script><script type="text/javascript" src="prettify/prettify.js"></script>
+</body>
+</html>

Added: cordova/site/public/docs/en/3.1.0/guide_platforms_wp7_index.md.html
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/3.1.0/guide_platforms_wp7_index.md.html?rev=1527865&view=auto
==============================================================================
--- cordova/site/public/docs/en/3.1.0/guide_platforms_wp7_index.md.html (added)
+++ cordova/site/public/docs/en/3.1.0/guide_platforms_wp7_index.md.html Tue Oct  1 03:55:57 2013
@@ -0,0 +1,237 @@
+<!DOCTYPE html>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+--><html lang="en">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, width=device-width">
+<meta name="generator" content="joDoc">
+<title>Apache Cordova API Documentation</title>
+<link rel="stylesheet" type="text/css" href="index.css">
+<link rel="stylesheet" type="text/css" href="mobile.css" media="only screen and (max-device-width: 1024px)">
+<link rel="stylesheet" type="text/css" href="prettify/prettify.css">
+</head>
+<body>
+        <div id="header">
+            <h1><a href="index.html">Apache <strong>Cordova</strong> Documentation</a></h1>
+            <small>
+                <select><optgroup label="Chinese" value="zh"><option value="edge">edge</option></optgroup>
+<optgroup label="English" value="en">
+<option value="edge">edge</option>
+<option selected value="3.1.0">3.1.0</option>
+<option value="3.0.0">3.0.0</option>
+<option value="2.9.0">2.9.0</option>
+<option value="2.8.0">2.8.0</option>
+<option value="2.7.0">2.7.0</option>
+<option value="2.6.0">2.6.0</option>
+<option value="2.5.0">2.5.0</option>
+<option value="2.4.0">2.4.0</option>
+<option value="2.3.0">2.3.0</option>
+<option value="2.2.0">2.2.0</option>
+<option value="2.1.0">2.1.0</option>
+<option value="2.0.0">2.0.0</option>
+<option value="1.9.0">1.9.0</option>
+<option value="1.8.1">1.8.1</option>
+<option value="1.8.0">1.8.0</option>
+<option value="1.7.0">1.7.0</option>
+<option value="1.6.1">1.6.1</option>
+<option value="1.6.0">1.6.0</option>
+<option value="1.5.0">1.5.0</option>
+</optgroup>
+<optgroup label="French" value="fr"><option value="edge">edge</option></optgroup>
+<optgroup label="German" value="de"><option value="edge">edge</option></optgroup>
+<optgroup label="Italian" value="it"><option value="edge">edge</option></optgroup>
+<optgroup label="Japanese" value="ja">
+<option value="edge">edge</option>
+<option value="2.2.0">2.2.0</option>
+<option value="2.1.0">2.1.0</option>
+<option value="2.0.0">2.0.0</option>
+<option value="1.9.0">1.9.0</option>
+<option value="1.8.1">1.8.1</option>
+<option value="1.7.0">1.7.0</option>
+</optgroup>
+<optgroup label="Korean" value="ko">
+<option value="edge">edge</option>
+<option value="2.0.0">2.0.0</option>
+</optgroup>
+<optgroup label="Russian" value="ru"><option value="edge">edge</option></optgroup>
+<optgroup label="Spanish" value="es"><option value="edge">edge</option></optgroup></select></small>
+        </div>
+        <div id="subheader">
+            <h1>Windows Phone 7 Platform Guide</h1>
+            <small><select><option value="Windows%2520Phone%25207%2520Platform%2520Guide">Windows Phone 7 Platform Guide</option>
+<option value="Windows%20Phone%207%20Platform%20Guide_1_system_requirements">      - 1. System Requirements</option>
+<option value="Windows%20Phone%207%20Platform%20Guide_2_install_sdk_cordova">      - 2. Install SDK + Cordova</option>
+<option value="Windows%20Phone%207%20Platform%20Guide_2_1_building_the_template">      - 2.1. Building the template</option>
+<option value="Windows%20Phone%207%20Platform%20Guide_3_set_up_new_project">      - 3. Set up New Project</option>
+<option value="Windows%20Phone%207%20Platform%20Guide_4_review_the_project_structure">      - 4. Review the project structure</option>
+<option value="Windows%20Phone%207%20Platform%20Guide_6_build_your_project_for_the_device">      - 6. Build your project for the device</option>
+<option value="Windows%20Phone%207%20Platform%20Guide_done">      - Done!</option></select></small>
+        </div>
+
+        <div id="sidebar">
+            <div class="vertical_divider"></div>
+        <h1>Guides</h1>
+<ul>
+<li><a href="guide_overview_index.md.html#Overview">Overview</a></li>
+<li><a href="guide_cli_index.md.html#The%20Command-line%20Interface">The Command-line Interface</a></li>
+<li><a href="guide_platforms_index.md.html#Platform%20Guides">Platform Guides</a></li>
+<li><a href="config_ref_index.md.html#The%20config.xml%20File">The config.xml File</a></li>
+<li><a href="guide_hybrid_webviews_index.md.html#Embedding%20WebViews">Embedding WebViews</a></li>
+<li><a href="guide_hybrid_plugins_index.md.html#Plugin%20Development%20Guide">Plugin Development Guide</a></li>
+<li><a href="guide_appdev_privacy_index.md.html#Privacy%20Guide">Privacy Guide</a></li>
+<li><a href="guide_appdev_whitelist_index.md.html#Domain%20Whitelist%20Guide">Domain Whitelist Guide</a></li>
+<li><a href="_index.html">Keyword Index</a></li>
+</ul>
+<h1>API Reference</h1>
+<ul>
+<li><a href="cordova_accelerometer_accelerometer.md.html#Accelerometer">Accelerometer</a></li>
+<li><a href="cordova_camera_camera.md.html#Camera">Camera</a></li>
+<li><a href="cordova_media_capture_capture.md.html#Capture">Capture</a></li>
+<li><a href="cordova_compass_compass.md.html#Compass">Compass</a></li>
+<li><a href="cordova_connection_connection.md.html#Connection">Connection</a></li>
+<li><a href="cordova_contacts_contacts.md.html#Contacts">Contacts</a></li>
+<li><a href="cordova_device_device.md.html#Device">Device</a></li>
+<li><a href="cordova_events_events.md.html#Events">Events</a></li>
+<li><a href="cordova_file_file.md.html#File">File</a></li>
+<li><a href="cordova_geolocation_geolocation.md.html#Geolocation">Geolocation</a></li>
+<li><a href="cordova_globalization_globalization.md.html#Globalization">Globalization</a></li>
+<li><a href="cordova_inappbrowser_inappbrowser.md.html#InAppBrowser">InAppBrowser</a></li>
+<li><a href="cordova_media_media.md.html#Media">Media</a></li>
+<li><a href="cordova_notification_notification.md.html#Notification">Notification</a></li>
+<li><a href="cordova_splashscreen_splashscreen.md.html#Splashscreen">Splashscreen</a></li>
+<li><a href="cordova_storage_storage.md.html#Storage">Storage</a></li>
+</ul>
+</div>
+
+        <div id="scrollable">
+            <div id="content">
+                <h1><a name="Windows%20Phone%207%20Platform%20Guide">Windows Phone 7 Platform Guide</a></h1>
+
+<p>This guide shows how to set up your SDK development environment to
+deploy Cordova apps for Windows Phone 7 devices.  Apps also run on
+Windows Phone 8 devices using the same APIs, but version 7 lacks some
+of IE10's advanced features available on Windows Phone 8. Windows
+Phone 8 apps do <em>not</em> run on Windows Phone 7 devices.</p>
+
+<p>See the following for more detailed platform-specific information that
+applies to both versions:</p>
+
+<ul>
+<li><a href="guide_platforms_wp8_upgrading.md.html#Upgrading%20Windows%20Phone">Upgrading Windows Phone</a></li>
+<li><a href="guide_platforms_wp8_plugin.md.html#Windows%20Phone%20Plugins">Windows Phone Plugins</a></li>
+<li><a href="guide_platforms_wp8_tools.md.html#Windows%20Phone%20Command-line%20Tools">Windows Phone Command-line Tools</a></li>
+</ul>
+<p>The command-line tools above refer to versions prior to Cordova 3.0.
+See <a href="guide_cli_index.md.html#The%20Command-line%20Interface">The Command-line Interface</a> for information about the
+current interface.</p>
+
+<h2>
+<a name="Windows%20Phone%207%20Platform%20Guide_1_system_requirements">1. System Requirements</a>
+</h2>
+
+<ul>
+<li>
+<p>Operating System:</p>
+
+<ul>
+<li>Windows 7 or Windows 8 (Pro) or Windows Vista with SP2
+<ul>
+<li>The 64-bit version (x64) of Windows is required for the SDK.</li>
+<li>The Pro version is recommended for running a device emulator.</li>
+</ul>
+</li>
+</ul>
+</li>
+<li><p>Register and pay for a <a class="external" href="http://dev.windowsphone.com/en-us/publish">Windows Phone Dev Center</a> account if you want to install your app on a real device or submit it to Market Place.</p></li>
+</ul>
+<p><strong>NOTE:</strong> 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 <a class="external" href="http://aka.ms/BuildaWP8apponaMac">Windows Phone on a Mac</a>.</p>
+
+<h2>
+<a name="Windows%20Phone%207%20Platform%20Guide_2_install_sdk_cordova">2. Install SDK + Cordova</a>
+</h2>
+
+<ul>
+<li><p>Download and install the <a class="external" href="http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;id=27570/">Windows Phone SDK</a></p></li>
+<li><p>Download and extract the latest copy of <a class="external" href="http://phonegap.com/download">Cordova</a>. You will be working in the <code>lib\windows-phone-8\wp7</code> subdirectory, <code>lib\windows-phone-8\wp8</code> contains the Windwos Phone 8 version of Cordova.</p></li>
+<li><p>Copy the <code>CordovaWP7_x_x_x.zip</code> file to the <code>\My Documents\Visual Studio 2012\Templates\ProjectTemplates\</code> directory.</p></li>
+</ul>
+<h2>
+<a name="Windows%20Phone%207%20Platform%20Guide_2_1_building_the_template">2.1. Building the template</a>
+</h2>
+
+<p><strong>NOTE:</strong> this step may not be required.  If the lib\windows-phone directory already contains a file CordovaWP7<em>x</em>x_x.zip then you may skip this step.</p>
+
+<p>In order to simplify the development process, Cordova comes with a script to build Visual Studio templates. This allows for rapid creation of Cordova applications inside Visual Studio. This template can be modified if needed and the below steps indicate how to proceed if you want to generate the template.</p>
+
+<h3>Run the batch file to create and install the templates.</h3>
+
+<ul>
+<li><p>The root of the repo contains a file createTemplates.bat.  Double clicking this file will generate 2 .zip files. (CordovaWP7<em>x</em>x<em>x.zip + CordovaWP8</em>x<em>x</em>x.zip where 3.1.0 is the current version number)  To easily use these files in Visual Studio, copy them to 
+"My Documents\Visual Studio 2012\Templates\ProjectTemplates\" You will then be able to create new Apache Cordova Windows Phone apps from the Visual Studio <a href="cordova_file_file.md.html#File">File</a>-&gt;New Project menu.</p></li>
+<li><p>If you run the batch file from the command line, you can also call with a parameter to install automatically</p></li>
+</ul>
+<p>Run the script :</p>
+
+<pre class="prettyprint"><code>&gt;createTemplates.bat -install
+</code></pre>
+
+<h2>
+<a name="Windows%20Phone%207%20Platform%20Guide_3_set_up_new_project">3. Set up New Project</a>
+</h2>
+
+<ul>
+<li><p>Open Visual Studio Express for Windows Phone and choose <strong>New Project</strong>.</p></li>
+<li><p>Select <strong>CordovaWP7</strong>. (The version number is displayed in the template description.)</p></li>
+<li><p>Give the project a name, and select <strong>OK</strong>.</p></li>
+</ul>
+<h2>
+<a name="Windows%20Phone%207%20Platform%20Guide_4_review_the_project_structure">4. Review the project structure</a>
+</h2>
+
+<ul>
+<li><p>The <code>www</code> directory contains your Cordova <code>html/js/css</code> and any other resources included in your app.</p></li>
+<li><p>Any content that you add here needs to be a part of the Visual Studio project, and it must be set as content.</p></li>
+<li><p>Note: This screen capture was from the wp8 cordova-2.3.0 download, your listing will vary based on the actual version installed.</p></li>
+</ul>
+<p><img src="img/guide/platforms/wp8/projectStructure.png" alt="" title=""></p>
+
+<h2>
+<a name="Windows%20Phone%207%20Platform%20Guide_6_build_your_project_for_the_device">6. Build your project for the device</a>
+</h2>
+
+<p>In order to test your application on a device, the device must be registered. Click <a class="external" href="http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff402565(v=vs.105).aspx">here</a> to read documentation on deploying and testing on your Windows Phone 7.</p>
+
+<ul>
+<li><p>Make sure your phone is connected, and the screen is unlocked.</p></li>
+<li><p>In Visual Studio, select '<a href="cordova_device_device.md.html#Device">Device</a>' from the top drop-down menu.</p></li>
+<li><p>Press the green <strong>play</strong> button next to the main drop-down menu to start debugging, or type <strong>F5</strong>.</p></li>
+</ul>
+<p><img src="img/guide/platforms/wp7/wpd.png" alt="" title=""></p>
+
+<h2>
+<a name="Windows%20Phone%207%20Platform%20Guide_done">Done!</a>
+</h2>
+
+            </div>
+        </div>
+
+        <!-- Functionality and Syntax Highlighting -->
+        <script type="text/javascript" src="index.js"></script><script type="text/javascript" src="prettify/prettify.js"></script>
+</body>
+</html>

Added: cordova/site/public/docs/en/3.1.0/guide_platforms_wp8_index.md.html
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/3.1.0/guide_platforms_wp8_index.md.html?rev=1527865&view=auto
==============================================================================
--- cordova/site/public/docs/en/3.1.0/guide_platforms_wp8_index.md.html (added)
+++ cordova/site/public/docs/en/3.1.0/guide_platforms_wp8_index.md.html Tue Oct  1 03:55:57 2013
@@ -0,0 +1,290 @@
+<!DOCTYPE html>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+--><html lang="en">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, width=device-width">
+<meta name="generator" content="joDoc">
+<title>Apache Cordova API Documentation</title>
+<link rel="stylesheet" type="text/css" href="index.css">
+<link rel="stylesheet" type="text/css" href="mobile.css" media="only screen and (max-device-width: 1024px)">
+<link rel="stylesheet" type="text/css" href="prettify/prettify.css">
+</head>
+<body>
+        <div id="header">
+            <h1><a href="index.html">Apache <strong>Cordova</strong> Documentation</a></h1>
+            <small>
+                <select><optgroup label="Chinese" value="zh"><option value="edge">edge</option></optgroup>
+<optgroup label="English" value="en">
+<option value="edge">edge</option>
+<option selected value="3.1.0">3.1.0</option>
+<option value="3.0.0">3.0.0</option>
+<option value="2.9.0">2.9.0</option>
+<option value="2.8.0">2.8.0</option>
+<option value="2.7.0">2.7.0</option>
+<option value="2.6.0">2.6.0</option>
+<option value="2.5.0">2.5.0</option>
+<option value="2.4.0">2.4.0</option>
+<option value="2.3.0">2.3.0</option>
+<option value="2.2.0">2.2.0</option>
+<option value="2.1.0">2.1.0</option>
+<option value="2.0.0">2.0.0</option>
+<option value="1.9.0">1.9.0</option>
+<option value="1.8.1">1.8.1</option>
+<option value="1.8.0">1.8.0</option>
+<option value="1.7.0">1.7.0</option>
+<option value="1.6.1">1.6.1</option>
+<option value="1.6.0">1.6.0</option>
+<option value="1.5.0">1.5.0</option>
+</optgroup>
+<optgroup label="French" value="fr"><option value="edge">edge</option></optgroup>
+<optgroup label="German" value="de"><option value="edge">edge</option></optgroup>
+<optgroup label="Italian" value="it"><option value="edge">edge</option></optgroup>
+<optgroup label="Japanese" value="ja">
+<option value="edge">edge</option>
+<option value="2.2.0">2.2.0</option>
+<option value="2.1.0">2.1.0</option>
+<option value="2.0.0">2.0.0</option>
+<option value="1.9.0">1.9.0</option>
+<option value="1.8.1">1.8.1</option>
+<option value="1.7.0">1.7.0</option>
+</optgroup>
+<optgroup label="Korean" value="ko">
+<option value="edge">edge</option>
+<option value="2.0.0">2.0.0</option>
+</optgroup>
+<optgroup label="Russian" value="ru"><option value="edge">edge</option></optgroup>
+<optgroup label="Spanish" value="es"><option value="edge">edge</option></optgroup></select></small>
+        </div>
+        <div id="subheader">
+            <h1>Windows Phone 8 Platform Guide</h1>
+            <small><select><option value="Windows%2520Phone%25208%2520Platform%2520Guide">Windows Phone 8 Platform Guide</option>
+<option value="Windows%20Phone%208%20Platform%20Guide_1_system_requirements">      - 1. System Requirements</option>
+<option value="Windows%20Phone%208%20Platform%20Guide_2_install_sdk_cordova">      - 2. Install SDK + Cordova</option>
+<option value="Windows%20Phone%208%20Platform%20Guide_2_1_building_the_template">      - 2.1. Building the template</option>
+<option value="Windows%20Phone%208%20Platform%20Guide_3_set_up_new_project">      - 3. Set up New Project</option>
+<option value="Windows%20Phone%208%20Platform%20Guide_4_review_the_project_structure">      - 4. Review the project structure</option>
+<option value="Windows%20Phone%208%20Platform%20Guide_5_build_and_deploy_to_emulator">      - 5. Build and Deploy to Emulator</option>
+<option value="Windows%20Phone%208%20Platform%20Guide_6_build_your_project_for_the_device">      - 6. Build your project for the device</option>
+<option value="Windows%20Phone%208%20Platform%20Guide_done">      - Done!</option>
+<option value="Windows%20Phone%208%20Platform%20Guide_further_reading">      - Further Reading</option></select></small>
+        </div>
+
+        <div id="sidebar">
+            <div class="vertical_divider"></div>
+        <h1>Guides</h1>
+<ul>
+<li><a href="guide_overview_index.md.html#Overview">Overview</a></li>
+<li><a href="guide_cli_index.md.html#The%20Command-line%20Interface">The Command-line Interface</a></li>
+<li><a href="guide_platforms_index.md.html#Platform%20Guides">Platform Guides</a></li>
+<li><a href="config_ref_index.md.html#The%20config.xml%20File">The config.xml File</a></li>
+<li><a href="guide_hybrid_webviews_index.md.html#Embedding%20WebViews">Embedding WebViews</a></li>
+<li><a href="guide_hybrid_plugins_index.md.html#Plugin%20Development%20Guide">Plugin Development Guide</a></li>
+<li><a href="guide_appdev_privacy_index.md.html#Privacy%20Guide">Privacy Guide</a></li>
+<li><a href="guide_appdev_whitelist_index.md.html#Domain%20Whitelist%20Guide">Domain Whitelist Guide</a></li>
+<li><a href="_index.html">Keyword Index</a></li>
+</ul>
+<h1>API Reference</h1>
+<ul>
+<li><a href="cordova_accelerometer_accelerometer.md.html#Accelerometer">Accelerometer</a></li>
+<li><a href="cordova_camera_camera.md.html#Camera">Camera</a></li>
+<li><a href="cordova_media_capture_capture.md.html#Capture">Capture</a></li>
+<li><a href="cordova_compass_compass.md.html#Compass">Compass</a></li>
+<li><a href="cordova_connection_connection.md.html#Connection">Connection</a></li>
+<li><a href="cordova_contacts_contacts.md.html#Contacts">Contacts</a></li>
+<li><a href="cordova_device_device.md.html#Device">Device</a></li>
+<li><a href="cordova_events_events.md.html#Events">Events</a></li>
+<li><a href="cordova_file_file.md.html#File">File</a></li>
+<li><a href="cordova_geolocation_geolocation.md.html#Geolocation">Geolocation</a></li>
+<li><a href="cordova_globalization_globalization.md.html#Globalization">Globalization</a></li>
+<li><a href="cordova_inappbrowser_inappbrowser.md.html#InAppBrowser">InAppBrowser</a></li>
+<li><a href="cordova_media_media.md.html#Media">Media</a></li>
+<li><a href="cordova_notification_notification.md.html#Notification">Notification</a></li>
+<li><a href="cordova_splashscreen_splashscreen.md.html#Splashscreen">Splashscreen</a></li>
+<li><a href="cordova_storage_storage.md.html#Storage">Storage</a></li>
+</ul>
+</div>
+
+        <div id="scrollable">
+            <div id="content">
+                <h1><a name="Windows%20Phone%208%20Platform%20Guide">Windows Phone 8 Platform Guide</a></h1>
+
+<p>This guide shows how to set up your SDK development environment to
+deploy Cordova apps for Windows Phone 8 devices. If you want to target
+both 7.5 and 8 devices, develope for Windows Phone 7 instead as
+detailed in the <a href="guide_platforms_wp7_index.md.html#Windows%20Phone%207%20Platform%20Guide">Windows Phone 7 Platform Guide</a>.  Version 7 does not
+have all the advanced features included in IE10, but implements the
+same set of APIs. Windows Phone 8 apps do <em>not</em> run on Windows Phone 7
+devices.</p>
+
+<p>See the following for more detailed platform-specific information that
+applies to both versions:</p>
+
+<ul>
+<li><a href="guide_platforms_wp8_upgrading.md.html#Upgrading%20Windows%20Phone">Upgrading Windows Phone</a></li>
+<li><a href="guide_platforms_wp8_plugin.md.html#Windows%20Phone%20Plugins">Windows Phone Plugins</a></li>
+<li><a href="guide_platforms_wp8_tools.md.html#Windows%20Phone%20Command-line%20Tools">Windows Phone Command-line Tools</a></li>
+</ul>
+<p>The command-line tools above refer to versions prior to Cordova 3.0.
+See <a href="guide_cli_index.md.html#The%20Command-line%20Interface">The Command-line Interface</a> for information about the
+current interface.</p>
+
+<h2>
+<a name="Windows%20Phone%208%20Platform%20Guide_1_system_requirements">1. System Requirements</a>
+</h2>
+
+<ul>
+<li>
+<p>Operating System:</p>
+
+<ul>
+<li>Windows 8 or Windows 8 Pro
+<ul>
+<li>The 64-bit version (x64) of Windows is required for the SDK.</li>
+<li>The Pro version is recommended so you can run a device emulator.</li>
+</ul>
+</li>
+</ul>
+</li>
+<li>
+<p>Hardware:</p>
+
+<ul>
+<li>6.5 GB of free hard disk space</li>
+<li>4 GB RAM</li>
+<li>64-bit (x64) CPU</li>
+</ul>
+</li>
+<li>
+<p>Windows Phone 8 Emulator</p>
+
+<ul>
+<li>The phone emulator uses Hyper-V, so this list includes those pre-requisites.</li>
+<li>Windows 8 Pro 64-bit edition or greater</li>
+<li>Requires a processor that supports virtualization and <a class="external" href="http://en.wikipedia.org/wiki/Second_Level_Address_Translation">Second Level Address Translation (SLAT)</a>
+<ul>
+<li>See the <a class="external" href="http://ark.intel.com/Products/VirtualizationTechnology">list of Intel processors that support VT-x (virtualization) and EPT (SLAT)</a>
+</li>
+</ul>
+</li>
+<li>Enable the virtualization capability (i.e., VT-x on Intel) in your BIOS settings, as usually this is disabled by default.</li>
+</ul>
+</li>
+<li>
+<p>SDK + IDE (Visual Studio)</p>
+
+<ul>
+<li>Visual Studio 2012 Professional, Premium, or Ultimate. Note that Visual Studio Express for Windows Phone (included in the SDK) is not recommended because you can not build the template (see below) with VS Express, as it does not have the <strong>Export Template</strong> functionality, which is only in VS Pro or higher.</li>
+</ul>
+</li>
+<li><p>Register and pay for a <a class="external" href="http://dev.windowsphone.com/en-us/publish">Windows Phone Dev Center</a> account if you want to install your app on a real device or submit it to Market Place.</p></li>
+</ul>
+<p><strong>NOTE:</strong> 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 <a class="external" href="http://aka.ms/BuildaWP8apponaMac">Windows Phone on a Mac</a>.</p>
+
+<h2>
+<a name="Windows%20Phone%208%20Platform%20Guide_2_install_sdk_cordova">2. Install SDK + Cordova</a>
+</h2>
+
+<ul>
+<li><p>Download and install <a class="external" href="http://www.microsoft.com/en-us/download/details.aspx?id=35471">Windows Phone SDK</a></p></li>
+<li><p>Download and extract the latest copy of <a class="external" href="http://phonegap.com/download">Cordova</a>. You will be working in the <code>lib\windows-phone-8\wp8</code> subdirectory, <code>lib\windows-phone-8\wp7</code> contains the Windwos Phone 7 version of Cordova.</p></li>
+<li><p>Copy the <code>CordovaWP8_x_x_x.zip</code> file to the <code>\My Documents\Visual Studio 2012\Templates\ProjectTemplates\</code> directory.</p></li>
+</ul>
+<h2>
+<a name="Windows%20Phone%208%20Platform%20Guide_2_1_building_the_template">2.1. Building the template</a>
+</h2>
+
+<p><strong>NOTE:</strong> this step may not be required.  If the lib\windows-phone directory already contains a file CordovaWP8<em>x</em>x_x.zip then you may skip this step.</p>
+
+<p>In order to simplify the development process, Cordova comes with a script to build Visual Studio templates. This allows for rapid creation of Cordova applications inside Visual Studio. This template can be modified if needed and the below steps indicate how to proceed if you want to generate the template.</p>
+
+<h3>Run the batch file to create and install the templates.</h3>
+
+<ul>
+<li><p>The root of the repo contains a file createTemplates.bat.  Double clicking this file will generate 2 .zip files. (CordovaWP7<em>x</em>x<em>x.zip + CordovaWP8</em>x<em>x</em>x.zip where 3.1.0 is the current version number)  To easily use these files in Visual Studio, copy them to 
+"My Documents\Visual Studio 2012\Templates\ProjectTemplates\" You will then be able to create new Apache Cordova Windows Phone apps from the Visual Studio <a href="cordova_file_file.md.html#File">File</a>-&gt;New Project menu.</p></li>
+<li><p>If you run the batch file from the command line, you can also call with a parameter to install automatically</p></li>
+</ul>
+<p>Run the script :</p>
+
+<pre class="prettyprint"><code>&gt;createTemplates.bat -install
+</code></pre>
+
+<h2>
+<a name="Windows%20Phone%208%20Platform%20Guide_3_set_up_new_project">3. Set up New Project</a>
+</h2>
+
+<ul>
+<li><p>Open Visual Studio Express for Windows Phone and choose <strong>New Project</strong>.</p></li>
+<li><p>Select <strong>CordovaWP8</strong>. (The version number is displayed in the template description.)</p></li>
+<li><p>Give the project a name, and select <strong>OK</strong>.</p></li>
+</ul>
+<p><img src="img/guide/platforms/wp8/StandAloneTemplate.png" alt="" title=""></p>
+
+<h2>
+<a name="Windows%20Phone%208%20Platform%20Guide_4_review_the_project_structure">4. Review the project structure</a>
+</h2>
+
+<ul>
+<li><p>The <code>www</code> directory contains your Cordova <code>html/js/css</code> and any other resources included in your app.</p></li>
+<li><p>Any content that you add here needs to be a part of the Visual Studio project, and it must be set as content.</p></li>
+<li><p>Note: This screen capture was from the cordova-2.3.0 download, your listing will vary based on the actual version installed.</p></li>
+</ul>
+<p><img src="img/guide/platforms/wp8/projectStructure.png" alt="" title=""></p>
+
+<h2>
+<a name="Windows%20Phone%208%20Platform%20Guide_5_build_and_deploy_to_emulator">5. Build and Deploy to Emulator</a>
+</h2>
+
+<ul>
+<li><p>Make sure <strong>Windows Phone Emulator</strong> is selected in the main drop-down menu.</p></li>
+<li><p>Press the green <strong>play</strong> button next to the drop-down menu to start debugging, or type <strong>F5</strong>.</p></li>
+</ul>
+<p><img src="img/guide/platforms/wp8/BuildEmulator.png" alt="" title=""></p>
+
+<h2>
+<a name="Windows%20Phone%208%20Platform%20Guide_6_build_your_project_for_the_device">6. Build your project for the device</a>
+</h2>
+
+<p>In order to test your application on a device, the device must be registered. Click <a class="external" href="http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff402565(v=vs.105).aspx">here</a> to read documentation on deploying and testing on your Windows Phone 8.</p>
+
+<ul>
+<li><p>Make sure your phone is connected, and the screen is unlocked.</p></li>
+<li><p>In Visual Studio, select '<a href="cordova_device_device.md.html#Device">Device</a>' from the top drop-down menu.</p></li>
+<li><p>Press the green <strong>play</strong> button next to the main drop-down menu to start debugging, or type <strong>F5</strong>.</p></li>
+</ul>
+<p><img src="img/guide/platforms/wp7/wpd.png" alt="" title=""></p>
+
+<h2>
+<a name="Windows%20Phone%208%20Platform%20Guide_done">Done!</a>
+</h2>
+
+<h2>
+<a name="Windows%20Phone%208%20Platform%20Guide_further_reading">Further Reading</a>
+</h2>
+
+<p>For more details on the specific differences between IE10 and WebKit browsers, and how to support both MS has a helpful <a class="external" href="http://blogs.windows.com/windows_phone/b/wpdev/archive/2012/11/15/adapting-your-webkit-optimized-site-for-internet-explorer-10.aspx">guide here</a></p>
+
+            </div>
+        </div>
+
+        <!-- Functionality and Syntax Highlighting -->
+        <script type="text/javascript" src="index.js"></script><script type="text/javascript" src="prettify/prettify.js"></script>
+</body>
+</html>

Added: cordova/site/public/docs/en/3.1.0/guide_platforms_wp8_plugin.md.html
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/3.1.0/guide_platforms_wp8_plugin.md.html?rev=1527865&view=auto
==============================================================================
--- cordova/site/public/docs/en/3.1.0/guide_platforms_wp8_plugin.md.html (added)
+++ cordova/site/public/docs/en/3.1.0/guide_platforms_wp8_plugin.md.html Tue Oct  1 03:55:57 2013
@@ -0,0 +1,380 @@
+<!DOCTYPE html>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+--><html lang="en">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, width=device-width">
+<meta name="generator" content="joDoc">
+<title>Apache Cordova API Documentation</title>
+<link rel="stylesheet" type="text/css" href="index.css">
+<link rel="stylesheet" type="text/css" href="mobile.css" media="only screen and (max-device-width: 1024px)">
+<link rel="stylesheet" type="text/css" href="prettify/prettify.css">
+</head>
+<body>
+        <div id="header">
+            <h1><a href="index.html">Apache <strong>Cordova</strong> Documentation</a></h1>
+            <small>
+                <select><optgroup label="Chinese" value="zh"><option value="edge">edge</option></optgroup>
+<optgroup label="English" value="en">
+<option value="edge">edge</option>
+<option selected value="3.1.0">3.1.0</option>
+<option value="3.0.0">3.0.0</option>
+<option value="2.9.0">2.9.0</option>
+<option value="2.8.0">2.8.0</option>
+<option value="2.7.0">2.7.0</option>
+<option value="2.6.0">2.6.0</option>
+<option value="2.5.0">2.5.0</option>
+<option value="2.4.0">2.4.0</option>
+<option value="2.3.0">2.3.0</option>
+<option value="2.2.0">2.2.0</option>
+<option value="2.1.0">2.1.0</option>
+<option value="2.0.0">2.0.0</option>
+<option value="1.9.0">1.9.0</option>
+<option value="1.8.1">1.8.1</option>
+<option value="1.8.0">1.8.0</option>
+<option value="1.7.0">1.7.0</option>
+<option value="1.6.1">1.6.1</option>
+<option value="1.6.0">1.6.0</option>
+<option value="1.5.0">1.5.0</option>
+</optgroup>
+<optgroup label="French" value="fr"><option value="edge">edge</option></optgroup>
+<optgroup label="German" value="de"><option value="edge">edge</option></optgroup>
+<optgroup label="Italian" value="it"><option value="edge">edge</option></optgroup>
+<optgroup label="Japanese" value="ja">
+<option value="edge">edge</option>
+<option value="2.2.0">2.2.0</option>
+<option value="2.1.0">2.1.0</option>
+<option value="2.0.0">2.0.0</option>
+<option value="1.9.0">1.9.0</option>
+<option value="1.8.1">1.8.1</option>
+<option value="1.7.0">1.7.0</option>
+</optgroup>
+<optgroup label="Korean" value="ko">
+<option value="edge">edge</option>
+<option value="2.0.0">2.0.0</option>
+</optgroup>
+<optgroup label="Russian" value="ru"><option value="edge">edge</option></optgroup>
+<optgroup label="Spanish" value="es"><option value="edge">edge</option></optgroup></select></small>
+        </div>
+        <div id="subheader">
+            <h1>Windows Phone Plugins</h1>
+            <small><select><option value="Windows%2520Phone%2520Plugins">Windows Phone Plugins</option>
+<option value="Windows%20Phone%20Plugins_namespaces">      - Namespaces</option>
+<option value="Windows%20Phone%20Plugins_interpreting_your_arguments_in_c">      - Interpreting your arguments in C</option>
+<option value="Windows%20Phone%20Plugins_passing_results_from_c_to_javascript">      - Passing results from C# to JavaScript</option>
+<option value="Windows%20Phone%20Plugins_handling_serialization_errors_in_your_plugin_s_c_method">      - Handling serialization errors in your plugin's C# method</option>
+<option value="Windows%20Phone%20Plugins_plugin_xml">      - Plugin XML</option>
+<option value="Windows%20Phone%20Plugins_advanced_plugin_functionality">      - Advanced Plugin Functionality</option>
+<option value="Windows%20Phone%20Plugins_common_pitfalls">      - Common Pitfalls</option></select></small>
+        </div>
+
+        <div id="sidebar">
+            <div class="vertical_divider"></div>
+        <h1>Guides</h1>
+<ul>
+<li><a href="guide_overview_index.md.html#Overview">Overview</a></li>
+<li><a href="guide_cli_index.md.html#The%20Command-line%20Interface">The Command-line Interface</a></li>
+<li><a href="guide_platforms_index.md.html#Platform%20Guides">Platform Guides</a></li>
+<li><a href="config_ref_index.md.html#The%20config.xml%20File">The config.xml File</a></li>
+<li><a href="guide_hybrid_webviews_index.md.html#Embedding%20WebViews">Embedding WebViews</a></li>
+<li><a href="guide_hybrid_plugins_index.md.html#Plugin%20Development%20Guide">Plugin Development Guide</a></li>
+<li><a href="guide_appdev_privacy_index.md.html#Privacy%20Guide">Privacy Guide</a></li>
+<li><a href="guide_appdev_whitelist_index.md.html#Domain%20Whitelist%20Guide">Domain Whitelist Guide</a></li>
+<li><a href="_index.html">Keyword Index</a></li>
+</ul>
+<h1>API Reference</h1>
+<ul>
+<li><a href="cordova_accelerometer_accelerometer.md.html#Accelerometer">Accelerometer</a></li>
+<li><a href="cordova_camera_camera.md.html#Camera">Camera</a></li>
+<li><a href="cordova_media_capture_capture.md.html#Capture">Capture</a></li>
+<li><a href="cordova_compass_compass.md.html#Compass">Compass</a></li>
+<li><a href="cordova_connection_connection.md.html#Connection">Connection</a></li>
+<li><a href="cordova_contacts_contacts.md.html#Contacts">Contacts</a></li>
+<li><a href="cordova_device_device.md.html#Device">Device</a></li>
+<li><a href="cordova_events_events.md.html#Events">Events</a></li>
+<li><a href="cordova_file_file.md.html#File">File</a></li>
+<li><a href="cordova_geolocation_geolocation.md.html#Geolocation">Geolocation</a></li>
+<li><a href="cordova_globalization_globalization.md.html#Globalization">Globalization</a></li>
+<li><a href="cordova_inappbrowser_inappbrowser.md.html#InAppBrowser">InAppBrowser</a></li>
+<li><a href="cordova_media_media.md.html#Media">Media</a></li>
+<li><a href="cordova_notification_notification.md.html#Notification">Notification</a></li>
+<li><a href="cordova_splashscreen_splashscreen.md.html#Splashscreen">Splashscreen</a></li>
+<li><a href="cordova_storage_storage.md.html#Storage">Storage</a></li>
+</ul>
+</div>
+
+        <div id="scrollable">
+            <div id="content">
+                <h1><a name="Windows%20Phone%20Plugins">Windows Phone Plugins</a></h1>
+
+<p>Writing a plugin for Cordova on Windows Phone requires a basic understanding of
+the architecture of Cordova. Cordova-WP7 consists of a WebBrowser which hosts the
+application JavaScript code and manages native API calls. There is a BaseCommand
+(<code>WP7CordovaClassLib.Cordova.Commands.BaseCommand</code>) class in C# which you can extend,
+and it comes with the majority of the 'plumbing' built for you already.</p>
+
+<ol>
+<li>
+<p>Select your project, and right-click to choose <strong>Add → New Item...</strong></p>
+
+<ul>
+<li>Preferably add it to the 'Plugins' directory, but it is up to you</li>
+</ul>
+</li>
+<li>
+<p>Select 'Class' and name it <code>Echo.cs</code></p>
+
+<ul>
+<li>The name of this class must <em>exactly</em> match what you call into <code>cordova.exec(win, fail, "Echo", ...)</code>
+</li>
+</ul>
+</li>
+<li>
+<p>Include the base classes implementation</p>
+
+<pre class="prettyprint"><code>using WPCordovaClassLib.Cordova;
+using WPCordovaClassLib.Cordova.Commands;
+using WPCordovaClassLib.Cordova.JSON;
+</code></pre>
+</li>
+<li>
+<p>Extend your class from BaseCommand</p>
+
+<pre class="prettyprint"><code>public class Echo : BaseCommand
+{
+    // ...
+}
+</code></pre>
+</li>
+<li>
+<p>Add a method that is callable from JavaScript</p>
+
+<pre class="prettyprint"><code>public class Echo : BaseCommand
+{
+    public void echo(string options)
+    {
+        // all JS callable plugin methods MUST have this signature!
+        // public, returning void, 1 argument that is a string
+    }
+}
+</code></pre>
+</li>
+</ol>
+<h2>
+<a name="Windows%20Phone%20Plugins_namespaces">Namespaces</a>
+</h2>
+
+<p>The default namespace for unqualified commands is:</p>
+
+<pre class="prettyprint"><code>namespace Cordova.Extension.Commands
+{
+    // ...
+}
+</code></pre>
+
+<p>If you want to use your own namespace, you need to make a fully
+qualified call to <code>cordova.exec</code>. For example, if you want to define
+your C# class like this:</p>
+
+<pre class="prettyprint"><code>namespace com.mydomain.cordovaExtensions
+{
+    public class Echo : BaseCommand
+    {
+        // ...
+    }
+}
+</code></pre>
+
+<p>Then, in JavaScript you need to call <code>exec</code> like this:</p>
+
+<pre class="prettyprint"><code>cordova.exec(win, fail, "com.mydomain.cordovaExtensions.Echo", ...);
+</code></pre>
+
+<h2>
+<a name="Windows%20Phone%20Plugins_interpreting_your_arguments_in_c">Interpreting your arguments in C</a>
+</h2>
+
+<p>The data received by your plugin method is a string value, but in actuality
+looking at our JavaScript code, we see our intention was to pass an array of strings.
+Looking back at our JavaScript call to <code>cordova.exec</code>, we see we passed <code>[str]</code>:</p>
+
+<pre class="prettyprint"><code>cordova.exec(win, fail, "Echo", "echo", ["input string"]);
+</code></pre>
+
+<p>If we inspect the options string passed in to our <code>Echo.echo</code> method,
+we see that the value is actually:</p>
+
+<pre class="prettyprint"><code>"[\"input string\"]"
+</code></pre>
+
+<p>All JavaScript <code>exec</code> arguments are JSON encoded before being passed into C#.</p>
+
+<p>If we want to treat this as the string we were expecting, we need to decode it.
+We can use simple JSON deserialization.</p>
+
+<pre class="prettyprint"><code>string optVal = JsonHelper.Deserialize&lt;string[]&gt;(options)[0];
+// optVal now has the value of "input string"
+</code></pre>
+
+<h2>
+<a name="Windows%20Phone%20Plugins_passing_results_from_c_to_javascript">Passing results from C# to JavaScript</a>
+</h2>
+
+<p>The base class BaseCommand provides methods for passing data to your JavaScript callback handlers.
+To simply signal that the command has succeeded, when no additional result info is needed,
+you can simply call:</p>
+
+<pre class="prettyprint"><code>DispatchCommandResult(); // calls back with an empty plugin result, considered a success callback
+</code></pre>
+
+<p>To pass data back, you need to call a different version of <code>DispatchCommandResult</code>:</p>
+
+<pre class="prettyprint"><code>DispatchCommandResult(new PluginResult(PluginResult.Status.OK, "Everything went as planned, this is a result that is passed to the success handler."));
+</code></pre>
+
+<p>To pass structured object data back to JavaScript, it should be encoded as a JSON string:</p>
+
+<pre class="prettyprint"><code>DispatchCommandResult(new PluginResult(PluginResult.Status.OK, "{result:\"super awesome!\"}"));
+</code></pre>
+
+<p>If you need to signal that an error has occurred, you can call <code>DispatchCommandResult</code> with a <code>PluginResult</code> object:</p>
+
+<pre class="prettyprint"><code>DispatchCommandResult(new PluginResult(PluginResult.Status.ERROR, "Echo signaled an error"));
+</code></pre>
+
+<h2>
+<a name="Windows%20Phone%20Plugins_handling_serialization_errors_in_your_plugin_s_c_method">Handling serialization errors in your plugin's C# method</a>
+</h2>
+
+<p>When interpreting your arguments, it is a good idea to use a try/catch block
+in case we have bad input. This is a pattern used throughout the Cordova C# code:</p>
+
+<pre class="prettyprint"><code>string optVal = null;
+
+try
+{
+    optVal = JsonHelper.Deserialize&lt;string[]&gt;(options)[0];
+}
+catch(Exception)
+{
+    // simply catch the exception, we handle null values and exceptions together
+}
+
+if (optVal == null)
+{
+    DispatchCommandResult(new PluginResult(PluginResult.Status.JSON_EXCEPTION));
+}
+else
+{
+    // ... continue on to do our work
+}
+</code></pre>
+
+<h2>
+<a name="Windows%20Phone%20Plugins_plugin_xml">Plugin XML</a>
+</h2>
+
+<p>These are windows phone specific examples of using the plugin.xml file, refer to the <a href="plugin_ref_spec.md.html#Plugin%20Specification">Plugin Specification</a> for more details</p>
+
+<h3><code>&lt;source-file&gt;</code></h3>
+
+<p>On windows phone the <code>&lt;source-file&gt;</code> element is currently used to define all plugin resources (ie. .cs, .xaml, .xaml.cs, .dll, image assets etc).</p>
+
+<h3><code>&lt;config-file&gt;</code></h3>
+
+<p>The <code>&lt;config-file&gt;</code> element defines what elements get put into a config file. For example to add a plugin to the platforms config.xml, you would do something like this :</p>
+
+<pre class="prettyprint"><code>&lt;config-file target="config.xml" parent="/*"&gt;
+    &lt;feature name="PluginName"&gt;
+        &lt;param name="wp-package" value="PluginName"/&gt;
+    &lt;/feature&gt;
+&lt;/config-file&gt;
+</code></pre>
+
+<p>If we wanted to add the contacts capability to the WMAppManifest.xml, it would look like this :</p>
+
+<pre class="prettyprint"><code>&lt;config-file target="Properties/WMAppManifest.xml" parent="/Deployment/App/Capabilities"&gt;
+    &lt;Capability Name="ID_CAP_CONTACTS" /&gt;
+&lt;/config-file&gt;
+</code></pre>
+
+<h2>
+<a name="Windows%20Phone%20Plugins_advanced_plugin_functionality">Advanced Plugin Functionality</a>
+</h2>
+
+<p>See other methods that you can override in:</p>
+
+<ul>
+<li><a class="external" href="https://github.com/apache/cordova-wp7/blob/master/templates/standalone/cordovalib/Commands/BaseCommand.cs">BaseCommand.cs</a></li>
+</ul>
+<p>For example, you can hook into the '<a href="cordova_events_events.md.html#pause">pause</a>' and '<a href="cordova_events_events.md.html#resume">resume</a>' application events.</p>
+
+<h3>Debugging Plugins</h3>
+
+<p>To debug the C# side, you can use Visual Studio's debugger, just set a break point
+at any of the methods exposed by your class.</p>
+
+<p>JavaScript is a little more difficult to debug on Windows Phone. You
+need to use <code>console.log</code> to output the state of your plugin, or
+inform yourself of errors.</p>
+
+<h2>
+<a name="Windows%20Phone%20Plugins_common_pitfalls">Common Pitfalls</a>
+</h2>
+
+<ul>
+<li>
+<p>Be careful when deciding on the arguments you pass to native in your JavaScript
+implementation. Most device platforms expect the args passed to cordova.exec
+to be an array, but if you have different types of objects in this array, it
+becomes difficult or impossible to deserialize.</p>
+
+<pre class="prettyprint"><code>cordova.exec(win, fail, "ServiceName", "MethodName", ["this is a string", 54, {literal:'trouble'}]);
+</code></pre>
+
+<ul>
+<li>
+<p>This means that your C# code receives a difficult to decode string value, such as:</p>
+
+<pre class="prettyprint"><code>"[\"this is a string\", 54, { literal:'trouble' }]"
+</code></pre>
+</li>
+<li>
+<p>Consider converting ALL parameters to strings before calling exec:</p>
+
+<pre class="prettyprint"><code>cordova.exec(win, fail, "ServiceName", "MethodName", ["this is a string", "54", "{literal:'trouble'}"]) ;
+
+
+string[] optValues = JsonHelper.Deserialize&lt;string[]&gt;(options);
+</code></pre>
+</li>
+</ul>
+</li>
+<li><p>It is usually a good idea to do parameter checking in your
+JavaScript code, before you call <code>exec</code>.  This allows you to re-use
+more JavaScript code among your plugin's various native
+implementations.</p></li>
+</ul>
+</div>
+        </div>
+
+        <!-- Functionality and Syntax Highlighting -->
+        <script type="text/javascript" src="index.js"></script><script type="text/javascript" src="prettify/prettify.js"></script>
+</body>
+</html>