1. jennifercolemanme's Avatar
    Hi all,

    If you've read the text that USED to exist here before, scratch that. Big Thanks for clarifying what I thought was a win. Due to this, I DID find something interesting in regards to the ExtensibilityApp class (Windows.Phone.System.LockscreenExtensibility.Exte nsibilityApp). I happened to also find a hidden capability "ID_CAP_SHELL_DEVICE_LOCK_UI_API" (Seems to be a locked CAP because it only works on Emulator. I get a deployment error on my if I try including this capability). I suspected that these two worked together, but I wanted to make sure of this.

    Before we get started, read through the documentation from this site: http://msdn.microsoft.com/en-us/libr...bilityapp.aspx.

    We have the following methods:
    BeginUnlock
    EndUnlock
    GetLockPinpadHeight
    IsLockScreenApplicationRegistered
    IsSystemOverlayApplicationRegistered
    RaiseToastNotifications
    RegisterLockScreenApplication
    RegisterSystemOverlayApplication
    UnregisterLockScreenApplication
    UnregisterSystemOverlayApplication

    As usual, Microsoft doesn't really give us much in terms of documentation.. Probably because it isn't meant to be used by the normal developer.

    All of these methods have no parameters at all, but I can almost guarantee this has to do with having an application that can control the lock screen.

    This thread will be for efforts in breaking this open and seeing whether we can create lockscreen applications..
    06-12-2014 02:08 AM
  2. Laura Knotek's Avatar
    Hi and welcome to WPCentral.

    I've moved this thread to the Developers Corner forum, since this subject is something that is more relevant to developers than ordinary users.
    06-12-2014 02:11 AM
  3. Expression2's Avatar
    I've tried this API before. Can't really get it to work cause i don't see any public properties for setting FrameworkElements or anything. Let's just wait for Joe to announce the next update before we try anything
    06-14-2014 11:46 PM
  4. Vitor Salvatore Pierce's Avatar
    I've tried this API before. Can't really get it to work cause i don't see any public properties for setting FrameworkElements or anything. Let's just wait for Joe to announce the next update before we try anything
    In 12400.899 maybe can deploy? I have it, but I couldn't try yet.
    07-26-2014 03:53 AM
  5. sinclairinator's Avatar
    ? This thread is a pure copy and paste from My XDA-Developers thread (ExtensibilityApp class in WP 8.1 Silverlight | Windows Phone 8 | XDA Forum). Anyway, I added more information to it :)
    07-26-2014 04:54 AM
  6. Vitor Salvatore Pierce's Avatar
    ? This thread is a pure copy and paste from My XDA-Developers thread (ExtensibilityApp class in WP 8.1 Silverlight | Windows Phone 8 | XDA Forum). Anyway, I added more information to it :)
    I can't post there, yet. :[
    07-26-2014 04:56 AM
  7. sinclairinator's Avatar
    You won't be able to deploy. ID_CAP_SHELL_DEVICE_LOCK_UI_API is restricted at the moment. In terms of FrameworkElements, you're close there. It actually uses a Silverlight app as the LockApp. I was able to deploy test code to the Emulator using that capability, BUT the emulator doesn't contain all of the necessary files in order to actually allow you to run the app
    07-26-2014 05:02 AM
  8. Vitor Salvatore Pierce's Avatar
    I look to the code of the app (that trick of SD Card) ...
    Here's the manifest...
    <Capabilities>
    <Capability Name="ID_CAP_NETWORKING" />
    <Capability Name="ID_CAP_MEDIALIB_AUDIO" />
    <Capability Name="ID_CAP_MEDIALIB_PLAYBACK" />
    <Capability Name="ID_CAP_SENSORS" />
    <Capability Name="ID_CAP_WEBBROWSERCOMPONENT" />
    <Capability Name="ID_CAP_PUSH_NOTIFICATION" />
    <Capability Name="ID_CAP_SHELL_DEVICE_LOCK_UI_API" />
    </Capabilities>

    And in the end:
    <InProcessServer>
    <Path>Nokia.InteropServices.WindowsRuntime.dll</Path>
    <ActivatableClass ActivatableClassId="Nokia.InteropServices.WindowsRuntime.BufferFactory" ThreadingModel="both" />
    </InProcessServer>

    PS: Microsoft has corrected the bug to view the apps from the SD card with the update 12400.899.
    I'm with my brother's phone in 895
    07-26-2014 05:10 AM
  9. sinclairinator's Avatar
    I look to the code of the app (that trick of SD Card) ...
    Here's the manifest...
    <Capabilities>
    <Capability Name="ID_CAP_NETWORKING" />
    <Capability Name="ID_CAP_MEDIALIB_AUDIO" />
    <Capability Name="ID_CAP_MEDIALIB_PLAYBACK" />
    <Capability Name="ID_CAP_SENSORS" />
    <Capability Name="ID_CAP_WEBBROWSERCOMPONENT" />
    <Capability Name="ID_CAP_PUSH_NOTIFICATION" />
    <Capability Name="ID_CAP_SHELL_DEVICE_LOCK_UI_API" />
    </Capabilities>

    And in the end:
    <InProcessServer>
    <Path>Nokia.InteropServices.WindowsRuntime.dll</Path>
    <ActivatableClass ActivatableClassId="Nokia.InteropServices.WindowsRuntime.BufferFactory" ThreadingModel="both" />
    </InProcessServer>

    PS: Microsoft has corrected the bug to view the apps from the SD card with the update 12400.899.
    I'm with my brother's phone in 895
    No wonder I wasn't able to use the SD Card trick. I tried it out AFTER I had .899 :P.

    Yeah, I already have the binary for the live lock app. Looking through it confirmed everything I put in the post.
    07-26-2014 05:21 AM
  10. Vitor Salvatore Pierce's Avatar
    No wonder I wasn't able to use the SD Card trick. I tried it out AFTER I had .899 :P.

    Yeah, I already have the binary for the live lock app. Looking through it confirmed everything I put in the post.

    I think that, for know, is just for app from store. Maybe GDR1 with a update on VS?
    07-26-2014 05:44 AM
  11. sinclairinator's Avatar
    I think that, for know, is just for app from store. Maybe GDR1 with a update on VS?
    We can only hope.
    07-26-2014 05:52 AM
  12. sinclairinator's Avatar
    forum.xda-developers.com/windows-phone-8/development/xap-lockscreen-app-t2837016/

    One of our guys made an app using the APIs. Check it out.
    08-03-2014 01:01 PM

Similar Threads

  1. How to use My Commute in Here Drive?
    By Arpit Mittal in forum Nokia Lumia 720
    Replies: 4
    Last Post: 06-26-2014, 08:38 PM
  2. Kinect trade in?
    By crunchy pockets in forum The Xbox Lounge
    Replies: 10
    Last Post: 06-13-2014, 11:29 AM
  3. In other news, June 23rd, 2014, Costco will carry the iPhone.
    By Jazmac in forum The "Off Topic" Lounge
    Replies: 4
    Last Post: 06-12-2014, 08:37 AM
  4. update in settings and banners
    By Dinesh Kumar2004 in forum Windows Phone 8.1 Preview for Developers
    Replies: 1
    Last Post: 06-12-2014, 01:45 AM
LINK TO POST COPIED TO CLIPBOARD