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 ...

Get Windows® Phone 8 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.