I have an application that works like a GPS tracker, it is working normal, when the user moves it plays on my server the change that causes all the devices to change the Marker. But I need to make the OnMyLocationChangeListener function work even with the application closed, I thought of a Service, but I do not know if this is possible. Does anyone know if it is? If not, is there a better way to do it?