Awake status

Shay

Well-Known Member
Licensed User
Longtime User
Hi

is there a way to know the awake staus?
meaning I need to know if it is set for
Awake.KeepAlive(False) or Awake.KeepAlive(true) or released
 

Shay

Well-Known Member
Licensed User
Longtime User
yes the awake is declared in the process_global

if I try to read it I am getting this:

Log ("Awake=" & Awake)
Awake=anywheresoftware.b4a.phone.Phone$PhoneWakeState@40541b00

How can this be of help?
 
Upvote 0

stevel05

Expert
Licensed User
Longtime User
I think what Erel meant was to use a separate flag to keep track of it.
 
Upvote 0
Top