Android non-root lock replacement
<p>Let me begin by saying that, yes, I know that the stock Android lock screen can not be programatically replaced without rooting. </p>

<p>Now that that's over with, I want to make an app that contains a custom 'lock' mechanism. There are apps out there that emulate this functionality, namely LockGo. This allows a user to view information from widgets on a 'lock screen' and emulates the slide-to-unlock functionality (or whack-a-mole if the user wants to install that plugin). </p>

<p>Does anyone know what mechanism or Android API functionality they may have used to do this? Is it as simple as hooking into the power button to launch an activity, such as in the link below?</p>

<p><a href="http://stackoverflow.com/questions/3703071/how-to-hook-into-the-power-button-in-android">How to hook into the Power button in Android?</a></p>

<p>Any insight to this would be appreciated.</p>
