Windows 8 Platform Guide

Windows 8 Platform Guide

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:

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

Microsoft deprecated the name Metro-style apps in Windows 8 and Windows RT. MSDN now refers to this type of app as a Windows Store app, and this guide follows that convention. Also, in this guide Windows 8 signifies both Windows 8 and Windows RT.

Requirements

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

Install SDK and Cordova

Set up your preferred variant of Visual Studio 2012. All of the product's paid versions (Professional, etc.) let you build Windows Store apps. You need Express for Windows 8 to build Windows Store apps using the Express editions.

Download and extract the latest copy of Cordova. These instructions apply to the lib\windows-8 subdirectory.

Set up a New Project

You can already build Windows 8 apps using the HTML/JavaScript track available in Windows Store apps. Use Cordova in Windows Store apps to expose the same APIs as on other Cordova-supported platforms.

Test the Project

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

    ![](img/guide/platforms/win8/wsalert.png)

That's it. You're now ready to build Windows Store apps with Cordova.