Q qsrtech Active Member Licensed User Longtime User Jun 23, 2013 #1 Hi, I need to find out if my app is running in the background. Note the whole app not just an activity, i.e. my app has many activities. Thanks! John
Hi, I need to find out if my app is running in the background. Note the whole app not just an activity, i.e. my app has many activities. Thanks! John
Erel B4X founder Staff member Licensed User Longtime User Jun 23, 2013 #2 Is there any service running? If not then where do you want this code to run? Upvote 0
Q qsrtech Active Member Licensed User Longtime User Jun 23, 2013 #3 Hi yes it's in a service. I have a timer that needs to run some code in my main activity. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jun 23, 2013 #4 You can use IsPaused(Main) to check whether the main activity is paused or not. Upvote 0