amorosik Expert Licensed User Sep 22, 2021 #1 I need to turn off an app that is currently running and visible on the screen I would send the command from my service that receives messages via sms or mqtt from a pc The question is: how to turn off an app currently running in the foreground?
I need to turn off an app that is currently running and visible on the screen I would send the command from my service that receives messages via sms or mqtt from a pc The question is: how to turn off an app currently running in the foreground?
Erel B4X founder Staff member Licensed User Longtime User Sep 23, 2021 #2 Is app2 your app? If so then you can send it an intent and close it from app2. Upvote 0
amorosik Expert Licensed User Sep 23, 2021 #3 Erel said: Is app2 your app? If so then you can send it an intent and close it from app2. Click to expand... No, not mine, app2 is a generic app that is running on foreground and visible on display Upvote 0
Erel said: Is app2 your app? If so then you can send it an intent and close it from app2. Click to expand... No, not mine, app2 is a generic app that is running on foreground and visible on display
DonManfred Expert Licensed User Longtime User Sep 23, 2021 #4 You do not have any control over other apps. Upvote 1
Erel B4X founder Staff member Licensed User Longtime User Sep 23, 2021 #5 True. With the special draw over apps permission, you can bring your app to the foreground. Upvote 0