Lock screen on iOS and Android -
i'm building app phonegap. want create button on screen , add lock-screen event onclick. searches on other posts tries check if screen locked , execute or before something. need event (lock screen) happen when clicking button. it's lock physical button on iphone happens clicking button.
i need both ios , android if give me hint one, welcomed.
thank you!
for android side;
as far know app need registered on device admin app. can use device administration api lock screen devicepolicymanager.locknow()
Comments
Post a Comment