Oxygene and WP8 – App Manifest file

Oxygene and Windows Phone 8 tutorials – Article Index

The App Manifest file (WMAppManifest.xml) is a XML file that contains information about the app. These information includes the capabilities that app uses.

The WMAppManifest.xml file can be found in the Properties folder of your Windows Phone project.

The WMAppManifest.xml file is generally used in the certification process and is also used to display the capabilities that the app uses when the user tries to install the app from the Windows Phone store.

Another use of the App Manifest file is in the filtering of the app based on the requirements which is mentioned in the Manifest file.

Below is a sample format of the WMAppManifest.xml which is created when you create a new Windows Phone project.

<?xml version="1.0" encoding="utf-8"?>

<Deployment xmlns="http://schemas.microsoft.com/windowsphone/2012/deployment" AppPlatformVersion="8.0">

<DefaultLanguage xmlns="" code="en-US"/>

<App xmlns="" ProductID="{44e50cd6-f50d-40b8-8567-102980094c64}" Title="PhoneApp1" RuntimeType="Silverlight" Version="1.0.0.0" Genre="apps.normal" Author="PhoneApp1 author" Description="Sample description" Publisher="PhoneApp1" PublisherID="{497fed25-d33e-4e3e-b996-0c1a73fbd5f8}">

<IconPath IsRelative="true" IsResource="false">AssetsApplicationIcon.png</IconPath>

<Capabilities>

<Capability Name="ID_CAP_NETWORKING"/>

<Capability Name="ID_CAP_MEDIALIB_AUDIO"/>

<Capability Name="ID_CAP_MEDIALIB_PLAYBACK"/>

<Capability Name="ID_CAP_SENSORS"/>

<Capability Name="ID_CAP_WEBBROWSERCOMPONENT"/>

</Capabilities>

<Tasks>

<DefaultTask Name ="_default" NavigationPage="MainPage.xaml"/>

</Tasks>

<Tokens>

<PrimaryToken TokenID="PhoneApp1Token" TaskName="_default">

<TemplateFlip>

<SmallImageURI IsRelative="true" IsResource="false">AssetsTilesFlipCycleTileSmall.png</SmallImageURI>

<Count>0</Count>

<BackgroundImageURI IsRelative="true" IsResource="false">AssetsTilesFlipCycleTileMedium.png</BackgroundImageURI>

<Title>PhoneApp1</Title>

<BackContent></BackContent>

<BackBackgroundImageURI></BackBackgroundImageURI>

<BackTitle></BackTitle>

<DeviceLockImageURI></DeviceLockImageURI>

<HasLarge></HasLarge>

</TemplateFlip>

</PrimaryToken>

</Tokens>

<ScreenResolutions>

<ScreenResolution Name="ID_RESOLUTION_WVGA"/>

<ScreenResolution Name="ID_RESOLUTION_WXGA"/>

<ScreenResolution Name="ID_RESOLUTION_HD720P"/>

</ScreenResolutions>

</App>

</Deployment>

There is also a GUI tool that comes as a part of the Visual Studio 2012 and Windows Phone SDK called “Manifest Designer” which can be used to edit the App Manifest file easily. To edit the Manifest file in the designer, just double click on the App Manifest file.

Below is a screenshot of the Manifest Designer.

Oxygene and WP8 - App Manifest file

 

Leave A Reply

Your email address will not be published. Required fields are marked *

You May Also Like

This blog post will guide you through several effective methods to troubleshoot and resolve the issue of Microsoft Edge not...
Windows 11 offers a range of audio enhancements that can enrich your listening experience. These enhancements include features like virtual...
Windows 11 brings a fresh and visually stunning design to your desktop, and one of the standout features is the...