Search code examples
androidlockscreenlockscreenwidget

Provide custom lock screen method


I'm looking for a way to create a custom lock screen method, but was unable to find any official informations about in the API docs. Stock android currently ships with different methods such as PIN, password, pattern, face lock.. so I wondered if it is possible to create one without modifying the system itself.

Please note this is not a duplicate of the hundreds of "custom lock screen" questions here on SO, as I'm asking specifically about lock screen methods, not for creating a replacement.

Edit

Currently crawling through the android source where I found a few classes that MIGHT be interesting:

https://github.com/android/platform_frameworks_base/blob/a6ed1b9547dcd592031a415739cc7e672c068f7c/core/java/com/android/internal/widget/LockPatternUtils.java

https://github.com/android/platform_frameworks_base/blob/a6ed1b9547dcd592031a415739cc7e672c068f7c/core/java/android/provider/Settings.java


Solution

  • It's not possible unless you create your own custom lock screen. You can build one pretty easily though with the Adenda SDK. Sign up for it on their website, they usually respond pretty quickly