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

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

python - pip wont install .WHL files -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -