The Fused Location Provider intelligently manages the underlying location technology and gives you the best location according to your needs.
Questions tagged [fusedlocationproviderapi]
436 questions
0
votes
0 answers
Unexpected behavior - Background location capture using fused location provider
I am trying to use fused location provider to capture location in background every half an hour with PRIORITY_HIGH_ACCURACY. To achieve this, I have used PendingIntent with BroadcastReceiver and requesting for a location update every thirty minutes.…

Kaps
- 2,345
- 2
- 26
- 37
0
votes
1 answer
Possible to get fresh data (exact current location) using Android's FusedLocationApi?
Let's say I'm using FusedLocationApi's requestLocationUpdates with interval of 5 minutes, so I will have a cached location data that won't be much older than 5 minutes.
However when the user presses a button for example, I would like to get the…

Bruce
- 2,357
- 5
- 29
- 50
0
votes
1 answer
How to Canecl GoogleApiClient Location request when no location available and send request again when location available
we have made a tracking app in which we are using fused location provider API to track the user location.Also GoogleApiClient is used with combination of LocationServices api.
In the app we are tracking location in the time interval of 2 minutes.…

Praveen
- 31
- 3
0
votes
1 answer
getTriggeringLocation always returns null
I have a problem coming along with Android Fused Location API. I have an IntentListener service that I need to receive locations periodically. I create and connect GoogleApiClient successfully, then I request to receive location updates through…

Davita
- 8,928
- 14
- 67
- 119
0
votes
1 answer
Android - Fused location api
Fused Location Api
when the google api client get Connected //
public void onconnected()
{
LocationServices.FusedLocationApi
.requestLocationUpdates(mGoogleApiClient, mLocationRequest, this);
}
but suppose due to no…

Rumour
- 310
- 3
- 20
0
votes
1 answer
How to update time interval in fused location service depending on application being in foreground/background?
How to have two different location update interval in Fused location when app is in foreground (For example: 5 sec) and when app is in background (For example 5 minute)?
0
votes
1 answer
Android FusedLocationproviderApi requestLocationUpdates not running pendingIntent in deep sleep mode
I'm using requestLocationUpdates
GoogleApiClient client;
LocationRequest request;
PendingIntent callbackIntent;
From FusedLocationProviderApi. It is working correctly and frequently when screen is ON.
However it doesn't call the PendingIntent…

james
- 1,967
- 3
- 21
- 27
0
votes
1 answer
Fused location provider singleton example?
Hi is it possible to create a fused location provider singleton which can be used to get the last location from many activities?
In addition how would i maintain an Google Api Client instance across these activities in terms of connect and…

Ersen Osman
- 7,067
- 8
- 47
- 80
0
votes
2 answers
Why does the Android GoogleApiClient ActivityRecognitionApi still send PendingIntents after the instantiating service is killed?
Confusingly, the FusedLocationProviderApi stops sending intents.
A bit more detail:
I have an Android service that builds a GoogleApiClient.
mClient = new GoogleApiClient.Builder(this)
.addApi(LocationServices.API)
…

Keith Carter
- 422
- 1
- 6
- 18
0
votes
2 answers
Can I use fusedlocationproviderapi and force using GPS only?
I am using fusedlocationproviderapi in my Android app to transmit the users location. This works fine except sometimes the location jumps to a location in town and later shows that same location. I believe that the app switches from GPS to cell…

Azkik
- 75
- 4
- 13
0
votes
1 answer
Getting location null with fused location provider getLastLocation
I am using googleApiClient with LocationServices api to get the location.
I am able to get last location if In phone settings wifi & mobile network location is checked.
But If I unchecked the wifi & mobile network location. It does not provide any…

Praveen Mishra
- 146
- 1
- 12
0
votes
0 answers
Convert non-blocking android FusedProvider API to blocking
I am trying to use the non-blocking FusedLocationProvider API as a blocking one. Here's what I am doing (roughly):
Start an AsyncTask
In the background thread, connect to the
PlayServices/FusedProvider API. There is a blocking method with a timeout…

iceman
- 826
- 13
- 25
0
votes
1 answer
Will I lose requested location updates in a FusedLocationProvider if I set the fastestInterval too low?
I haven't found much documentation on this, and it doesn't really seem very easy or straightforward to test. I'm building a LocationRequest for use in a FusedLocationProvider. Here is a link to the docs for…

Joe
- 4,585
- 3
- 37
- 51
0
votes
1 answer
Check if the device is STILL (Not Moving) to ignore onlocation changed events in Android
Hi i am working on a real time location tracking application where i have used Fused Location provider Api. I was able to get the location updates when the device is moving. But i was also able to get the location updates even if the device is…

hemanth kumar
- 3,068
- 10
- 41
- 64
0
votes
3 answers
Get location address on app startup
I need the location on app startup. Am following this tut with fusedlocationapi to get LastLocation: https://developer.android.com/training/location/retrieve-current.html
It's working perfectly when the AsyncTask for looking up address is executed…

Ishaan Garg
- 3,014
- 3
- 25
- 28