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

Adding Your App to the Share Menu

To extend the share menu to include your photo share application, create a new file called E0F0E49A-3EB1-4970-B780-45DA41EC7C28.xml in the root directory of your main project. Rather than typing the name by hand, you may prefer to copy the XML file to your project from the downloadable sample code.

Note

Using the Visual Studio Properties window, make sure that the XML file build action is set to Content. Set the Copy to Output Directory option to Do Not Copy.

The existence of this file in the root of your XAP file indicates to the phone OS that your app participates as a Share application.

The awkwardly named XML file uses a GUID in its name. This appears to be an attempt to avoid collisions with other filenames. ...

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