Questions tagged [location-client]

The LocationClient is the main entry point for location related APIs, such as location and geofence.

The LocationClient is the main entry point for location related APIs, such as location and geofence.

Use the LocationClient to:

  • Connect and disconnect to Google Location Services.
  • Request/remove location update callbacks.
  • Request/remove geofences.
  • 84 questions
    0
    votes
    1 answer

    Retrieve location from Service

    I'm trying to do a service, who listen user's location. Code bellow: public class ServiceBeezer extends Service implements OnConnectionFailedListener, ConnectionCallbacks { private LocationRequest mLocationRequest; private…
    Cristian
    • 514
    • 4
    • 21
    0
    votes
    1 answer

    Android Location Updates get stuck

    I am developing an android application wherein I need the user location updates pretty frequently. Say 2 times a minute. Earlier I had been using Google Play Service's "Fused location service" but the location updates were not received as requested.…
    geekoraul
    • 2,623
    • 2
    • 21
    • 33
    0
    votes
    1 answer

    Does requestLocationUpdates() create a sperate service?

    In my application I am using .requestLocationUpdates() method of the LocationClient Class to request for location every 5 seconds. Once a location update is received it will call onLocationChanged method in which I am creating a new AsyncTask to…
    Rakesh
    • 1,133
    • 4
    • 13
    • 28
    0
    votes
    2 answers

    Does LocationClient stop requesting updates when my app is in the background?

    I want to conserve on battery so I am trying to decide if I should leave LocationClient connected, or connect / disconnect in onStart / onStop like in the official examples. I want to be location aware in my entire app, which means I could…
    theblang
    • 10,215
    • 9
    • 69
    • 120
    0
    votes
    1 answer

    Issues with LocationClient

    I am developing a location based application where I have written a service that requests frequent location updates using LocationClient. The application is showing correct current location when my data pack is on but as soon as I switch to WiFi,…
    Raeesaa
    • 3,267
    • 2
    • 22
    • 44
    0
    votes
    3 answers

    Location based android application

    I am developing a location based android application which requires to retrieve location continuously in background. I am using a LocationManager for fetching location updates. I have written a service that implements the LocationListener and…
    Raeesaa
    • 3,267
    • 2
    • 22
    • 44
    0
    votes
    2 answers

    Android: at com.google.android.gms.internal.u.y(Unknown Source)

    I try to get current location, following the guide from http://developer.android.com/training/location/retrieve-current.html my google play service is up, however my locationclient still can't connected, and getting those error when i running the…
    atom2ueki
    • 837
    • 4
    • 15
    • 32
    0
    votes
    1 answer

    Grab the Location of LocationClient before it is provided to Maps?

    I'm messing with the LocationClient in combination with Google Maps V2, because I wanna integrate it in my app and outdate the LocationListener, LocationSource combination. One requirement of the app I'm working on is to grab the Location provided…
    Steve Benett
    • 12,843
    • 7
    • 59
    • 79
    0
    votes
    2 answers

    Check if Location is unavailable in Android Location Client

    I would like to check if Location Client is able to provide any location. Is there any way to do so, apart from calling normal location system service?
    pixel
    • 24,905
    • 36
    • 149
    • 251
    1 2 3 4 5
    6