Windows Phone Deployment

From HTML5 Builder
Jump to: navigation, search

This page covers deployment of mobile applications for Windows Phone devices.

Export your Project

Generation

Go to Home > Deploy to Mobile, and follow these steps:

  1. On the Welcome page, choose Windows Phone as target device and click Next.
  2. On the Application Setup page:
    1. Set Index page to the page to be displayed first when users run your application.
    2. In the Application name field, type your application’s name.
    3. In the Company name field, type the name of your company.
    4. Click Next.
  3. On the Target Destination page:

    Note: The folder you choose will be where all files and folders will be generated. You might want to create a new folder for your build.

    1. Optionally, change destination folder:
      1. Click .
      2. Go to folders location, and click OK.
    2. Click Next.

Configuration

On the Export page, your PhoneGap folder will be exported to the destination folder as www, and archived as a Your Application.zip file there too. Wait for the process to finish.

There are some things you might want to do on the www folder before you continue, some of the possibilities are listed below.

Once you are ready, if you changed anything on the www folder, generate a new Your Application.zip archive with its contents (there are several tools you can use for that task).

Warning: You must create the archive from the contents of the www folder, not from the folder itself.

External Resources

If you included in your application any external resources, like image files, you must copy them into www.

Build your Application

Once the PhoneGap project folder is ready, you can build the final application either remotely, using the PhoneGap Build service, or locally.

The Deploy to Mobile wizard lest you use the PhoneGap Build service directly from HTML5 Builder. See PhoneGap Build for instructions on how to build your application remotely.

To build your application for Windows locally, see the PhoneGap Documentation for Windows.