General information when developing for Windows 8 Universal

improve this page | report issue

Overview

This tutorial presents general development information for the Windows Universal environment in the following topics:

Project structure

A Windows 8 Universal app that is developed by using IBM MobileFirst Platform Foundation comprises the following components:

  • Based on WinJS
  • All application components, including the web code that the developer provides, packaged into a single Windows 8 Universal project, containing 3 projects: shared, Windows, Windows Phone

If you use a source control management system (such as Rational Team Concert™, Git, Subversion, and so on), see the topic about integrating with source control system, in the user documentation.

Designing for Windows Universal

Guidelines

When you develop applications, it is useful to always consult the Microsoft Develop websites.

Environment-specific images

If you decide to implement the Application Bar feature in an app, you must put the various icons in the appropriate folder, in your-project-name\apps\your-app-name\windows8\Resources\applicationBar.

The MobileFirst builder then copies these images to the native folder of the generated project.

The icons of the Application Bar must be 100x100 pixels and have a white foreground on a transparent background by using an alpha channel.
The Application Bar colorizes the icon according to the current style settings. Using colored icons can result in an unpredictable display.
Images that are not in the acceptable dimensions are scaled to fit, which can potentially lower the overall image quality of the Application Bar icon.
The circle that is displayed on each icon button is drawn by the Application Bar. Do not include it in the source image.

Optimizing applications

When developing a mobile application, you can use minification and concatenation to reduce the size and number of files that are used within the application. This feature is available for the following environments: Android, iOS, Windows 8 Universal, Windows Phone 8 Universal, BlackBerry 10, Mobile Web, and Desktop Browser.

For more information about minification and concatenation, see the topic about optimizing MobileFirst applications, in the user documentation.

Publishing

To publish a Windows 8 Universal application, you must be a registered Windows Store Developer so that you can submit your applications to the Windows Phone Store.

  1. Register from this page: https://dev.windows.com/en-us/join.
  2. Make sure to meet the prerequisites for your application certification by Microsoft.
  3. Submit your application for review.
    Only after going through the prerequisites is submission possible.

For more information about Windows Store application deployment, see the Microsoft MSDN Library website.

Inclusive terminology note: The Mobile First Platform team is making changes to support the IBM® initiative to replace racially biased and other discriminatory language in our code and content with more inclusive language. While IBM values the use of inclusive language, terms that are outside of IBM's direct influence are sometimes required for the sake of maintaining user understanding. As other industry leaders join IBM in embracing the use of inclusive language, IBM will continue to update the documentation to reflect those changes.
Last modified on December 01, 2015