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

Setting the Lock Screen’s Background Image

The Windows Phone OS applies tight control over which, if any, of the lock screen’s fields an app can modify. The user must grant permission to an app to allow it to change the lock screen background image. The user can do this either by appointing your app as the lock screen background image provider in the phone’s settings (see Figure 13.10) or by accepting a confirmation dialog the first time your app attempts to change the lock screen’s background image.

Image

FIGURE 13.10 The phone’s lock screen settings page.

The SetBackgroundAsync method of the custom LockScreenService class demonstrates how to set ...

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