Android Question Stop Location Tracking on app closing

Maybe you can use in the tracking service? Not sure, test it.

Code:
Sub Service_TaskRemoved
    'This event will be raised when the user removes the app from the recent apps list.
End Sub
 
Upvote 0
Maybe you can use in the tracking service? Not sure, test it.

Code:
Sub Service_TaskRemoved
    'This event will be raised when the user removes the app from the recent apps list.
End Sub

Thanks you!!
It worked, i had to handle all the thing from the StartService and not in the TrackerService


Code:
Sub Service_TaskRemoved
    StopService(Tracker)
End Sub
 
Upvote 0
Back
Top