JordiCP Expert Licensed User Longtime User Mar 20, 2018 #1 This question may be obvious, but I can't find it Is there a simple way to know (other than tracking the state with a variable in the app events), if a code is being executed in the foreground or in the background?
This question may be obvious, but I can't find it Is there a simple way to know (other than tracking the state with a variable in the app events), if a code is being executed in the foreground or in the background?
Erel B4X founder Staff member Licensed User Longtime User Mar 20, 2018 #2 No. You will need to track it with a process global variable. Note that you should use Application_Active to track the foreground mode. Upvote 0
No. You will need to track it with a process global variable. Note that you should use Application_Active to track the foreground mode.