Unlock Your Device Using a Hover Gesture with Magic Unlock
Have you ever wanted to automate the unlock procedure of your device? We’ve featured a few interesting ways of turning off and on your device using sensors in the past. However, these solutions predominantly dealt with replicating smart cover functionality on devices lacking the appropriate magnetic sensors.
What do you do if you’d rather not have your device’s screen turn on and off automatically, but would rather like it to unlock with a simple hover of your hand? This is what XDA Forum Member bmbogdan is hoping to achieve with his new app Magic Unlock.
As alluded to by the app’s title, Magic Unlock unlocks your device. The way it does so is by using the proximity sensor on your device to sense when you hover over the display. Upon detecting the hover gesture, the screen is unlocked. Magic Unlock is only activated when your screen is on, and it does so by listening for the ACTION_SCREEN_ON/OFF intents. Because of this, you shouldn’t expect much (if any) drain on your battery.
The app can run in three modes: low, medium, and high priority. Low Priority runs in the background. High Priority runs in the foreground, placing a visible notification in the notification bar. Medium Priority runs in the background (just like low) when there’s enough memory, but then runs in the foreground (similar to high) when low memory is detected.
If this interests you, head over to the application thread to get started