1. Dustin Hodges's Avatar
    During the BUILD keynote, which many of us watched online, and some of us attended live, they talked about developer API's for creating custom lockscreens. However, Microsoft stated these would not be available till a later date.

    This brings me to something i found: a "Lockscreen Extensibility" framework within the SDK (Windows.Phone.System.LockScreenExtensibility namespace). According to the corresponding developer page, it is only available to Windows Phone 8.1, and furthermore, only usable within Silverlight applications.

    Does anyone know exactly how this is used, and if it is the very thing MS mentioned? Or is this perhaps another api entirely?

    FYI: The msdn library page is pretty much useless when it comes to explaining how these are used
    ecr80 and Expression2 like this.
    04-24-2014 05:45 PM
  2. Expression2's Avatar
    You have my attention! I'll help discover the uses of this API
    ecr80 likes this.
    04-25-2014 12:15 AM
  3. Dustin Hodges's Avatar
    I tried creating a simple app with a toggle switch that activates it as an overlay app and lockscreen app, using these (With "using Windows.Phone.System.LockScreenExtensibility" declared at the top of mainpage.xaml.cs)
    [CODE]
    ExtensibilityApp.RegisterLockScreenApplication
    ExtensibilityApp.RegisterSystemOverlay Application
    [/CODE]
    As well as this to check if its registered to determine the default toggle position:
    [CODE]
    ExtensibilityApp.IsLockScreenApplicationRegistered()
    [/CODE]

    However, the minute I called IsLockScreenApplicationRegistered the debugger threw an ACCESS DENIED error. And if its anything like the same error when implementing the new file picker, it means there is something missing in your manifest, such as a declaration, capability, or extension. Furthermore, since the common things were enabled (background tasks, libraries, etc), one could assume the lockscreen extensibility framework functions similar to Windows Phone 8 lockscreen backgrounds, which require a custom extension declared in the manifest with is corresponding name and GUID (consumerID). So it looks as if the challenge is finding the proper extension information. There's also likely other functions required to set the lockscreen via the other namespaces, that tie into the framework.
    04-25-2014 03:10 PM

Similar Threads

  1. Can anyone tell me lockscreen app shown in Build wp8.1???
    By sharmrang in forum Windows Phone 8.1
    Replies: 9
    Last Post: 07-08-2014, 01:02 PM
  2. WP8.1 Lockscreen, how to customize it?
    By Jakub JS in forum Windows Phone 8.1 Preview for Developers
    Replies: 3
    Last Post: 04-24-2014, 03:15 AM
  3. Replies: 1
    Last Post: 04-22-2014, 10:58 AM
  4. Periodic Lockscreen App
    By dynamicdev in forum App Spotlight
    Replies: 1
    Last Post: 04-21-2014, 07:11 AM
  5. How to make the coolest lockscreen for your Windows Phone in 4 easy steps
    By WindowsCentral.com in forum Windows Central News Discussion
    Replies: 0
    Last Post: 04-18-2014, 02:40 PM
LINK TO POST COPIED TO CLIPBOARD