AndreyPozdnyakov
Member
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 determine the state of the phone.
But I would like, when the timer is triggered, to determine: is the phone turned on at this moment?
I have looked closely at the Phone library and have not found a suitable property for this object.
Very grateful in advance.
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 determine the state of the phone.
But I would like, when the timer is triggered, to determine: is the phone turned on at this moment?
I have looked closely at the Phone library and have not found a suitable property for this object.
Very grateful in advance.