PoleStar Member Licensed User Longtime User Jan 5, 2016 #1 Hi my friends Excuse me ... I have a question. how can the screen on in the service ? For example, When he was 12, Play a Music and Screen ON... Thanks
Hi my friends Excuse me ... I have a question. how can the screen on in the service ? For example, When he was 12, Play a Music and Screen ON... Thanks
Erel B4X founder Staff member Licensed User Longtime User Jan 5, 2016 #2 You can use PhoneWakeState to turn the screen on. Upvote 0
PoleStar Member Licensed User Longtime User Jan 5, 2016 #3 Erel said: You can use PhoneWakeState to turn the screen on. Click to expand... Thanks Erel for your answer B4X: Dim p As PhoneWakeState p.KeepAlive(True) your mean that? I Whenever use this code, if the screen turns off , turn on again? Upvote 0
Erel said: You can use PhoneWakeState to turn the screen on. Click to expand... Thanks Erel for your answer B4X: Dim p As PhoneWakeState p.KeepAlive(True) your mean that? I Whenever use this code, if the screen turns off , turn on again?
Erel B4X founder Staff member Licensed User Longtime User Jan 5, 2016 #4 Yes. This will turn on the screen (unless the OS decides to ignore it). You can monitor the screen state with PhoneEvents. Upvote 0
Yes. This will turn on the screen (unless the OS decides to ignore it). You can monitor the screen state with PhoneEvents.