1. A

    Android Question How to determine in the service module that the phone is switched off?

    Hello! I am creating an application that runs in the background. I need to determine in the service module: is the phone turned on at the moment? Of course, I can determine, with PhoneEvents, when the phone turns on - the ScreenOn event, or when it turns off - the ScreenOff event. And thus...