android - How to do something when screen is turning off? -


this question has answer here:

how can invoke arbitrary code in android when screen of device turned off? there callback of sort?

the system broadcast message when screen turns on , off. here detailed answer https://stackoverflow.com/a/4208538/1581921


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -