Using GoogleApiClient in a service
问题 I am trying to get location update information in service. For this I have created a service and in onStartCommand of service class I am creating GoogleApiClient, but I am not getting connection call back in the service. Please help to resolve this. Below given is the service code and in activity I have started service using startService method : startService(new Intent(this, LocationService.class)); service code public class LocationService extends Service implements GoogleApiClient