Situ LLC Active Member Licensed User Longtime User Aug 24, 2025 #1 I'm experiencing difficulties terminating an application in B4A. The application leaves some background processes running and they don't terminate until I manually force stop the app. Is there a more forceful alternative to ExitApplication that I can use? Thank you. Salud
I'm experiencing difficulties terminating an application in B4A. The application leaves some background processes running and they don't terminate until I manually force stop the app. Is there a more forceful alternative to ExitApplication that I can use? Thank you. Salud
teddybear Well-Known Member Licensed User Aug 24, 2025 #2 Situ LLC said: I'm experiencing difficulties terminating an application in B4A. The application leaves some background processes running and they don't terminate until I manually force stop the app. Is there a more forceful alternative to ExitApplication that I can use? Thank you. Salud Click to expand... See this. I guess you would like to remove it from recents screen, try this code B4X: Dim jo As JavaObject jo.InitializeContext jo.RunMethod("finishAndRemoveTask", Null) Upvote 0
Situ LLC said: I'm experiencing difficulties terminating an application in B4A. The application leaves some background processes running and they don't terminate until I manually force stop the app. Is there a more forceful alternative to ExitApplication that I can use? Thank you. Salud Click to expand... See this. I guess you would like to remove it from recents screen, try this code B4X: Dim jo As JavaObject jo.InitializeContext jo.RunMethod("finishAndRemoveTask", Null)