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

[34/50] git commit: Add WP7 and WP8 platform files.

Add WP7 and WP8 platform files.


Project: http://git-wip-us.apache.org/repos/asf/cordova-cli/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-cli/commit/0fea2dd2
Tree: http://git-wip-us.apache.org/repos/asf/cordova-cli/tree/0fea2dd2
Diff: http://git-wip-us.apache.org/repos/asf/cordova-cli/diff/0fea2dd2

Branch: refs/heads/master2
Commit: 0fea2dd2264ada7f6811a238b71426b5f081af2c
Parents: 693521d
Author: Benn Mapes <be...@gmail.com>
Authored: Tue May 14 15:23:30 2013 -0700
Committer: Ian Clelland <ic...@chromium.org>
Committed: Thu May 23 16:04:02 2013 -0400

----------------------------------------------------------------------
 .gitignore                                         |    2 +
 lib/cordova-wp7/LICENSE                            |   12 +
 lib/cordova-wp7/NOTICE                             |    5 +
 lib/cordova-wp7/README.md                          |   50 +
 lib/cordova-wp7/VERSION                            |    1 +
 lib/cordova-wp7/bin/create.js                      |  252 +
 .../framework/Images/appbar.back.rest.png          |  Bin 0 -> 375 bytes
 .../framework/Images/appbar.close.rest.png         |  Bin 0 -> 359 bytes
 .../framework/Images/appbar.feature.video.rest.png |  Bin 0 -> 433 bytes
 .../framework/Images/appbar.next.rest.png          |  Bin 0 -> 388 bytes
 .../framework/Images/appbar.save.rest.png          |  Bin 0 -> 297 bytes
 .../framework/Images/appbar.stop.rest.png          |  Bin 0 -> 350 bytes
 .../framework/Properties/AssemblyInfo.cs           |   37 +
 lib/cordova-wp7/framework/WPCordovaClassLib.csproj |  297 +
 lib/cordova-wp7/framework/WPCordovaClassLib.sln    |   20 +
 .../framework/resources/notification-beep.wav      |  Bin 0 -> 16630 bytes
 lib/cordova-wp7/templates/standalone/App.xaml      |   37 +
 lib/cordova-wp7/templates/standalone/App.xaml.cs   |  154 +
 .../templates/standalone/ApplicationIcon.png       |  Bin 0 -> 4951 bytes
 .../templates/standalone/Background.png            |  Bin 0 -> 10259 bytes
 .../templates/standalone/BuildManifestProcessor.js |  106 +
 .../templates/standalone/CordovaAppProj.csproj     |  197 +
 .../templates/standalone/CordovaSolution.sln       |   22 +
 .../standalone/CordovaSourceDictionary.xml         |    9 +
 .../standalone/Images/appbar.back.rest.png         |  Bin 0 -> 375 bytes
 .../standalone/Images/appbar.close.rest.png        |  Bin 0 -> 359 bytes
 .../Images/appbar.feature.video.rest.png           |  Bin 0 -> 433 bytes
 .../standalone/Images/appbar.next.rest.png         |  Bin 0 -> 388 bytes
 .../standalone/Images/appbar.save.rest.png         |  Bin 0 -> 297 bytes
 .../standalone/Images/appbar.stop.rest.png         |  Bin 0 -> 350 bytes
 lib/cordova-wp7/templates/standalone/MainPage.xaml |   35 +
 .../templates/standalone/MainPage.xaml.cs          |   72 +
 .../templates/standalone/Plugins/Accelerometer.cs  |  196 +
 .../standalone/Plugins/AudioFormatsHelper.cs       |   89 +
 .../templates/standalone/Plugins/AudioPlayer.cs    |  620 ++
 .../templates/standalone/Plugins/Battery.cs        |   79 +
 .../templates/standalone/Plugins/Camera.cs         |  490 ++
 .../templates/standalone/Plugins/Capture.cs        |  736 ++
 .../templates/standalone/Plugins/Compass.cs        |  362 +
 .../templates/standalone/Plugins/Contacts.cs       |  664 ++
 .../templates/standalone/Plugins/DebugConsole.cs   |   49 +
 .../templates/standalone/Plugins/Device.cs         |  135 +
 .../templates/standalone/Plugins/File.cs           | 1676 ++++
 .../templates/standalone/Plugins/FileTransfer.cs   |  526 ++
 .../templates/standalone/Plugins/GeoLocation.cs    |   34 +
 .../templates/standalone/Plugins/Globalization.cs  | 1178 +++
 .../standalone/Plugins/ImageExifHelper.cs          |  209 +
 .../templates/standalone/Plugins/InAppBrowser.cs   |  268 +
 .../templates/standalone/Plugins/Media.cs          |  532 ++
 .../templates/standalone/Plugins/MimeTypeMapper.cs |   99 +
 .../templates/standalone/Plugins/NetworkStatus.cs  |  129 +
 .../templates/standalone/Plugins/Notification.cs   |  367 +
 .../standalone/Plugins/UI/AudioCaptureTask.cs      |  107 +
 .../standalone/Plugins/UI/AudioRecorder.xaml       |   66 +
 .../standalone/Plugins/UI/AudioRecorder.xaml.cs    |  306 +
 .../standalone/Plugins/UI/ImageCapture.xaml        |   26 +
 .../standalone/Plugins/UI/ImageCapture.xaml.cs     |  109 +
 .../standalone/Plugins/UI/NotificationBox.xaml     |   62 +
 .../standalone/Plugins/UI/NotificationBox.xaml.cs  |   41 +
 .../standalone/Plugins/UI/VideoCaptureTask.cs      |  105 +
 .../standalone/Plugins/UI/VideoRecorder.xaml       |   52 +
 .../standalone/Plugins/UI/VideoRecorder.xaml.cs    |  405 +
 .../standalone/Properties/AppManifest.xml          |    6 +
 .../standalone/Properties/AssemblyInfo.cs          |   38 +
 .../standalone/Properties/WMAppManifest.xml        |   41 +
 lib/cordova-wp7/templates/standalone/README.md     |   13 +
 .../templates/standalone/SplashScreenImage.jpg     |  Bin 0 -> 33248 bytes
 lib/cordova-wp7/templates/standalone/VERSION       |    1 +
 lib/cordova-wp7/templates/standalone/config.xml    |   49 +
 .../templates/standalone/cordova/build.bat         |    9 +
 .../templates/standalone/cordova/clean.bat         |    9 +
 .../cordova/lib/CordovaDeploy/CordovaDeploy.sln    |   20 +
 .../CordovaDeploy/CordovaDeploy.csproj             |   79 +
 .../lib/CordovaDeploy/CordovaDeploy/Program.cs     |  235 +
 .../CordovaDeploy/Properties/AssemblyInfo.cs       |   36 +
 .../templates/standalone/cordova/lib/build.js      |  181 +
 .../templates/standalone/cordova/lib/clean.js      |  124 +
 .../templates/standalone/cordova/lib/deploy.js     |  326 +
 .../standalone/cordova/lib/install-device.bat      |    9 +
 .../standalone/cordova/lib/install-emulator.bat    |    9 +
 .../standalone/cordova/lib/list-devices.bat        |    9 +
 .../cordova/lib/list-emulator-images.bat           |    9 +
 .../cordova/lib/list-started-emulators.bat         |    3 +
 .../templates/standalone/cordova/lib/log.js        |   77 +
 .../standalone/cordova/lib/start-emulator.bat      |    3 +
 .../standalone/cordova/lib/target-list.js          |  233 +
 .../templates/standalone/cordova/log.bat           |    3 +
 .../templates/standalone/cordova/run.bat           |    9 +
 .../standalone/cordovalib/BrowserMouseHelper.cs    |  345 +
 .../standalone/cordovalib/CommandFactory.cs        |  112 +
 .../standalone/cordovalib/Commands/BaseCommand.cs  |  187 +
 .../standalone/cordovalib/ConfigHandler.cs         |  249 +
 .../standalone/cordovalib/CordovaCommandCall.cs    |   98 +
 .../standalone/cordovalib/CordovaView.xaml         |   65 +
 .../standalone/cordovalib/CordovaView.xaml.cs      |  485 ++
 .../standalone/cordovalib/DOMStorageHelper.cs      |  145 +
 .../standalone/cordovalib/JSON/JsonHelper.cs       |   97 +
 .../standalone/cordovalib/NativeExecution.cs       |  246 +
 .../standalone/cordovalib/OrientationHelper.cs     |  128 +
 .../standalone/cordovalib/PluginResult.cs          |  139 +
 .../standalone/cordovalib/ScriptCallback.cs        |   80 +
 .../cordovalib/resources/notification-beep.wav     |  Bin 0 -> 16630 bytes
 .../standalone/resources/notification-beep.wav     |  Bin 0 -> 16630 bytes
 .../templates/standalone/www/cordova-2.7.0.js      | 6700 +++++++++++++++
 .../templates/standalone/www/css/index.css         |  115 +
 .../templates/standalone/www/img/logo.png          |  Bin 0 -> 21814 bytes
 .../templates/standalone/www/index.html            |   42 +
 .../templates/standalone/www/js/index.js           |   49 +
 .../templates/vs/MyTemplateStandAlone.vstemplate   |  115 +
 lib/cordova-wp7/templates/vs/description.txt       |    4 +
 lib/cordova-wp7/templates/vs/pg_templateIcon.png   |  Bin 0 -> 6546 bytes
 .../templates/vs/pg_templatePreview.jpg            |  Bin 0 -> 25875 bytes
 lib/cordova-wp7/tests/README.md                    |    7 +
 lib/cordova-wp7/tooling/scripts/buildjs.bat        |    2 +
 lib/cordova-wp7/tooling/scripts/buildjs.js         |  209 +
 lib/cordova-wp7/tooling/scripts/dist.bat           |    2 +
 lib/cordova-wp7/tooling/scripts/dist.js            |  217 +
 lib/cordova-wp7/tooling/scripts/new.bat            |    2 +
 lib/cordova-wp7/tooling/scripts/new.js             |  151 +
 lib/cordova-wp7/tooling/scripts/package.bat        |    2 +
 lib/cordova-wp7/tooling/scripts/package.js         |  213 +
 lib/cordova-wp7/tooling/scripts/reversion.bat      |    2 +
 lib/cordova-wp7/tooling/scripts/reversion.js       |  277 +
 lib/cordova-wp7/tooling/scripts/win-zip.js         |   32 +
 lib/cordova-wp8/LICENSE                            |   12 +
 lib/cordova-wp8/NOTICE                             |    5 +
 lib/cordova-wp8/README.md                          |   42 +
 lib/cordova-wp8/VERSION                            |    1 +
 .../framework/Images/appbar.back.rest.png          |  Bin 0 -> 375 bytes
 .../framework/Images/appbar.close.rest.png         |  Bin 0 -> 359 bytes
 .../framework/Images/appbar.feature.video.rest.png |  Bin 0 -> 433 bytes
 .../framework/Images/appbar.next.rest.png          |  Bin 0 -> 388 bytes
 .../framework/Images/appbar.save.rest.png          |  Bin 0 -> 297 bytes
 .../framework/Images/appbar.stop.rest.png          |  Bin 0 -> 350 bytes
 .../framework/Properties/AssemblyInfo.cs           |   35 +
 lib/cordova-wp8/framework/WPCordovaClassLib.csproj |  313 +
 lib/cordova-wp8/framework/WPCordovaClassLib.sln    |   32 +
 .../framework/resources/notification-beep.wav      |  Bin 0 -> 16630 bytes
 lib/cordova-wp8/templates/standalone/App.xaml      |   37 +
 lib/cordova-wp8/templates/standalone/App.xaml.cs   |  154 +
 .../templates/standalone/ApplicationIcon.png       |  Bin 0 -> 4951 bytes
 .../templates/standalone/Background.png            |  Bin 0 -> 10259 bytes
 .../templates/standalone/CordovaAppProj.csproj     |  228 +
 .../templates/standalone/CordovaSolution.sln       |   30 +
 .../standalone/Images/appbar.back.rest.png         |  Bin 0 -> 375 bytes
 .../standalone/Images/appbar.close.rest.png        |  Bin 0 -> 359 bytes
 .../Images/appbar.feature.video.rest.png           |  Bin 0 -> 433 bytes
 .../standalone/Images/appbar.next.rest.png         |  Bin 0 -> 388 bytes
 .../standalone/Images/appbar.save.rest.png         |  Bin 0 -> 297 bytes
 .../standalone/Images/appbar.stop.rest.png         |  Bin 0 -> 350 bytes
 lib/cordova-wp8/templates/standalone/MainPage.xaml |   53 +
 .../templates/standalone/MainPage.xaml.cs          |   72 +
 .../templates/standalone/Plugins/Accelerometer.cs  |  196 +
 .../standalone/Plugins/AudioFormatsHelper.cs       |   89 +
 .../templates/standalone/Plugins/AudioPlayer.cs    |  620 ++
 .../templates/standalone/Plugins/Battery.cs        |   79 +
 .../templates/standalone/Plugins/Camera.cs         |  490 ++
 .../templates/standalone/Plugins/Capture.cs        |  736 ++
 .../templates/standalone/Plugins/Compass.cs        |  362 +
 .../templates/standalone/Plugins/Contacts.cs       |  664 ++
 .../templates/standalone/Plugins/DebugConsole.cs   |   49 +
 .../templates/standalone/Plugins/Device.cs         |  135 +
 .../templates/standalone/Plugins/File.cs           | 1676 ++++
 .../templates/standalone/Plugins/FileTransfer.cs   |  526 ++
 .../templates/standalone/Plugins/GeoLocation.cs    |   34 +
 .../templates/standalone/Plugins/Globalization.cs  | 1177 +++
 .../standalone/Plugins/ImageExifHelper.cs          |  209 +
 .../templates/standalone/Plugins/InAppBrowser.cs   |  271 +
 .../templates/standalone/Plugins/Media.cs          |  547 ++
 .../templates/standalone/Plugins/MimeTypeMapper.cs |  101 +
 .../templates/standalone/Plugins/NetworkStatus.cs  |  129 +
 .../templates/standalone/Plugins/Notification.cs   |  361 +
 .../standalone/Plugins/UI/AudioCaptureTask.cs      |  107 +
 .../standalone/Plugins/UI/AudioRecorder.xaml       |   66 +
 .../standalone/Plugins/UI/AudioRecorder.xaml.cs    |  307 +
 .../standalone/Plugins/UI/ImageCapture.xaml        |   26 +
 .../standalone/Plugins/UI/ImageCapture.xaml.cs     |  109 +
 .../standalone/Plugins/UI/NotificationBox.xaml     |   62 +
 .../standalone/Plugins/UI/NotificationBox.xaml.cs  |   41 +
 .../standalone/Plugins/UI/VideoCaptureTask.cs      |  105 +
 .../standalone/Plugins/UI/VideoRecorder.xaml       |   52 +
 .../standalone/Plugins/UI/VideoRecorder.xaml.cs    |  405 +
 .../standalone/Properties/AppManifest.xml          |    6 +
 .../standalone/Properties/AssemblyInfo.cs          |   39 +
 .../standalone/Properties/WMAppManifest.xml        |   53 +
 .../templates/standalone/SplashScreenImage.jpg     |  Bin 0 -> 33248 bytes
 lib/cordova-wp8/templates/standalone/VERSION       |    1 +
 lib/cordova-wp8/templates/standalone/config.xml    |   49 +
 .../templates/standalone/cordova/build.bat         |    9 +
 .../templates/standalone/cordova/clean.bat         |    9 +
 .../cordova/lib/CordovaDeploy/CordovaDeploy.sln    |   20 +
 .../CordovaDeploy/CordovaDeploy.csproj             |   96 +
 .../lib/CordovaDeploy/CordovaDeploy/Program.cs     |  424 +
 .../CordovaDeploy/Properties/AssemblyInfo.cs       |   36 +
 .../lib/CordovaDeploy/CordovaDeploy/app.config     |    3 +
 .../templates/standalone/cordova/lib/build.js      |  181 +
 .../templates/standalone/cordova/lib/clean.js      |  124 +
 .../templates/standalone/cordova/lib/deploy.js     |  326 +
 .../standalone/cordova/lib/install-device.bat      |    9 +
 .../standalone/cordova/lib/install-emulator.bat    |    9 +
 .../standalone/cordova/lib/list-devices.bat        |    9 +
 .../cordova/lib/list-emulator-images.bat           |    9 +
 .../cordova/lib/list-started-emulators.bat         |    3 +
 .../templates/standalone/cordova/lib/log.js        |   77 +
 .../standalone/cordova/lib/start-emulator.bat      |    3 +
 .../standalone/cordova/lib/target-list.js          |  233 +
 .../templates/standalone/cordova/log.bat           |    3 +
 .../templates/standalone/cordova/run.bat           |    9 +
 .../standalone/cordovalib/BrowserMouseHelper.cs    |  162 +
 .../standalone/cordovalib/CommandFactory.cs        |  112 +
 .../standalone/cordovalib/Commands/BaseCommand.cs  |  187 +
 .../standalone/cordovalib/ConfigHandler.cs         |  242 +
 .../standalone/cordovalib/CordovaCommandCall.cs    |   99 +
 .../standalone/cordovalib/CordovaView.xaml         |   65 +
 .../standalone/cordovalib/CordovaView.xaml.cs      |  503 ++
 .../standalone/cordovalib/DOMStorageHelper.cs      |  145 +
 .../standalone/cordovalib/JSON/JsonHelper.cs       |   97 +
 .../standalone/cordovalib/NativeExecution.cs       |  246 +
 .../standalone/cordovalib/OrientationHelper.cs     |  128 +
 .../standalone/cordovalib/PluginResult.cs          |  139 +
 .../standalone/cordovalib/ScriptCallback.cs        |   80 +
 .../cordovalib/resources/notification-beep.wav     |  Bin 0 -> 16630 bytes
 .../standalone/resources/notification-beep.wav     |  Bin 0 -> 16630 bytes
 .../templates/standalone/www/cordova-2.7.0.js      | 6700 +++++++++++++++
 .../templates/standalone/www/css/index.css         |  115 +
 .../templates/standalone/www/img/logo.png          |  Bin 0 -> 21814 bytes
 .../templates/standalone/www/index.html            |   42 +
 .../templates/standalone/www/js/index.js           |   49 +
 .../templates/vs/MyTemplateStandAlone.vstemplate   |  113 +
 lib/cordova-wp8/templates/vs/description.txt       |    8 +
 lib/cordova-wp8/templates/vs/pg_templateIcon.png   |  Bin 0 -> 6546 bytes
 .../templates/vs/pg_templatePreview.jpg            |  Bin 0 -> 25875 bytes
 lib/cordova-wp8/tests/MobileSpecUnitTests/App.xaml |   38 +
 .../tests/MobileSpecUnitTests/App.xaml.cs          |  158 +
 .../tests/MobileSpecUnitTests/ApplicationIcon.png  |  Bin 0 -> 4951 bytes
 .../tests/MobileSpecUnitTests/Background.png       |  Bin 0 -> 10259 bytes
 .../tests/MobileSpecUnitTests/MainPage.xaml        |   52 +
 .../tests/MobileSpecUnitTests/MainPage.xaml.cs     |   42 +
 .../MobileSpecUnitTests/MobileSpecUnitTests.csproj |  247 +
 .../MobileSpecUnitTests/MobileSpecUnitTests.sln    |   44 +
 .../MobileSpecUnitTests/Properties/AppManifest.xml |    6 +
 .../MobileSpecUnitTests/Properties/AssemblyInfo.cs |   35 +
 .../Properties/WMAppManifest.xml                   |   51 +
 .../MobileSpecUnitTests/SplashScreenImage.jpg      |  Bin 0 -> 22066 bytes
 .../www/accelerometer/index.html                   |  138 +
 .../tests/MobileSpecUnitTests/www/audio/index.html |  394 +
 .../www/autotest/html/HtmlReporter.js              |  101 +
 .../www/autotest/html/HtmlReporterHelpers.js       |   60 +
 .../www/autotest/html/ReporterView.js              |  164 +
 .../www/autotest/html/SpecView.js                  |   79 +
 .../www/autotest/html/SuiteView.js                 |   22 +
 .../www/autotest/html/TrivialReporter.js           |  192 +
 .../MobileSpecUnitTests/www/autotest/index.html    |   37 +
 .../MobileSpecUnitTests/www/autotest/jasmine.css   |   81 +
 .../MobileSpecUnitTests/www/autotest/jasmine.js    | 2530 ++++++
 .../www/autotest/pages/accelerometer.html          |   48 +
 .../www/autotest/pages/all.html                    |   85 +
 .../www/autotest/pages/battery.html                |   44 +
 .../www/autotest/pages/bridge.html                 |   71 +
 .../www/autotest/pages/camera.html                 |   49 +
 .../www/autotest/pages/capture.html                |   49 +
 .../www/autotest/pages/compass.html                |   49 +
 .../www/autotest/pages/contacts.html               |   49 +
 .../www/autotest/pages/datauri.html                |   69 +
 .../www/autotest/pages/device.html                 |   49 +
 .../www/autotest/pages/file.html                   |   68 +
 .../www/autotest/pages/filetransfer.html           |   69 +
 .../www/autotest/pages/geolocation.html            |   49 +
 .../www/autotest/pages/globalization.html          |   70 +
 .../www/autotest/pages/media.html                  |   49 +
 .../www/autotest/pages/network.html                |   49 +
 .../www/autotest/pages/notification.html           |   49 +
 .../www/autotest/pages/platform.html               |   49 +
 .../www/autotest/pages/storage.html                |   49 +
 .../www/autotest/test-runner.js                    |   41 +
 .../www/autotest/tests/accelerometer.tests.js      |  193 +
 .../www/autotest/tests/battery.tests.js            |    5 +
 .../www/autotest/tests/bridge.tests.js             |  128 +
 .../www/autotest/tests/camera.tests.js             |   47 +
 .../www/autotest/tests/capture.tests.js            |   95 +
 .../www/autotest/tests/compass.tests.js            |   76 +
 .../www/autotest/tests/contacts.tests.js           |  451 +
 .../www/autotest/tests/datauri.tests.js            |   36 +
 .../www/autotest/tests/device.tests.js             |   34 +
 .../www/autotest/tests/file.tests.js               | 3462 ++++++++
 .../www/autotest/tests/filetransfer.tests.js       |  513 ++
 .../www/autotest/tests/geolocation.tests.js        |  119 +
 .../www/autotest/tests/globalization.tests.js      |  808 ++
 .../www/autotest/tests/media.tests.js              |  144 +
 .../www/autotest/tests/network.tests.js            |   25 +
 .../www/autotest/tests/notification.tests.js       |   20 +
 .../www/autotest/tests/platform.tests.js           |   10 +
 .../www/autotest/tests/storage.tests.js            |  174 +
 .../MobileSpecUnitTests/www/battery/index.html     |   96 +
 .../MobileSpecUnitTests/www/camera/index.html      |   96 +
 .../MobileSpecUnitTests/www/compass/index.html     |  128 +
 .../MobileSpecUnitTests/www/contacts/index.html    |  112 +
 .../tests/MobileSpecUnitTests/www/cordova-2.5.0.js | 6446 ++++++++++++++
 .../tests/MobileSpecUnitTests/www/cordova.js       |   14 +
 .../MobileSpecUnitTests/www/events/index.html      |   88 +
 .../tests/MobileSpecUnitTests/www/index.html       |   38 +
 .../MobileSpecUnitTests/www/location/index.html    |  147 +
 .../tests/MobileSpecUnitTests/www/main.js          |  140 +
 .../tests/MobileSpecUnitTests/www/master.css       |  136 +
 .../tests/MobileSpecUnitTests/www/misc/index.html  |   59 +
 .../tests/MobileSpecUnitTests/www/misc/page2.html  |   25 +
 .../MobileSpecUnitTests/www/network/index.html     |   59 +
 .../www/notification/index.html                    |   81 +
 .../tests/MobileSpecUnitTests/www/sql/index.html   |  132 +
 .../MobileSpecUnitTests/www/storage/index.html     |   50 +
 lib/cordova-wp8/tests/README.md                    |    7 +
 lib/cordova-wp8/tooling/scripts/buildjs.bat        |    2 +
 lib/cordova-wp8/tooling/scripts/buildjs.js         |  214 +
 lib/cordova-wp8/tooling/scripts/dist.bat           |    2 +
 lib/cordova-wp8/tooling/scripts/dist.js            |  202 +
 lib/cordova-wp8/tooling/scripts/new.bat            |    2 +
 lib/cordova-wp8/tooling/scripts/new.js             |  151 +
 lib/cordova-wp8/tooling/scripts/package.bat        |    2 +
 lib/cordova-wp8/tooling/scripts/package.js         |  213 +
 lib/cordova-wp8/tooling/scripts/reversion.bat      |    2 +
 lib/cordova-wp8/tooling/scripts/reversion.js       |  280 +
 lib/cordova-wp8/tooling/scripts/win-zip.js         |   43 +
 322 files changed, 65672 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/0fea2dd2/.gitignore
----------------------------------------------------------------------
diff --git a/.gitignore b/.gitignore
index 6a593f6..07b36d5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,6 +7,8 @@ spec/fixtures/projects/cordova
 lib/cordova-android/framework/bin
 lib/cordova-android/framework/gen
 lib/cordova-android/framework/local.properties
+lib/cordova-wp7/example
+lib/cordova-wp8/example
 .idea/*
 spec/fixtures/*
 .gitcore

http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/0fea2dd2/lib/cordova-wp7/LICENSE
----------------------------------------------------------------------
diff --git a/lib/cordova-wp7/LICENSE b/lib/cordova-wp7/LICENSE
new file mode 100644
index 0000000..6a504ba
--- /dev/null
+++ b/lib/cordova-wp7/LICENSE
@@ -0,0 +1,12 @@
+   
+Licensed 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.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/0fea2dd2/lib/cordova-wp7/NOTICE
----------------------------------------------------------------------
diff --git a/lib/cordova-wp7/NOTICE b/lib/cordova-wp7/NOTICE
new file mode 100644
index 0000000..c38e7d7
--- /dev/null
+++ b/lib/cordova-wp7/NOTICE
@@ -0,0 +1,5 @@
+Apache Cordova
+Copyright 2012 The Apache Software Foundation
+
+This product includes software developed by
+The Apache Software Foundation (http://www.apache.org)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/0fea2dd2/lib/cordova-wp7/README.md
----------------------------------------------------------------------
diff --git a/lib/cordova-wp7/README.md b/lib/cordova-wp7/README.md
new file mode 100644
index 0000000..0235986
--- /dev/null
+++ b/lib/cordova-wp7/README.md
@@ -0,0 +1,50 @@
+Apache Cordova for Windows Phone 7
+===
+
+Apache Cordova WP7 is a .net application library that lets you create Apache Cordova applications targeting Windows Phone 7 devices.
+Apache Cordova based applications are, at the core, an application written with web technology: HTML, CSS and JavaScript.
+
+Requires
+---
+
+- Windows Phone SDK 7.1 [http://create.msdn.com/en-us/home/getting_started]
+
+
+Getting Started
+---
+
+- copy the file templates/CordovaStarter-x.x.x.zip to the folder : \My Documents\Visual Studio 2010\Templates\ProjectTemplates\
+ - if you have just installed VisualStudio, you should launch it once to create this folder
+ - if you prefer, you may add the project instead to the "Silverlight for Windows Phone" subfolder of "Visual C#".  This is up to you, and only affects where the project template is shown when creating a new project. Also, You may need to create this folder.
+- Launch Visual Studio 2010 and select to create a new project
+ - CordovaStarter should be listed as an option, give your new project a name
+  - Note: The description will let you know the version of Cordova you are targeting, if you have multiple templates.
+ - If you do not see it, you may have to select the top level 'Visual C#' to see it
+- Build and Run it!
+
+Important!!!
+---
+
+When you add or remove files/folders in the www folder you will need to do the following :
+
+- ensure the new item is included in the project ( Content ) This includes ALL images/css/html/js/* and anything that you want available at runtime.
+- Do not modify the CordovaSourceDictionary.xml file which is included in the project, it is auto-generated for you when you build.
+
+Known Problem Areas
+---
+
+Many of the Media APIs will not function as expected when debugging while connect to the device with the Zune software.
+To get around this, you need to use the Windows Phone Connect tool. For details, please check out this [MSDN blog article](http://blogs.msdn.com/b/jaimer/archive/2010/11/03/tips-for-debugging-wp7-media-apps-with-wpconnect.aspx).
+
+
+BUGS?
+-----
+File them at Apache Incubator
+https://issues.apache.org/jira/browse/CB
+
+
+Further Reading
+---
+
+- [http://docs.cordova.io](http://docs.cordova.io)
+- [http://wiki.cordova.io](http://wiki.cordova.io)

http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/0fea2dd2/lib/cordova-wp7/VERSION
----------------------------------------------------------------------
diff --git a/lib/cordova-wp7/VERSION b/lib/cordova-wp7/VERSION
new file mode 100644
index 0000000..9aa3464
--- /dev/null
+++ b/lib/cordova-wp7/VERSION
@@ -0,0 +1 @@
+2.7.0
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/0fea2dd2/lib/cordova-wp7/bin/create.js
----------------------------------------------------------------------
diff --git a/lib/cordova-wp7/bin/create.js b/lib/cordova-wp7/bin/create.js
new file mode 100644
index 0000000..dac48de
--- /dev/null
+++ b/lib/cordova-wp7/bin/create.js
@@ -0,0 +1,252 @@
+/*
+       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.
+*/
+
+/*
+ * create a cordova/wp7 project
+ *
+ * USAGE
+ *  ./create [path package activity]
+
+    ./bin/create.bat C:\Users\Me\MyTestProj "test.proj" "TestProject"
+ */
+
+
+var fso=WScript.CreateObject("Scripting.FileSystemObject");
+var wscript_shell = WScript.CreateObject("WScript.Shell");
+// working dir
+var ROOT = WScript.ScriptFullName.split('\\bin\\create.js').join('');
+
+var args = WScript.Arguments,
+    FRAMEWORK_PATH = '\\framework',
+    TOOLING_PATH = '\\tooling',
+    TEMPLATES_PATH = '\\templates',
+    // sub folder for standalone project
+    STANDALONE_PATH = TEMPLATES_PATH + '\\standalone',
+    // default template to use when creating the project
+    CREATE_TEMPLATE = STANDALONE_PATH,
+    USE_DLL = false,
+    PROJECT_PATH, 
+    PACKAGE, 
+    NAME;
+
+    // get version number
+var VERSION=read(ROOT+'\\VERSION').replace(/\r\n/,'').replace(/\n/,'');
+var BASE_VERSION = VERSION.split('rc', 1) + ".0";
+
+function Usage() {
+    Log("Usage: create PathTONewProject [ PackageName AppName ]");
+    Log("    PathTONewProject : The path to where you wish to create the project");
+    Log("    PackageName      : The namespace for the project (default is Cordova.Example)")
+    Log("    AppName          : The name of the application (default is CordovaAppProj)");
+    Log("examples:");
+    Log("    create C:\\Users\\anonymous\\Desktop\\MyProject");
+    Log("    create C:\\Users\\anonymous\\Desktop\\MyProject io.Cordova.Example AnApp");
+}
+
+// logs messaged to stdout and stderr
+function Log(msg, error) {
+    if (error) {
+        WScript.StdErr.WriteLine(msg);
+    }
+    else {
+        WScript.StdOut.WriteLine(msg);
+    }
+}
+
+var ForReading = 1, ForWriting = 2, ForAppending = 8;
+var TristateUseDefault = -2, TristateTrue = -1, TristateFalse = 0;
+
+function read(filename) {
+    var f=fso.OpenTextFile(filename, 1,2);
+    var s=f.ReadAll();
+    f.Close();
+    return s;
+}
+
+function write(filename, contents) {
+    var f=fso.OpenTextFile(filename, ForWriting, TristateTrue);
+    f.Write(contents);
+    f.Close();
+}
+
+function replaceInFile(filename, regexp, replacement) {
+    write(filename,read(filename).replace(regexp,replacement));
+}
+
+
+// executes a commmand in the shell
+function exec(command) {
+    var oShell=wscript_shell.Exec(command);
+    while (oShell.Status == 0) {
+        WScript.sleep(100);
+    }
+}
+
+// executes a commmand in the shell
+function exec_verbose(command) {
+    //Log("Command: " + command);
+    var oShell=wscript_shell.Exec(command);
+    while (oShell.Status == 0) {
+        //Wait a little bit so we're not super looping
+        WScript.sleep(100);
+        //Print any stdout output from the script
+        if (!oShell.StdOut.AtEndOfStream) {
+            var line = oShell.StdOut.ReadLine();
+            Log(line);
+        }
+    }
+    //Check to make sure our scripts did not encounter an error
+    if (!oShell.StdErr.AtEndOfStream) {
+        var line = oShell.StdErr.ReadAll();
+        Log(line, true);
+        WScript.Quit(1);
+    }
+}
+
+//generate guid for the project
+function genGuid() {
+    var TypeLib = WScript.CreateObject("Scriptlet.TypeLib");
+    strGuid = TypeLib.Guid.split("}")[0]; // there is extra crap after the } that is causing file streams to break, probably an EOF ... 
+    strGuid = strGuid.replace(/[\{\}]/g,""); 
+    return strGuid;
+}
+
+// builds the new cordova dll from the framework
+function build_dll(path) {
+    if (fso.FolderExists(path + FRAMEWORK_PATH + '\\Bin')) {
+        fso.DeleteFolder(path + FRAMEWORK_PATH + '\\Bin');
+    }
+    if (fso.FolderExists(path + FRAMEWORK_PATH + '\\obj')) {
+        fso.DeleteFolder(path + FRAMEWORK_PATH + '\\obj');
+    }
+    // move to framework directory
+    wscript_shell.CurrentDirectory = path + FRAMEWORK_PATH;
+    // build .dll in Release
+    exec_verbose('msbuild /clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal /nologo /p:Configuration=Release;VersionNumber=' + VERSION + ';BaseVersionNumber=' + BASE_VERSION);
+    //Check if file dll was created
+    if (!fso.FileExists(path + FRAMEWORK_PATH + '\\Bin\\Release\\WPCordovaClassLib.dll')) {
+        Log('ERROR: MSBuild failed to create .dll when building WPCordovaClassLib.dll', true);
+        WScript.Quit(1);
+    }
+    Log("SUCCESS BUILDING DLL");
+}
+
+// creates new project in path, with the given package and app name
+function create(path, namespace, name) {
+    Log("Creating Cordova-WP7 Project:");
+    Log("\tApp Name : " + name);
+    Log("\tNamespace : " + namespace);
+    Log("\tPath : " + path);
+
+    // Copy the template source files to the new destination
+    fso.CopyFolder(ROOT + CREATE_TEMPLATE, path);
+
+    var newProjGuid = genGuid();
+    // replace the guid in the AppManifest
+    replaceInFile(path + "\\Properties\\WMAppManifest.xml","$guid1$",newProjGuid);
+    // replace safe-project-name in AppManifest
+    replaceInFile(path + "\\Properties\\WMAppManifest.xml",/\$safeprojectname\$/g,name);
+    replaceInFile(path + "\\Properties\\WMAppManifest.xml",/\$projectname\$/g,name);
+
+
+    replaceInFile(path + "\\App.xaml",/\$safeprojectname\$/g,namespace);
+    replaceInFile(path + "\\App.xaml.cs",/\$safeprojectname\$/g,namespace);
+
+    replaceInFile(path + "\\MainPage.xaml",/\$safeprojectname\$/g,namespace);
+    replaceInFile(path + "\\MainPage.xaml.cs",/\$safeprojectname\$/g,namespace);
+    replaceInFile(path + "\\CordovaAppProj.csproj",/\$safeprojectname\$/g,namespace);
+    if (NAME != "CordovaAppProj") {
+        var valid_name = NAME.replace(/(\.\s|\s\.|\s+|\.+)/g, '_');
+        replaceInFile(path + "\\CordovaSolution.sln", /CordovaAppProj/g, valid_name);
+        // rename project and solution
+        exec('%comspec% /c ren ' + path + "\\CordovaSolution.sln " + valid_name + '.sln');
+        exec('%comspec% /c ren ' + path + "\\CordovaAppProj.csproj " + valid_name + '.csproj');
+    }
+
+    //copy .dll if necessary
+    if (USE_DLL) {
+        var dllPath = ROOT + FRAMEWORK_PATH + '\\Bin\\Release\\WPCordovaClassLib.dll';
+        if (fso.FileExists(dllPath)) {
+            Log("WPCordovaClassLib.dll Found,  creating project");
+        }
+        else {
+            Log("WPCordovaClassLib.dll was not Found in " + dllPath);
+            Log('BUILDING: WPCordovaClassLib.dll');
+            build_dll(ROOT);
+        }
+
+        if (!fso.FolderExists(path + '\\CordovaLib')) {
+            fso.CreateFolder(path + '\\CordovaLib');
+        }
+        exec('%comspec% /c xcopy ' + ROOT + FRAMEWORK_PATH + '\\Bin\\Release\\WPCordovaClassLib.dll ' + path + '\\CordovaLib');
+        if (!fso.FileExists(path + '\\CordovaLib\\WPCordovaClassLib.dll')) {
+            Log('ERROR: Failed to copy WPCordovaClassLib.dll to project from', true);
+            Log('\t' + ROOT + FRAMEWORK_PATH + '\\Bin\\Release\\WPCordovaClassLib.dll', true);
+            Log('\tto', true);
+            Log('\t' + path + '\\CordovaLib', true)
+            WScript.Quit(1);
+        }
+    }
+
+    Log("CREATE SUCCESS : " + path);
+
+    // TODO: Name the project according to the arguments
+    // update the solution to include the new project by name
+    // version BS
+    // index.html title set to project name ?
+
+}
+
+if (args.Count() > 0) {
+    // support help flags
+    if (args(0) == "--help" || args(0) == "/?" ||
+            args(0) == "help" || args(0) == "-help" || args(0) == "/help" || args(0) == "-h") {
+        Usage();
+        WScript.Quit(1);
+    }
+
+    PROJECT_PATH = args(0);
+    if (fso.FolderExists(PROJECT_PATH)) {
+        Log("Project directory already exists:", true);
+        Log("\t" + PROJECT_PATH, true);
+        Log("CREATE FAILED.", true);
+        WScript.Quit(1);
+    }
+
+    if (args.Count() > 1) {
+        PACKAGE = args(1);
+    }
+    else {
+        PACKAGE = "Cordova.Example";
+    }
+
+    if (args.Count() > 2) {
+        NAME = args(2);
+    }
+    else {
+        NAME = "CordovaAppProj";
+    }
+
+    create(PROJECT_PATH, PACKAGE, NAME);
+}
+else {
+    Usage();
+    WScript.Quit(1);
+}
+

http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/0fea2dd2/lib/cordova-wp7/framework/Images/appbar.back.rest.png
----------------------------------------------------------------------
diff --git a/lib/cordova-wp7/framework/Images/appbar.back.rest.png b/lib/cordova-wp7/framework/Images/appbar.back.rest.png
new file mode 100644
index 0000000..4bc2b92
Binary files /dev/null and b/lib/cordova-wp7/framework/Images/appbar.back.rest.png differ

http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/0fea2dd2/lib/cordova-wp7/framework/Images/appbar.close.rest.png
----------------------------------------------------------------------
diff --git a/lib/cordova-wp7/framework/Images/appbar.close.rest.png b/lib/cordova-wp7/framework/Images/appbar.close.rest.png
new file mode 100644
index 0000000..8166a1c
Binary files /dev/null and b/lib/cordova-wp7/framework/Images/appbar.close.rest.png differ

http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/0fea2dd2/lib/cordova-wp7/framework/Images/appbar.feature.video.rest.png
----------------------------------------------------------------------
diff --git a/lib/cordova-wp7/framework/Images/appbar.feature.video.rest.png b/lib/cordova-wp7/framework/Images/appbar.feature.video.rest.png
new file mode 100644
index 0000000..baff565
Binary files /dev/null and b/lib/cordova-wp7/framework/Images/appbar.feature.video.rest.png differ

http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/0fea2dd2/lib/cordova-wp7/framework/Images/appbar.next.rest.png
----------------------------------------------------------------------
diff --git a/lib/cordova-wp7/framework/Images/appbar.next.rest.png b/lib/cordova-wp7/framework/Images/appbar.next.rest.png
new file mode 100644
index 0000000..ed577d7
Binary files /dev/null and b/lib/cordova-wp7/framework/Images/appbar.next.rest.png differ

http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/0fea2dd2/lib/cordova-wp7/framework/Images/appbar.save.rest.png
----------------------------------------------------------------------
diff --git a/lib/cordova-wp7/framework/Images/appbar.save.rest.png b/lib/cordova-wp7/framework/Images/appbar.save.rest.png
new file mode 100644
index 0000000..d49940e
Binary files /dev/null and b/lib/cordova-wp7/framework/Images/appbar.save.rest.png differ

http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/0fea2dd2/lib/cordova-wp7/framework/Images/appbar.stop.rest.png
----------------------------------------------------------------------
diff --git a/lib/cordova-wp7/framework/Images/appbar.stop.rest.png b/lib/cordova-wp7/framework/Images/appbar.stop.rest.png
new file mode 100644
index 0000000..4dd724f
Binary files /dev/null and b/lib/cordova-wp7/framework/Images/appbar.stop.rest.png differ

http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/0fea2dd2/lib/cordova-wp7/framework/Properties/AssemblyInfo.cs
----------------------------------------------------------------------
diff --git a/lib/cordova-wp7/framework/Properties/AssemblyInfo.cs b/lib/cordova-wp7/framework/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..62c7964
--- /dev/null
+++ b/lib/cordova-wp7/framework/Properties/AssemblyInfo.cs
@@ -0,0 +1,37 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following 
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("WPCordovaClassLib")]
+[assembly: AssemblyDescription("2.7.0")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("Apache Cordova")]
+[assembly: AssemblyProduct("WPCordovaClassLib")]
+[assembly: AssemblyCopyright("")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible 
+// to COM components.  If you need to access a type in this assembly from 
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("633ee7ad-9a75-4b68-96e9-281528c50275")]
+
+// Version information for an assembly consists of the following four values:
+//
+//      Major Version
+//      Minor Version 
+//      Build Number
+//      Revision
+//
+// You can specify all the values or you can default the Revision and Build Numbers 
+// by using the '*' as shown below:
+
+[assembly: AssemblyVersion("2.7.0.0")]
+[assembly: AssemblyFileVersion("2.6.0rc1")]
+

http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/0fea2dd2/lib/cordova-wp7/framework/WPCordovaClassLib.csproj
----------------------------------------------------------------------
diff --git a/lib/cordova-wp7/framework/WPCordovaClassLib.csproj b/lib/cordova-wp7/framework/WPCordovaClassLib.csproj
new file mode 100644
index 0000000..1292286
--- /dev/null
+++ b/lib/cordova-wp7/framework/WPCordovaClassLib.csproj
@@ -0,0 +1,297 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ 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. 
+-->
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProductVersion>10.0.20506</ProductVersion>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{FC6A1A70-892D-46AD-9E4A-9793F72AF780}</ProjectGuid>
+    <ProjectTypeGuids>{C089C8C0-30E0-4E22-80C0-CE093F111A43};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
+    <OutputType>Library</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>WPCordovaClassLib</RootNamespace>
+    <AssemblyName>WPCordovaClassLib</AssemblyName>
+    <AssemblyVersion>$(BaseVersionNumber)</AssemblyVersion>
+    <AssemblyFileVersion>$(VersionNumber)</AssemblyFileVersion>
+    <AssemblyDescription>$(VersionNumber)</AssemblyDescription>
+    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+    <SilverlightVersion>$(TargetFrameworkVersion)</SilverlightVersion>
+    <TargetFrameworkProfile>WindowsPhone71</TargetFrameworkProfile>
+    <TargetFrameworkIdentifier>Silverlight</TargetFrameworkIdentifier>
+    <SilverlightApplication>false</SilverlightApplication>
+    <ValidateXaml>true</ValidateXaml>
+    <ThrowErrorsInValidation>true</ThrowErrorsInValidation>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>Bin\Debug</OutputPath>
+    <DefineConstants>TRACE;DEBUG;SILVERLIGHT;WINDOWS_PHONE;CORDOVA_CLASSLIB</DefineConstants>
+    <NoStdLib>true</NoStdLib>
+    <NoConfig>true</NoConfig>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>Bin\Release</OutputPath>
+    <DefineConstants>TRACE;DEBUG;SILVERLIGHT;WINDOWS_PHONE;CORDOVA_CLASSLIB</DefineConstants>
+    <NoStdLib>true</NoStdLib>
+    <NoConfig>true</NoConfig>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <DocumentationFile>
+    </DocumentationFile>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="Microsoft.Devices.Sensors" />
+    <Reference Include="Microsoft.Phone" />
+    <Reference Include="Microsoft.Phone.Interop" />
+    <Reference Include="Microsoft.Xna.Framework" />
+    <Reference Include="System.Device" />
+    <Reference Include="System.Runtime.Serialization" />
+    <Reference Include="System.Servicemodel" />
+    <Reference Include="System.Servicemodel.Web" />
+    <Reference Include="System.Windows" />
+    <Reference Include="system" />
+    <Reference Include="System.Core" />
+    <Reference Include="System.Xml" />
+    <Reference Include="System.Net" />
+    <Reference Include="System.Xml.Linq" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="..\templates\standalone\cordovalib\BrowserMouseHelper.cs">
+      <Link>CordovaLib\BrowserMouseHelper.cs</Link>
+    </Compile>
+    <Compile Include="..\templates\standalone\cordovalib\CommandFactory.cs">
+      <Link>CordovaLib\CommandFactory.cs</Link>
+    </Compile>
+    <Compile Include="..\templates\standalone\cordovalib\Commands\BaseCommand.cs">
+      <Link>CordovaLib\Commands\BaseCommand.cs</Link>
+    </Compile>
+    <Compile Include="..\templates\standalone\cordovalib\ConfigHandler.cs">
+      <Link>CordovaLib\ConfigHandler.cs</Link>
+    </Compile>
+    <Compile Include="..\templates\standalone\cordovalib\CordovaCommandCall.cs">
+      <Link>CordovaLib\CordovaCommandCall.cs</Link>
+    </Compile>
+    <Compile Include="..\templates\standalone\cordovalib\CordovaView.xaml.cs">
+      <Link>CordovaLib\CordovaView.xaml.cs</Link>
+      <DependentUpon>CordovaView.xaml</DependentUpon>
+    </Compile>
+    <Compile Include="..\templates\standalone\cordovalib\DOMStorageHelper.cs">
+      <Link>CordovaLib\DOMStorageHelper.cs</Link>
+    </Compile>
+    <Compile Include="..\templates\standalone\cordovalib\JSON\JsonHelper.cs">
+      <Link>CordovaLib\JSON\JsonHelper.cs</Link>
+    </Compile>
+    <Compile Include="..\templates\standalone\cordovalib\NativeExecution.cs">
+      <Link>CordovaLib\NativeExecution.cs</Link>
+    </Compile>
+    <Compile Include="..\templates\standalone\cordovalib\OrientationHelper.cs">
+      <Link>CordovaLib\OrientationHelper.cs</Link>
+    </Compile>
+    <Compile Include="..\templates\standalone\cordovalib\PluginResult.cs">
+      <Link>CordovaLib\PluginResult.cs</Link>
+    </Compile>
+    <Compile Include="..\templates\standalone\cordovalib\ScriptCallback.cs">
+      <Link>CordovaLib\ScriptCallback.cs</Link>
+    </Compile>
+    <Compile Include="..\templates\standalone\Plugins\Accelerometer.cs">
+      <Link>CordovaLib\Plugins\Accelerometer.cs</Link>
+    </Compile>
+    <Compile Include="..\templates\standalone\Plugins\AudioFormatsHelper.cs">
+      <Link>CordovaLib\Plugins\AudioFormatsHelper.cs</Link>
+    </Compile>
+    <Compile Include="..\templates\standalone\Plugins\AudioPlayer.cs">
+      <Link>CordovaLib\Plugins\AudioPlayer.cs</Link>
+    </Compile>
+    <Compile Include="..\templates\standalone\Plugins\Battery.cs">
+      <Link>CordovaLib\Plugins\Battery.cs</Link>
+    </Compile>
+    <Compile Include="..\templates\standalone\Plugins\Camera.cs">
+      <Link>CordovaLib\Plugins\Camera.cs</Link>
+    </Compile>
+    <Compile Include="..\templates\standalone\Plugins\Capture.cs">
+      <Link>CordovaLib\Plugins\Capture.cs</Link>
+    </Compile>
+    <Compile Include="..\templates\standalone\Plugins\Compass.cs">
+      <Link>CordovaLib\Plugins\Compass.cs</Link>
+    </Compile>
+    <Compile Include="..\templates\standalone\Plugins\Contacts.cs">
+      <Link>CordovaLib\Plugins\Contacts.cs</Link>
+    </Compile>
+    <Compile Include="..\templates\standalone\Plugins\DebugConsole.cs">
+      <Link>CordovaLib\Plugins\DebugConsole.cs</Link>
+    </Compile>
+    <Compile Include="..\templates\standalone\Plugins\Device.cs">
+      <Link>CordovaLib\Plugins\Device.cs</Link>
+    </Compile>
+    <Compile Include="..\templates\standalone\Plugins\File.cs">
+      <Link>CordovaLib\Plugins\File.cs</Link>
+    </Compile>
+    <Compile Include="..\templates\standalone\Plugins\FileTransfer.cs">
+      <Link>CordovaLib\Plugins\FileTransfer.cs</Link>
+    </Compile>
+    <Compile Include="..\templates\standalone\Plugins\GeoLocation.cs">
+      <Link>CordovaLib\Plugins\GeoLocation.cs</Link>
+    </Compile>
+    <Compile Include="..\templates\standalone\Plugins\Globalization.cs">
+      <Link>CordovaLib\Plugins\Globalization.cs</Link>
+    </Compile>
+    <Compile Include="..\templates\standalone\Plugins\ImageExifHelper.cs">
+      <Link>CordovaLib\Plugins\ImageExifHelper.cs</Link>
+    </Compile>
+    <Compile Include="..\templates\standalone\Plugins\InAppBrowser.cs">
+      <Link>CordovaLib\Plugins\InAppBrowser.cs</Link>
+    </Compile>
+    <Compile Include="..\templates\standalone\Plugins\Media.cs">
+      <Link>CordovaLib\Plugins\Media.cs</Link>
+    </Compile>
+    <Compile Include="..\templates\standalone\Plugins\MimeTypeMapper.cs">
+      <Link>CordovaLib\Plugins\MimeTypeMapper.cs</Link>
+    </Compile>
+    <Compile Include="..\templates\standalone\Plugins\NetworkStatus.cs">
+      <Link>CordovaLib\Plugins\NetworkStatus.cs</Link>
+    </Compile>
+    <Compile Include="..\templates\standalone\Plugins\Notification.cs">
+      <Link>CordovaLib\Plugins\Notification.cs</Link>
+    </Compile>
+    <Compile Include="..\templates\standalone\Plugins\UI\AudioCaptureTask.cs">
+      <Link>CordovaLib\Plugins\UI\AudioCaptureTask.cs</Link>
+    </Compile>
+    <Compile Include="..\templates\standalone\Plugins\UI\AudioRecorder.xaml.cs">
+      <Link>CordovaLib\Plugins\UI\AudioRecorder.xaml.cs</Link>
+    </Compile>
+    <Compile Include="..\templates\standalone\Plugins\UI\ImageCapture.xaml.cs">
+      <Link>CordovaLib\Plugins\UI\ImageCapture.xaml.cs</Link>
+    </Compile>
+    <Compile Include="..\templates\standalone\Plugins\UI\NotificationBox.xaml.cs">
+      <Link>CordovaLib\Plugins\UI\NotificationBox.xaml.cs</Link>
+    </Compile>
+    <Compile Include="..\templates\standalone\Plugins\UI\VideoCaptureTask.cs">
+      <Link>CordovaLib\Plugins\UI\VideoCaptureTask.cs</Link>
+    </Compile>
+    <Compile Include="..\templates\standalone\Plugins\UI\VideoRecorder.xaml.cs">
+      <Link>CordovaLib\Plugins\UI\VideoRecorder.xaml.cs</Link>
+    </Compile>
+    <Compile Include="Properties\AssemblyInfo.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <Content Include="..\templates\standalone\cordovalib\resources\notification-beep.wav">
+      <Link>CordovaLib\resources\notification-beep.wav</Link>
+    </Content>
+    <Content Include="..\templates\standalone\Images\appbar.back.rest.png">
+      <Link>CordovaLib\Images\appbar.back.rest.png</Link>
+    </Content>
+    <Content Include="..\templates\standalone\Images\appbar.close.rest.png">
+      <Link>CordovaLib\Images\appbar.close.rest.png</Link>
+    </Content>
+    <Content Include="..\templates\standalone\Images\appbar.feature.video.rest.png">
+      <Link>CordovaLib\Images\appbar.feature.video.rest.png</Link>
+    </Content>
+    <Content Include="..\templates\standalone\Images\appbar.next.rest.png">
+      <Link>CordovaLib\Images\appbar.next.rest.png</Link>
+    </Content>
+    <Content Include="..\templates\standalone\Images\appbar.save.rest.png">
+      <Link>CordovaLib\Images\appbar.save.rest.png</Link>
+    </Content>
+    <Content Include="..\templates\standalone\Images\appbar.stop.rest.png">
+      <Link>CordovaLib\Images\appbar.stop.rest.png</Link>
+    </Content>
+    <Content Include="Images\appbar.back.rest.png">
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="Images\appbar.close.rest.png">
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="Images\appbar.feature.video.rest.png">
+      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+    </Content>
+    <Content Include="Images\appbar.next.rest.png">
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="Images\appbar.stop.rest.png">
+      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+    </Content>
+    <Content Include="Images\appbar.save.rest.png">
+      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+    </Content>
+  </ItemGroup>
+  <ItemGroup>
+    <Service Include="{508349B6-6B84-4DF5-91F0-309BEEBAD82D}" />
+  </ItemGroup>
+  <ItemGroup>
+    <Resource Include="resources\notification-beep.wav" />
+  </ItemGroup>
+  <ItemGroup>
+    <Page Include="..\templates\standalone\cordovalib\CordovaView.xaml">
+      <Link>CordovaLib\CordovaView.xaml</Link>
+      <Generator>MSBuild:Compile</Generator>
+      <SubType>Designer</SubType>
+    </Page>
+    <Page Include="..\templates\standalone\Plugins\UI\AudioRecorder.xaml">
+      <Link>CordovaLib\Plugins\UI\AudioRecorder.xaml</Link>
+      <Generator>MSBuild:Compile</Generator>
+      <SubType>Designer</SubType>
+    </Page>
+    <Page Include="..\templates\standalone\Plugins\UI\ImageCapture.xaml">
+      <Link>CordovaLib\Plugins\UI\ImageCapture.xaml</Link>
+      <Generator>MSBuild:Compile</Generator>
+      <SubType>Designer</SubType>
+    </Page>
+    <Page Include="..\templates\standalone\Plugins\UI\NotificationBox.xaml">
+      <Link>CordovaLib\Plugins\UI\NotificationBox.xaml</Link>
+      <Generator>MSBuild:Compile</Generator>
+      <SubType>Designer</SubType>
+    </Page>
+    <Page Include="..\templates\standalone\Plugins\UI\VideoRecorder.xaml">
+      <Link>CordovaLib\Plugins\UI\VideoRecorder.xaml</Link>
+      <Generator>MSBuild:Compile</Generator>
+      <SubType>Designer</SubType>
+    </Page>
+  </ItemGroup>
+  <Import Project="$(MSBuildExtensionsPath)\Microsoft\Silverlight for Phone\$(TargetFrameworkVersion)\Microsoft.Silverlight.$(TargetFrameworkProfile).Overrides.targets" />
+  <Import Project="$(MSBuildExtensionsPath)\Microsoft\Silverlight for Phone\$(TargetFrameworkVersion)\Microsoft.Silverlight.CSharp.targets" />
+  <ProjectExtensions />
+  <PropertyGroup>
+    <PreBuildEvent>
+    </PreBuildEvent>
+  </PropertyGroup>
+  <PropertyGroup>
+    <PostBuildEvent>
+    </PostBuildEvent>
+  </PropertyGroup>
+  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
+       Other similar extension points exist, see Microsoft.Common.targets.
+  <Target Name="BeforeBuild">
+    <AssemblyInfo
+      AssemblyVersion="$(BaseVersion)"
+      AssemblyFileVersion="$(BaseVersion)"
+      AssemblyDescription="$(VersionNumber)"
+    >
+    </AssemblyInfo>
+  </Target>
+  <Target Name="AfterBuild">
+  </Target>-->
+</Project>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/0fea2dd2/lib/cordova-wp7/framework/WPCordovaClassLib.sln
----------------------------------------------------------------------
diff --git a/lib/cordova-wp7/framework/WPCordovaClassLib.sln b/lib/cordova-wp7/framework/WPCordovaClassLib.sln
new file mode 100644
index 0000000..2d5e088
--- /dev/null
+++ b/lib/cordova-wp7/framework/WPCordovaClassLib.sln
@@ -0,0 +1,20 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 2012
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WPCordovaClassLib", "WPCordovaClassLib.csproj", "{FC6A1A70-892D-46AD-9E4A-9793F72AF780}"
+EndProject
+Global
+	GlobalSection(SolutionConfigurationPlatforms) = preSolution
+		Debug|Any CPU = Debug|Any CPU
+		Release|Any CPU = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(ProjectConfigurationPlatforms) = postSolution
+		{FC6A1A70-892D-46AD-9E4A-9793F72AF780}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{FC6A1A70-892D-46AD-9E4A-9793F72AF780}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{FC6A1A70-892D-46AD-9E4A-9793F72AF780}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{FC6A1A70-892D-46AD-9E4A-9793F72AF780}.Release|Any CPU.Build.0 = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(SolutionProperties) = preSolution
+		HideSolutionNode = FALSE
+	EndGlobalSection
+EndGlobal

http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/0fea2dd2/lib/cordova-wp7/framework/resources/notification-beep.wav
----------------------------------------------------------------------
diff --git a/lib/cordova-wp7/framework/resources/notification-beep.wav b/lib/cordova-wp7/framework/resources/notification-beep.wav
new file mode 100644
index 0000000..d0ad085
Binary files /dev/null and b/lib/cordova-wp7/framework/resources/notification-beep.wav differ

http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/0fea2dd2/lib/cordova-wp7/templates/standalone/App.xaml
----------------------------------------------------------------------
diff --git a/lib/cordova-wp7/templates/standalone/App.xaml b/lib/cordova-wp7/templates/standalone/App.xaml
new file mode 100644
index 0000000..18072fe
--- /dev/null
+++ b/lib/cordova-wp7/templates/standalone/App.xaml
@@ -0,0 +1,37 @@
+<!--
+ 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. 
+-->
+<Application 
+    x:Class="$safeprojectname$.App"
+    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"       
+    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
+    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone">
+
+    <!--Application Resources-->
+    <Application.Resources>
+    </Application.Resources>
+
+    <Application.ApplicationLifetimeObjects>
+        <!--Required object that handles lifetime events for the application-->
+        <shell:PhoneApplicationService 
+            Launching="Application_Launching" Closing="Application_Closing" 
+            Activated="Application_Activated" Deactivated="Application_Deactivated"/>
+    </Application.ApplicationLifetimeObjects>
+
+</Application>

http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/0fea2dd2/lib/cordova-wp7/templates/standalone/App.xaml.cs
----------------------------------------------------------------------
diff --git a/lib/cordova-wp7/templates/standalone/App.xaml.cs b/lib/cordova-wp7/templates/standalone/App.xaml.cs
new file mode 100644
index 0000000..2b7306d
--- /dev/null
+++ b/lib/cordova-wp7/templates/standalone/App.xaml.cs
@@ -0,0 +1,154 @@
+/*
+ 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. 
+*/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using Microsoft.Phone.Controls;
+using Microsoft.Phone.Shell;
+
+namespace $safeprojectname$
+{
+    public partial class App : Application
+    {
+        /// <summary>
+        /// Provides easy access to the root frame of the Phone Application.
+        /// </summary>
+        /// <returns>The root frame of the Phone Application.</returns>
+        public PhoneApplicationFrame RootFrame { get; private set; }
+
+        /// <summary>
+        /// Constructor for the Application object.
+        /// </summary>
+        public App()
+        {
+            // Global handler for uncaught exceptions. 
+            UnhandledException += Application_UnhandledException;
+
+            // Show graphics profiling information while debugging.
+            if (System.Diagnostics.Debugger.IsAttached)
+            {
+                // Display the current frame rate counters.
+                //Application.Current.Host.Settings.EnableFrameRateCounter = true;
+
+                // Show the areas of the app that are being redrawn in each frame.
+                //Application.Current.Host.Settings.EnableRedrawRegions = true;
+
+                // Enable non-production analysis visualization mode, 
+                // which shows areas of a page that are being GPU accelerated with a colored overlay.
+                //Application.Current.Host.Settings.EnableCacheVisualization = true;
+            }
+
+            // Standard Silverlight initialization
+            InitializeComponent();
+
+            // Phone-specific initialization
+            InitializePhoneApplication();
+        }
+
+        // Code to execute when the application is launching (eg, from Start)
+        // This code will not execute when the application is reactivated
+        private void Application_Launching(object sender, LaunchingEventArgs e)
+        {
+        }
+
+        // Code to execute when the application is activated (brought to foreground)
+        // This code will not execute when the application is first launched
+        private void Application_Activated(object sender, ActivatedEventArgs e)
+        {
+        }
+
+        // Code to execute when the application is deactivated (sent to background)
+        // This code will not execute when the application is closing
+        private void Application_Deactivated(object sender, DeactivatedEventArgs e)
+        {
+        }
+
+        // Code to execute when the application is closing (eg, user hit Back)
+        // This code will not execute when the application is deactivated
+        private void Application_Closing(object sender, ClosingEventArgs e)
+        {
+        }
+
+        // Code to execute if a navigation fails
+        private void RootFrame_NavigationFailed(object sender, NavigationFailedEventArgs e)
+        {
+            if (System.Diagnostics.Debugger.IsAttached)
+            {
+                // A navigation has failed; break into the debugger
+                System.Diagnostics.Debugger.Break();
+            }
+        }
+
+        // Code to execute on Unhandled Exceptions
+        private void Application_UnhandledException(object sender, ApplicationUnhandledExceptionEventArgs e)
+        {
+            if (System.Diagnostics.Debugger.IsAttached)
+            {
+                // An unhandled exception has occurred; break into the debugger
+                System.Diagnostics.Debugger.Break();
+            }
+        }
+
+        #region Phone application initialization
+
+        // Avoid double-initialization
+        private bool phoneApplicationInitialized = false;
+
+        // Do not add any additional code to this method
+        private void InitializePhoneApplication()
+        {
+            if (phoneApplicationInitialized)
+                return;
+
+            // Create the frame but don't set it as RootVisual yet; this allows the splash
+            // screen to remain active until the application is ready to render.
+            RootFrame = new PhoneApplicationFrame();
+            RootFrame.Navigated += CompleteInitializePhoneApplication;
+
+            // Handle navigation failures
+            RootFrame.NavigationFailed += RootFrame_NavigationFailed;
+
+            // Ensure we don't initialize again
+            phoneApplicationInitialized = true;
+        }
+
+        // Do not add any additional code to this method
+        private void CompleteInitializePhoneApplication(object sender, NavigationEventArgs e)
+        {
+            // Set the root visual to allow the application to render
+            if (RootVisual != RootFrame)
+                RootVisual = RootFrame;
+
+            // Remove this handler since it is no longer needed
+            RootFrame.Navigated -= CompleteInitializePhoneApplication;
+        }
+
+        #endregion
+    }
+}

http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/0fea2dd2/lib/cordova-wp7/templates/standalone/ApplicationIcon.png
----------------------------------------------------------------------
diff --git a/lib/cordova-wp7/templates/standalone/ApplicationIcon.png b/lib/cordova-wp7/templates/standalone/ApplicationIcon.png
new file mode 100644
index 0000000..6b69046
Binary files /dev/null and b/lib/cordova-wp7/templates/standalone/ApplicationIcon.png differ

http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/0fea2dd2/lib/cordova-wp7/templates/standalone/Background.png
----------------------------------------------------------------------
diff --git a/lib/cordova-wp7/templates/standalone/Background.png b/lib/cordova-wp7/templates/standalone/Background.png
new file mode 100644
index 0000000..2667df4
Binary files /dev/null and b/lib/cordova-wp7/templates/standalone/Background.png differ

http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/0fea2dd2/lib/cordova-wp7/templates/standalone/BuildManifestProcessor.js
----------------------------------------------------------------------
diff --git a/lib/cordova-wp7/templates/standalone/BuildManifestProcessor.js b/lib/cordova-wp7/templates/standalone/BuildManifestProcessor.js
new file mode 100644
index 0000000..ab2ac9d
--- /dev/null
+++ b/lib/cordova-wp7/templates/standalone/BuildManifestProcessor.js
@@ -0,0 +1,106 @@
+/*
+ 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. 
+*/
+var objArgs = WScript.Arguments;
+for (i = 0; i < objArgs.length; i++) {
+    WScript.Echo("Arg :: " + objArgs(i));
+}
+
+var projectFilePath = null;
+if (objArgs && objArgs.length > 0) {
+    projectFilePath = objArgs(0);
+}
+
+
+var fso = WScript.CreateObject("Scripting.FileSystemObject");
+var outFile = fso.CreateTextFile("..\\..\\CordovaSourceDictionary.xml", true);
+
+outFile.WriteLine('<?xml version="1.0" encoding="utf-8"?>');
+outFile.WriteLine('<!-- This file is auto-generated, do not edit! -jm -->');
+outFile.WriteLine('<CordovaSourceDictionary>');
+
+
+function getDirectoryListing(path) {
+    var retList = [];
+    var fso = new ActiveXObject("Scripting.FileSystemObject");
+    var folder = fso.GetFolder(path);
+    // iterate over the files in the folder
+    for (var files = new Enumerator(folder.files) ; !files.atEnd() ; files.moveNext()) {
+        retList.push(path + files.item().name);
+    }
+    // iterate over the child folders in the folder
+    for (var subFlds = new Enumerator(folder.SubFolders) ; !subFlds.atEnd() ; subFlds.moveNext()) {
+        var subDirList = getDirectoryListing(path + subFlds.item().name + "\\");
+        retList = retList.concat(subDirList);
+    }
+    return retList;
+}
+
+
+// We need to get any Linked files from the project
+
+WScript.Echo("Adding Source Files ...");
+if (projectFilePath != null) {
+    var projXml = WScript.CreateObject("Microsoft.XMLDOM");
+
+    projXml.async = false;
+    if (projXml.load(projectFilePath)) {
+
+        // add linked content ( windows shortcuts )
+        var nodes = projXml.selectNodes("/Project/ItemGroup/Content/Link");
+        WScript.Echo("/Project/ItemGroup/Content/Link nodes.length" + nodes.length);
+        for (var n = 0; n < nodes.length; n++) {
+            outFile.WriteLine('    <FilePath Value="' + nodes[n].text + '"/>');
+        }
+
+        // add files of type Resource
+        nodes = projXml.selectNodes("/Project/ItemGroup/Resource/Link");
+        WScript.Echo("/Project/ItemGroup/Resource/Link nodes.length" + nodes.length);
+        for (n = 0; n < nodes.length; n++) {
+            outFile.WriteLine('    <FilePath Value="' + nodes[n].text + '"/>');
+        }
+
+        // add Content files from www folder
+        nodes = projXml.selectNodes("/Project/ItemGroup/Content[@Include]");
+        WScript.Echo("/Project/ItemGroup/Content nodes.length" + nodes.length);
+        for (n = 0; n < nodes.length; n++) {
+            for (var i = 0; i < nodes[n].attributes.length; i++) {
+
+                if (nodes[n].attributes[i].name == "Include") {
+                    var val = nodes[n].attributes[i].value;
+                    if (val.indexOf("www\\**") == 0 ){
+                        WScript.echo("adding wildcard files");
+                        var fileList = getDirectoryListing("..\\..\\www\\");
+                        for (var index = 0 ; index < fileList.length; index++)
+                        {
+                            outFile.WriteLine('    <FilePath Value="' + fileList[index].replace(/..\\..\\www/g,"www") + '"/>');
+                        }
+                    }
+                    else if (val.indexOf("www") == 0) {
+                        WScript.Echo("adding value :: " + val);
+                        outFile.WriteLine('    <FilePath Value="' + val + '"/>');
+                    }
+                }
+            }
+            
+        }
+    }
+}
+
+outFile.WriteLine('</CordovaSourceDictionary>');
+

http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/0fea2dd2/lib/cordova-wp7/templates/standalone/CordovaAppProj.csproj
----------------------------------------------------------------------
diff --git a/lib/cordova-wp7/templates/standalone/CordovaAppProj.csproj b/lib/cordova-wp7/templates/standalone/CordovaAppProj.csproj
new file mode 100644
index 0000000..61b3be1
--- /dev/null
+++ b/lib/cordova-wp7/templates/standalone/CordovaAppProj.csproj
@@ -0,0 +1,197 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ 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. 
+-->
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProductVersion>10.0.20506</ProductVersion>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{3677C1B7-D68B-4CF9-BF8A-E869D437A6DF}</ProjectGuid>
+    <ProjectTypeGuids>{C089C8C0-30E0-4E22-80C0-CE093F111A43};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
+    <OutputType>Library</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>$safeprojectname$</RootNamespace>
+    <AssemblyName>$safeprojectname$</AssemblyName>
+    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+    <SilverlightVersion>$(TargetFrameworkVersion)</SilverlightVersion>
+    <TargetFrameworkProfile>WindowsPhone71</TargetFrameworkProfile>
+    <TargetFrameworkIdentifier>Silverlight</TargetFrameworkIdentifier>
+    <SilverlightApplication>true</SilverlightApplication>
+    <SupportedCultures>
+    </SupportedCultures>
+    <XapOutputs>true</XapOutputs>
+    <GenerateSilverlightManifest>true</GenerateSilverlightManifest>
+    <XapFilename>$safeprojectname$.xap</XapFilename>
+    <SilverlightManifestTemplate>Properties\AppManifest.xml</SilverlightManifestTemplate>
+    <SilverlightAppEntry>$safeprojectname$.App</SilverlightAppEntry>
+    <ValidateXaml>true</ValidateXaml>
+    <ThrowErrorsInValidation>true</ThrowErrorsInValidation>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>Bin\Debug</OutputPath>
+    <DefineConstants>DEBUG;TRACE;SILVERLIGHT;WINDOWS_PHONE</DefineConstants>
+    <NoStdLib>true</NoStdLib>
+    <NoConfig>true</NoConfig>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>Bin\Release</OutputPath>
+    <DefineConstants>TRACE;SILVERLIGHT;WINDOWS_PHONE</DefineConstants>
+    <NoStdLib>true</NoStdLib>
+    <NoConfig>true</NoConfig>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="Microsoft.Devices.Sensors" />
+    <Reference Include="Microsoft.Phone" />
+    <Reference Include="Microsoft.Phone.Interop" />
+    <Reference Include="Microsoft.Xna.Framework" />
+    <Reference Include="System.Device" />
+    <Reference Include="System.Runtime.Serialization" />
+    <Reference Include="System.Servicemodel.Web" />
+    <Reference Include="System.Windows" />
+    <Reference Include="system" />
+    <Reference Include="System.Core" />
+    <Reference Include="System.Net" />
+    <Reference Include="System.Xml" />
+    <Reference Include="System.Xml.Linq" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="App.xaml.cs">
+      <DependentUpon>App.xaml</DependentUpon>
+    </Compile>
+    <Compile Include="cordovalib\BrowserMouseHelper.cs" />
+    <Compile Include="cordovalib\CommandFactory.cs" />
+    <Compile Include="cordovalib\Commands\BaseCommand.cs" />
+    <Compile Include="cordovalib\ConfigHandler.cs" />
+    <Compile Include="cordovalib\CordovaCommandCall.cs" />
+    <Compile Include="cordovalib\CordovaView.xaml.cs">
+      <DependentUpon>CordovaView.xaml</DependentUpon>
+    </Compile>
+    <Compile Include="cordovalib\DOMStorageHelper.cs" />
+    <Compile Include="cordovalib\JSON\JsonHelper.cs" />
+    <Compile Include="cordovalib\NativeExecution.cs" />
+    <Compile Include="cordovalib\OrientationHelper.cs" />
+    <Compile Include="cordovalib\PluginResult.cs" />
+    <Compile Include="cordovalib\ScriptCallback.cs" />
+
+
+
+    <Compile Include="MainPage.xaml.cs">
+      <DependentUpon>MainPage.xaml</DependentUpon>
+    </Compile>
+    <Compile Include="Properties\AssemblyInfo.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <ApplicationDefinition Include="App.xaml">
+      <SubType>Designer</SubType>
+      <Generator>MSBuild:Compile</Generator>
+    </ApplicationDefinition>
+    <Page Include="cordovalib\CordovaView.xaml">
+      <Generator>MSBuild:Compile</Generator>
+      <SubType>Designer</SubType>
+    </Page>
+    
+    <Page Include="MainPage.xaml">
+      <SubType>Designer</SubType>
+      <Generator>MSBuild:Compile</Generator>
+    </Page>
+
+    <Page Include="Plugins\UI\AudioRecorder.xaml">
+      <Generator>MSBuild:Compile</Generator>
+      <SubType>Designer</SubType>
+    </Page>
+    <Page Include="Plugins\UI\ImageCapture.xaml">
+      <Generator>MSBuild:Compile</Generator>
+      <SubType>Designer</SubType>
+    </Page>
+    <Page Include="Plugins\UI\NotificationBox.xaml">
+      <Generator>MSBuild:Compile</Generator>
+      <SubType>Designer</SubType>
+    </Page>
+    <Page Include="Plugins\UI\VideoRecorder.xaml">
+      <Generator>MSBuild:Compile</Generator>
+      <SubType>Designer</SubType>
+    </Page>
+
+  </ItemGroup>
+  <ItemGroup>
+    <Content Include="www\**" />
+    <Content Include="config.xml" />
+    <Content Include="Images\**" />
+
+    <Content Include="resources\notification-beep.wav" />
+    <None Include="VERSION" />
+    
+    <Content Include="CordovaSourceDictionary.xml">
+      <SubType>Designer</SubType>
+    </Content>
+    <None Include="BuildManifestProcessor.js" />
+    <None Include="Properties\AppManifest.xml">
+      <SubType>Designer</SubType>
+    </None>
+    <None Include="Properties\WMAppManifest.xml">
+      <SubType>Designer</SubType>
+    </None>
+  </ItemGroup>
+  <ItemGroup>
+    <Content Include="ApplicationIcon.png">
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="Background.png">
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="SplashScreenImage.jpg" />
+  </ItemGroup>
+  <ItemGroup>
+    <WCFMetadata Include="Service References\" />
+  </ItemGroup>
+  <ItemGroup>
+    <Service Include="{508349B6-6B84-4DF5-91F0-309BEEBAD82D}" />
+  </ItemGroup>
+  <ItemGroup>
+      <Compile Include="Plugins\*" />
+      <Compile Include="Plugins\UI\*.cs" />
+  </ItemGroup>
+  <Import Project="$(MSBuildExtensionsPath)\Microsoft\Silverlight for Phone\$(TargetFrameworkVersion)\Microsoft.Silverlight.$(TargetFrameworkProfile).Overrides.targets" />
+  <Import Project="$(MSBuildExtensionsPath)\Microsoft\Silverlight for Phone\$(TargetFrameworkVersion)\Microsoft.Silverlight.CSharp.targets" />
+  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
+       Other similar extension points exist, see Microsoft.Common.targets.
+  <Target Name="BeforeBuild">
+  </Target>
+  <Target Name="AfterBuild">
+  </Target>
+  -->
+  <ProjectExtensions />
+  <PropertyGroup>
+    <PreBuildEvent>CScript "$(ProjectDir)/BuildManifestProcessor.js" "$(ProjectPath)"</PreBuildEvent>
+  </PropertyGroup>
+  <PropertyGroup>
+    <PostBuildEvent>
+    </PostBuildEvent>
+  </PropertyGroup>
+</Project>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/0fea2dd2/lib/cordova-wp7/templates/standalone/CordovaSolution.sln
----------------------------------------------------------------------
diff --git a/lib/cordova-wp7/templates/standalone/CordovaSolution.sln b/lib/cordova-wp7/templates/standalone/CordovaSolution.sln
new file mode 100644
index 0000000..5ce2292
--- /dev/null
+++ b/lib/cordova-wp7/templates/standalone/CordovaSolution.sln
@@ -0,0 +1,22 @@
+
+Microsoft Visual Studio Solution File, Format Version 11.00
+# Visual Studio 2010 Express for Windows Phone
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CordovaAppProj", "CordovaAppProj.csproj", "{3677C1B7-D68B-4CF9-BF8A-E869D437A6DF}"
+EndProject
+Global
+	GlobalSection(SolutionConfigurationPlatforms) = preSolution
+		Debug|Any CPU = Debug|Any CPU
+		Release|Any CPU = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(ProjectConfigurationPlatforms) = postSolution
+		{3677C1B7-D68B-4CF9-BF8A-E869D437A6DF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{3677C1B7-D68B-4CF9-BF8A-E869D437A6DF}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{3677C1B7-D68B-4CF9-BF8A-E869D437A6DF}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
+		{3677C1B7-D68B-4CF9-BF8A-E869D437A6DF}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{3677C1B7-D68B-4CF9-BF8A-E869D437A6DF}.Release|Any CPU.Build.0 = Release|Any CPU
+		{3677C1B7-D68B-4CF9-BF8A-E869D437A6DF}.Release|Any CPU.Deploy.0 = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(SolutionProperties) = preSolution
+		HideSolutionNode = FALSE
+	EndGlobalSection
+EndGlobal

http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/0fea2dd2/lib/cordova-wp7/templates/standalone/CordovaSourceDictionary.xml
----------------------------------------------------------------------
diff --git a/lib/cordova-wp7/templates/standalone/CordovaSourceDictionary.xml b/lib/cordova-wp7/templates/standalone/CordovaSourceDictionary.xml
new file mode 100644
index 0000000..74f51b7
--- /dev/null
+++ b/lib/cordova-wp7/templates/standalone/CordovaSourceDictionary.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- This file is auto-generated, do not edit! -jm -->
+<CordovaSourceDictionary>
+    <FilePath Value="www\cordova-2.6.0.js"/>
+    <FilePath Value="www\index.html"/>
+    <FilePath Value="www\css\index.css"/>
+    <FilePath Value="www\img\logo.png"/>
+    <FilePath Value="www\js\index.js"/>
+</CordovaSourceDictionary>

http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/0fea2dd2/lib/cordova-wp7/templates/standalone/Images/appbar.back.rest.png
----------------------------------------------------------------------
diff --git a/lib/cordova-wp7/templates/standalone/Images/appbar.back.rest.png b/lib/cordova-wp7/templates/standalone/Images/appbar.back.rest.png
new file mode 100644
index 0000000..4bc2b92
Binary files /dev/null and b/lib/cordova-wp7/templates/standalone/Images/appbar.back.rest.png differ

http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/0fea2dd2/lib/cordova-wp7/templates/standalone/Images/appbar.close.rest.png
----------------------------------------------------------------------
diff --git a/lib/cordova-wp7/templates/standalone/Images/appbar.close.rest.png b/lib/cordova-wp7/templates/standalone/Images/appbar.close.rest.png
new file mode 100644
index 0000000..8166a1c
Binary files /dev/null and b/lib/cordova-wp7/templates/standalone/Images/appbar.close.rest.png differ

http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/0fea2dd2/lib/cordova-wp7/templates/standalone/Images/appbar.feature.video.rest.png
----------------------------------------------------------------------
diff --git a/lib/cordova-wp7/templates/standalone/Images/appbar.feature.video.rest.png b/lib/cordova-wp7/templates/standalone/Images/appbar.feature.video.rest.png
new file mode 100644
index 0000000..baff565
Binary files /dev/null and b/lib/cordova-wp7/templates/standalone/Images/appbar.feature.video.rest.png differ

http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/0fea2dd2/lib/cordova-wp7/templates/standalone/Images/appbar.next.rest.png
----------------------------------------------------------------------
diff --git a/lib/cordova-wp7/templates/standalone/Images/appbar.next.rest.png b/lib/cordova-wp7/templates/standalone/Images/appbar.next.rest.png
new file mode 100644
index 0000000..ed577d7
Binary files /dev/null and b/lib/cordova-wp7/templates/standalone/Images/appbar.next.rest.png differ

http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/0fea2dd2/lib/cordova-wp7/templates/standalone/Images/appbar.save.rest.png
----------------------------------------------------------------------
diff --git a/lib/cordova-wp7/templates/standalone/Images/appbar.save.rest.png b/lib/cordova-wp7/templates/standalone/Images/appbar.save.rest.png
new file mode 100644
index 0000000..d49940e
Binary files /dev/null and b/lib/cordova-wp7/templates/standalone/Images/appbar.save.rest.png differ

http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/0fea2dd2/lib/cordova-wp7/templates/standalone/Images/appbar.stop.rest.png
----------------------------------------------------------------------
diff --git a/lib/cordova-wp7/templates/standalone/Images/appbar.stop.rest.png b/lib/cordova-wp7/templates/standalone/Images/appbar.stop.rest.png
new file mode 100644
index 0000000..4dd724f
Binary files /dev/null and b/lib/cordova-wp7/templates/standalone/Images/appbar.stop.rest.png differ

http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/0fea2dd2/lib/cordova-wp7/templates/standalone/MainPage.xaml
----------------------------------------------------------------------
diff --git a/lib/cordova-wp7/templates/standalone/MainPage.xaml b/lib/cordova-wp7/templates/standalone/MainPage.xaml
new file mode 100644
index 0000000..8b1e84b
--- /dev/null
+++ b/lib/cordova-wp7/templates/standalone/MainPage.xaml
@@ -0,0 +1,35 @@
+
+<phone:PhoneApplicationPage 
+    x:Class="$safeprojectname$.MainPage"
+    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
+    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
+    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+    mc:Ignorable="d" FontFamily="{StaticResource PhoneFontFamilyNormal}"
+    FontSize="{StaticResource PhoneFontSizeNormal}"
+    Foreground="{StaticResource PhoneForegroundBrush}"
+    Background="Black"
+    SupportedOrientations="PortraitOrLandscape" Orientation="Portrait"
+    shell:SystemTray.IsVisible="True" d:DesignHeight="768" d:DesignWidth="480" 
+    xmlns:my="clr-namespace:WPCordovaClassLib">
+    <Grid x:Name="LayoutRoot" Background="Transparent" HorizontalAlignment="Stretch">
+        <Grid.RowDefinitions>
+            <RowDefinition Height="*"/>
+        </Grid.RowDefinitions>
+        <my:CordovaView HorizontalAlignment="Stretch" 
+                   Margin="0,0,0,0"  
+                   x:Name="CordovaView" 
+                   VerticalAlignment="Stretch" />
+        <Image Source="SplashScreenImage.jpg"
+          x:Name="SplashImage"
+          VerticalAlignment="Center"
+          HorizontalAlignment="Stretch">
+            <Image.Projection>
+                <PlaneProjection x:Name="SplashProjector"  CenterOfRotationX="0"/>
+            </Image.Projection>
+        </Image>
+    </Grid>
+
+</phone:PhoneApplicationPage>

http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/0fea2dd2/lib/cordova-wp7/templates/standalone/MainPage.xaml.cs
----------------------------------------------------------------------
diff --git a/lib/cordova-wp7/templates/standalone/MainPage.xaml.cs b/lib/cordova-wp7/templates/standalone/MainPage.xaml.cs
new file mode 100644
index 0000000..b9ec7e1
--- /dev/null
+++ b/lib/cordova-wp7/templates/standalone/MainPage.xaml.cs
@@ -0,0 +1,72 @@
+/*
+ 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. 
+*/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using Microsoft.Phone.Controls;
+using System.IO;
+using System.Windows.Media.Imaging;
+using System.Windows.Resources;
+
+
+namespace $safeprojectname$
+{
+    public partial class MainPage : PhoneApplicationPage
+    {
+        // Constructor
+        public MainPage()
+        {
+            InitializeComponent();
+            this.CordovaView.Loaded += CordovaView_Loaded;
+        }
+
+        private void CordovaView_Loaded(object sender, RoutedEventArgs e)
+        {
+            this.CordovaView.Loaded -= CordovaView_Loaded;
+            // first time load will have an animation
+            Storyboard _storyBoard = new Storyboard();
+            DoubleAnimation animation = new DoubleAnimation()
+            {
+                From = 0,
+                Duration = TimeSpan.FromSeconds(0.6),
+                To = 90
+            };
+            Storyboard.SetTarget(animation, SplashProjector);
+            Storyboard.SetTargetProperty(animation, new PropertyPath("RotationY"));
+            _storyBoard.Children.Add(animation);
+            _storyBoard.Begin();
+            _storyBoard.Completed += Splash_Completed;
+        }
+
+        void Splash_Completed(object sender, EventArgs e)
+        {
+            (sender as Storyboard).Completed -= Splash_Completed;
+            LayoutRoot.Children.Remove(SplashImage);
+        }
+    }
+}