I have upgraded from FusedGPS to new GPSTracker.
I get that by this:
B4X:
CancelScheduledService(Me)
StopService(Me)
I can correctly stop the service. But when to call it ?
Application (UI) can be killed by Swipe or from Application list, that is intented kill so I want to kill the service.
is there any method like Activity_Destroy ??
or ?
There is no such button....
I am speaking about situation when user kill the App by swiping out from active applications
How Am I supposed to catch this event ??
If he do it even accidentally Then he has no way to kill the tracker because there is no App and no button....
And Tracker is immortal