AHilberink Well-Known Member Licensed User Longtime User Apr 9, 2019 #1 Hi, I have a service with a timer. When my device is dimmed, every Timer_Tick my screen gets out of dimmed mode. Only when dimmed, on sleep no problem. Is it possible to prevent this? I found something as the opposite??? https://www.b4x.com/android/forum/threads/wake-up-with-partial-lock.99303/#post-625061 Best regards, André
Hi, I have a service with a timer. When my device is dimmed, every Timer_Tick my screen gets out of dimmed mode. Only when dimmed, on sleep no problem. Is it possible to prevent this? I found something as the opposite??? https://www.b4x.com/android/forum/threads/wake-up-with-partial-lock.99303/#post-625061 Best regards, André
Erel B4X founder Staff member Licensed User Longtime User Apr 10, 2019 #2 The timer shouldn't affect the screen. What are you doing inside Timer_Tick? Upvote 0
AHilberink Well-Known Member Licensed User Longtime User Apr 10, 2019 #3 Erel said: The timer shouldn't affect the screen. What are you doing inside Timer_Tick? Click to expand... Hi Erel, I do a HTTPJob for checking messages on a webserver. Best regards, André Upvote 0
Erel said: The timer shouldn't affect the screen. What are you doing inside Timer_Tick? Click to expand... Hi Erel, I do a HTTPJob for checking messages on a webserver. Best regards, André
Erel B4X founder Staff member Licensed User Longtime User Apr 10, 2019 #4 HttpJob shouldn't matter. Try to find out what causes it by commenting out parts of the code in the tick event. Upvote 0
HttpJob shouldn't matter. Try to find out what causes it by commenting out parts of the code in the tick event.
AHilberink Well-Known Member Licensed User Longtime User Apr 10, 2019 #5 Erel said: HttpJob shouldn't matter. Try to find out what causes it by commenting out parts of the code in the tick event. Click to expand... Thanks, Erel. I try to find it this way. Upvote 0
Erel said: HttpJob shouldn't matter. Try to find out what causes it by commenting out parts of the code in the tick event. Click to expand... Thanks, Erel. I try to find it this way.