1
Я хочу создать приложение geofencing с Android 5.0 (Lollipop). Но когда я просматриваю эту ссылку google http://developer.android.com/training/location/geofencing.html , я понял, что Google использует класс LocationClient, который устарел. Итак, мой вопрос: Как получить обновления геообстановки с помощью GoogleApiClient?Geofencing and Lollipop
вот код, который мне нужно заменить:
mLocationClient.addGeofences(
mCurrentGeofences, pendingIntent, this);
mLocationClient от класса LocationClient.