Android Question When app crashes, is not fully closed

yo3ggx

Active Member
Licensed User
Longtime User
Hello,

I have an application that runs some code in a service (to allow running in the background). When the application crashes, Android shows it as open.
I try to use in Starter service
B4X:
Sub Application_Error (Error As Exception, StackTrace As String) As Boolean
    ExitApplication
    Return False
End Sub

The app still remains open in the background.
If I keep only Return False, the app does no more close, but this is not what I want.

What can I do to just close everything?

Thanks.
 
Last edited:
Top