P potman100 Active Member Licensed User Longtime User Jun 29, 2012 #1 Is there any way to detect if the soft power button has been pressed ? I want to start a timer in Activity_Create when the FirstTime variable is true, and then stop the timer when the soft power button is pressed. Thanks Potman
Is there any way to detect if the soft power button has been pressed ? I want to start a timer in Activity_Create when the FirstTime variable is true, and then stop the timer when the soft power button is pressed. Thanks Potman
Erel B4X founder Staff member Licensed User Longtime User Jul 1, 2012 #2 You cannot intercept the power button press. I'm not sure what you are trying to achieve (and I don't think that starting a timer when FirstTime is true will give you the results you want). If you give more information then there might be a different solution. Upvote 0
You cannot intercept the power button press. I'm not sure what you are trying to achieve (and I don't think that starting a timer when FirstTime is true will give you the results you want). If you give more information then there might be a different solution.