O'Reilly logo

Windows® Phone 8 Unleashed by Daniel Vaughan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Registering a File Association

Registration of a file association is done in your app’s WMAppManifest.xml file. To edit the WMAppManifest.xml file, in the Visual Studio Solution Explorer, right-click the WMAppManifest.xml file, and then select View Code.

A file association is specified with the FileTypeAssociation element. Listing 30.1 shows an excerpt from the WMAppManifest.xml file in the WPUnleashed.FileAndProtocolAssociations project.

The following elements are used to register a file association:

Image Extensions Element—Contains FileTypeAssociation elements and other extension items such as Protocol extension elements, discussed later in this ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required