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 -

c# - System.FormatException' occurred in MongoDB.Bson.dll - XXX is not a valid 24 digit hex string -