I am trying to create the Geofence in google location api-V2 But class LocationClient is not found in the latest version of google location library.
Is there any way to use Geofence with google api-V2
I am trying to create the Geofence in google location api-V2 But class LocationClient is not found in the latest version of google location library.
Is there any way to use Geofence with google api-V2
Can't you just use the GeoFence api? https://developer.android.com/reference/com/google/android/gms/location/Geofence.html, https://developer.android.com/reference/com/google/android/gms/location/GeofencingApi.html Otherwise here's a thread on the deprecation of LocationClient: Android LocationClient class is deprecated but used in documentation
Aaahhhh..... GoogleApiClient class is doing the work here:
LocationServices.GeofencingApi.addGeofences(apiClient, geoRequest, pendingIntent);