Let me start by saying that, yes, I know that the Android lock screen cannot be programmatically replaced without rooting.
Now that I am done with this, I want to create an application that contains a special locking mechanism. There are applications that emulate this functionality, namely LockGo. This allows the user to view information from widgets on the "lock screen" and emulates the functionality of the "slide-unlock" (or whack-a-mole if the user wants to install this plugin).
Does anyone know which mechanism or functionality of the Android API they could use for this? It is as simple as connecting to the power button to start the activity, for example, in the link below?
How to connect the power button in Android?
Any understanding of this would be appreciated.
source share