Im using fused location API And i have 2 intent services:
The first intent service is registering GoogleApiClient Object. The second intent service is getting location updates frequently and does not using GoogleApiClient Object.
I want to call : LocationServices.FusedLocationApi.removeLocationUpdates(mGoogleApiClient,pendingIntent);
from the service that is getting location updates to stop getting location immediately but i cant becuase mGoogleApiClient does not registered ther.
Im confused about the solution to this ? Any ideas?
Aucun commentaire:
Enregistrer un commentaire