Object documentation: PhoneWakeState B4A Code Snippet FCM messages/notifications: Use Phonewakestate to throw notifications without delay - KMatle    Apr 26, 2021   (10 reactions) the phonewakestate before throwing the notification and releasing it after seems to work:
pws.PartialLock... as phonewakestate in globals in the fcm service (code above is in the service, too)... B4A Question PhoneWakeState - Troberg    Mar 26, 2015 Is it important that I use the same instance of PhoneWakeState when I set KeepAlive and when I set ReleaseKeepAlive.
In other words, do I have to declare a PhoneWakeState and keep it, or can I just do a
dim pws as PhoneWakeState
pws.KeepAlive(True)
and then, somewhere later down the line... B4A Question Does PhoneWakeState partiallock work explicitly for each service or generally app based - hatzisn    Jun 23, 2019 Hi everyone,
I consider myself an experienced programmer in B4a yet there are times in which I doubt that completely. Here is a situation. Let's say I have two services which both use PhoneWakeState's partiallock. Is partiallock enabled explicitly for each service or generally for... I releasepartiallock in each service_destroy sub and the phonewakestate variables are declared... B4i Question B4i PhoneWakeState .KeepAlive(True) - cambol    Aug 23, 2019 how to set B4i
I can do in B4A
Dim pws As PhoneWakeState
pws.KeepAlive(True)
pws.ReleaseKeepAlive... B4A Question [SOLVED] PhoneWakeState : changing WakeLocks - lemonisdead    Jan 27, 2016 Hello,
There is something I can't understand and can't manage to prototype : if I have previously engaged a PartialLock and need to activate the screen I do use a KeepAlive(True).
But, if aft... B4A Question [SOLVED] PhoneWakeState PartialLock & PhoneSensors when screen is off - lemonisdead    Jan 25, 2016 Hello,
I was reported an issue on a particular Samsung XCover 2 model (not all just one but not one ... B4A Question PhoneWakeState KeepAlive(True): screen goes blank for a second - teddybear (first post)    Mar 7, 2022
Hello Everyone,
It is a simple counter app (my first one).
I use KeepAlive(True) of PhoneWakeState in Activity_Pause and ReleaseKeepAlive in Activity_Resume.
When I run my app, screen goes dimmer in about 20 sec, then goes black for 1 sec then comes back automatically - to repeat all this 30... B4A Question [CLOSED] Get the current PhoneWakeState ? - lemonisdead    Feb 18, 2015 Hello,
Do we have a way to get the current WakeState not to release it by chance if any other app is... B4A Question [SOLVED] A "better" PhoneWakeState - lemonisdead    Mar 17, 2014 I experienced some troubles with some phones which gone to sleep ignoring my PhoneWakeState arguments. Especially when the lockscreen is locked.
Isn't it possible to be provided a way to ensure... B4A Question PhoneWakeState And Timer In DeepSleep - Erel (first post)    Jan 8, 2018 Not sure that I understand the question. Phone.KeepAlive is expected to turn on the screen. It is ce... Page: 1   2   3   4   5   6   7   |