Android Question {Solved] Detecting B4XPages termination?


Licensed User
Longtime User
If I have a B4XPages app when it goes into the background it still receives, say Timer, events and runs code. As it goes into the background I get the B4XPage_Background event in the top page which is raised by the Activity_Pause event. It still ticks on in the background but if I then kill it by swiping it away in recent apps I get no indication at all. It just stops and dies and seems to not even call the _onDestroy() Java hook.

Is there any way to detect it dying?