I read about the differences between Service
and IntentService
.
The main thing I read is that IntentService
has a Workerhtread that the service runs in.
I need to have a service which run regardless of the application activities/ui, and keeps track of the user location.
The service will implement GoogleApiClient.ConnectionCallbacks
, GoogleApiClient.OnConnectionFailedListener
and also LocationListener
, and when running, will update a table with the location of the user all the time (until stopped).
Should I use Service
or IntentService
?