I want to put password on device switch off in one of my application ,When I want to switch off my device it ask for password ,I want to use default lock screen of android for this. Is there any way to use this.I have found some links How to Lock/Unlock screen programmatically? How to lock/unlock phone programmatically : Android but those are used to unlock programmatically
Asked
Active
Viewed 562 times
2
-
Did you find a way of unlocking the screen? – nhenrique Apr 04 '18 at 08:44
-
@nhenrique I have not found any solution to this – Sandeep dhiman Apr 04 '18 at 08:49