Shay Well-Known Member Licensed User Longtime User Nov 29, 2011 #1 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
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
Erel B4X founder Staff member Licensed User Longtime User Nov 30, 2011 #2 You are setting it in your code, right? You can keep the status in a process_global variable. Upvote 0
Shay Well-Known Member Licensed User Longtime User Dec 3, 2011 #3 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
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?
stevel05 Expert Licensed User Longtime User Dec 3, 2011 #4 I think what Erel meant was to use a separate flag to keep track of it. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Dec 4, 2011 #5 I think what Erel meant was to use a separate flag to keep track of it. Click to expand... Yes. Upvote 0