bhanu kaushik bhanu kaushik - 1 month ago 15
Android Question

override pattern lock to display toast

Is is possible that a toast will get displayed of my application overriding every kind of lock in the device that exist when user press the power button twice in unrooted device. I am just few months old to android.

Answer Source

There isn't a way to override the lock screen but there is a way to co-operate with it. Starting from Android 4.2, you can write a lock screen widget to display custom information on the lock screen.