How to lock Screen Android -
i working on android fingerprint screen locker. how locked , unlocked android device programetically. used ontouchlistner on image , count time of action_down (means thumb pressed). on action_down want code unlock.
anyone please
to lock device programmatically use:
devicepolicymanager devicemanger = (devicepolicymanager)getsystemservice( context.device_policy_service); then call:
devicemanger.locknow(); wherever need lock it.
hope helps!
Comments
Post a Comment