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

Creating a Lock Screen Icon

A lock screen icon identifies your app at the bottom of the lock screen and is displayed next to the value of your app’s primary tile’s Count property.

To include an icon for your app, begin by creating a 30×30 pixel PNG image. Like the icon present in the iconic tile template, the image should contain only white pixels with areas of transparency.

Note

If the Count property of your app’s primary tile is less than 1, the icon and the Count value are not displayed.

Declare the icon in the WMAppManifest.xml file by updating the DeviceLockImageURI element, which is a child of the PrimaryToken’s template element. Add the full path to your image file and set the IsResource attribute to false and IsRelative to true, as ...

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