location-client Questions

2

Solved

I'm writing an application that needs to use geofencing for when someone enters/exits multiple sites over the lifetime of the application being installed. My implementation of geofencing (very si...

1

Solved

SO I've created geofence as below: GeofenceModel modelExit = new GeofenceModel.Builder("id_oi_456") .setTransition(Geofence.GEOFENCE_TRANSITION_DWELL) .setExpiration(Geofence.NEVER_EXPIRE) .se...

1

I work on an app that uses location data, and it needs to work in China. Android devices sold here largely don't have Google Play API installed at all and the only way is to root the phone to insta...

4

Solved

I'm about to implement a feature with geofences and before I get any serious work done, I need to know whether geofences remain active after the first transition. The core of the feature is: e...

3

Solved

I'm getting this error developing an application in Android Studio that I would like to use location services in.I know this question has been asked before but I beleive the previous was with an ap...

1

I have this code which I use to position a map app. I tested it in a Galaxy S2 device and works fine, but when I tested it in a nexus 4 device the onLocationChanged callback never gets called. What...
Huggermugger asked 25/7, 2013 at 13:44

3

Solved

I formatted my computer and again imported my android project which has been done using Google Maps API V2 and found out many errors.I re-linked google_play_services_lib and android-support-v7-appc...

7

This is a question which has been asked numerous times but I could not find a solution that always works. I am developing an application using the Fused location provider. In the onConnected() met...
Wivern asked 7/8, 2013 at 17:8

2

I am having some trouble with activity recognition. I have implemented it in an app and it works fine when the device's screen is on. I have a log entry in my Activity recognition intent service cl...

1

On Android we have a class that wraps a LocationClient object from GMS (Google Mobile Services). (Note that LocationClient implements com.google.android.gms.common.GooglePlayServicesClient). Unfor...
Antipasto asked 18/6, 2014 at 14:50

1

Solved

I am writing an application which needs a connected location client in all the activities. How do the manage the state of the client? I want to call the mLocationClient.connect() only once to avoi...
Moise asked 16/6, 2014 at 1:1

1

Solved

I am trying to use the geofencing api from the google play services but I can't manage to get my broadcast receiver trigger its onReceive() method. It looks like I respect everything that is neede...

3

Solved

I tried to reconnect to LocationClient when the connection gets lost (When user clear the RAM). I tried to use this code: private final GooglePlayServicesClient.ConnectionCallbacks mConnectionCal...
Landry asked 15/10, 2013 at 5:37

1

Solved

I want to slow the update rates as soon as I got a location precise enough for my needs: @Override public void slowUpdateRate() { /* * Set the update interval */ Dbg.v(TAG,"****************...
Jailbird asked 20/9, 2013 at 10:17

1

Solved

I have started to implement the Google Location API using this tutorial. I've managed to get it to work in my application quite fine, it updates my location at the right intervals etc. Now I am wo...

1

Solved

I'm using the new Google LocationClient to retrieve geo locations. And I need to get speed for each point (location). What I'm doing now is: if (mLocationClient == null) { mLocationClient = new L...
Interscholastic asked 21/6, 2013 at 15:30

1

Solved

Google recommends now using Google Play Services to manage user location. But how can we, using this API, check wether GPS is turned on in device or if we still have gps connection? In com.google....
Inconsistent asked 15/6, 2013 at 8:56
1

© 2022 - 2024 — McMap. All rights reserved.