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
1
vote
1 answer
Kotlin: getFusedLocationProviderClient crashes
I am following a tutorial from Raywenderlich on Google Maps with Kotlin. I have the following code that crashes for reasons I cannot fathom:
MapActivity.kt
import com.google.android.gms.location.LocationServices
...
private lateinit var map:…

pnizzle
- 6,243
- 4
- 52
- 81
1
vote
1 answer
Reduce GPS jitters
my application is based on GPS data and for that I'm using Fused-location-provider.
From now and then I have seen that there's a gps jitters and some GPS coordinates are off the road. This is unacceptable. What I tried to do was to implement Kalman…

MaaAn13
- 264
- 5
- 24
- 54
1
vote
1 answer
Use property as accessor for Kotlin Coroutine
Kotlin Coroutines question... struggling w/ using a property instead of a function being the accessor for an asynchronous call.
Background is that I am trying to use the FusedLocationProviderClient with the kotlinx-coroutines-play-services library…

jesses.co.tt
- 2,689
- 1
- 30
- 49
1
vote
2 answers
Give java.lang.NullPointerException: when i click on current location button
when i click on current button for getting user's current location then give nullpointer exception even i check the fusedapi is granted or not and also when user allow for current location access then i retrive the current location but it show the…

mayur.pancholi
- 446
- 1
- 8
- 18
1
vote
1 answer
request location updates never called onLocationResult
I am using FusedLocationProvider to get the last location of the phone. Unfortunately the returned location is far from being accurate and it is not updating!.
Even When I call requestlocationupdates,the OnlocationResult never being called with…

Raafat
- 11
- 3
1
vote
1 answer
onLocationCallback is not called on Lollipop Emulator with FusedLocationProviderClient
With FusedLocationProviderClient,locationCallback does not get called on Lollipop Emulator. The emulator does not contain GOOGLE Play Services.The POP UP to enable location services pops up and the startLocationUpdates() method is called but the…

Subrat Pani
- 43
- 1
- 7
1
vote
1 answer
Not Able To Upgrade Gps settings to high Accuracy using FusedLocationProvider In some devices
I am using SettingsApi and FusedLocationProvider to upgrade Gps settings and getting location updates, I want High accuracy location updates for that I am showing Turn on gps dialog using SettingsApi to upgrade GPS settings to High Accuracy but in…

m3g4tr0n
- 591
- 7
- 15
1
vote
0 answers
Displacement and Interval together in FLP
I am using Fused Location Api to get location updates. When I set 15 minute as time interval then I got onLocationChanged() called after every 15 minute. And when I set 50 meter as minimumDisplacement then onLocationChanged() is not called until…

Fahimeh Hashemian
- 151
- 2
- 10
1
vote
0 answers
How to get location using external pseudo ranges in Android?
I have calculated pseudo ranges from the raw GPS data in Android. Now, after some operations on the pseudo ranges, I have to give back the pseudo ranges to the API to get back the Location object which has latitude and longitude. How can I do that?

Purusharth
- 11
- 1
1
vote
1 answer
Diffrence between FusedLocationProviderClient and FusedLocationProviderApi
How FusedLocationProviderClient differ with FusedLocationProviderApi what sort of things get solved using new FusedLocationProviderClient please tell major difference at code level and internal working of both.

Nikhil Singh
- 300
- 2
- 13
1
vote
0 answers
FusedLocationAPI Noisy Data cancellation
Need your valuable suggestion for removing noisy locations provided by FusedLocation API using Kalman Filter as per some comment some other which says that GPS itself filter new location with Kalman filter. but there are also some other articles…

Pwn
- 308
- 3
- 9
1
vote
1 answer
Using Fused Location API and App Crashing Unexpectedly
I am using Google Fused Location API to get the current location of the device. For testing purposes, I am only saving the location to a TextView. I am calling the LocationActivity on Menu Select event but whenever I am clicking on the menu option,…

Strange
- 310
- 5
- 20
1
vote
2 answers
Fused Location Provider setSmallestDisplacement not working in specific movement
I tried to get user location when user was movement. I wrote below code and i set smallest displacement to 30 meter and interval to 0 millisecond that i get location in every 30 meter movement but my application not worked correct. If i stop in a…

Fahimeh Hashemian
- 151
- 2
- 10
1
vote
1 answer
FusedLocationProviderClient accuracy returns 1500 on some device
I am using FusedLocationProviderClient to trace location and I want to get the best location by using getAccuracy() method. I checked this method on some devices and it returns 1500 and sometimes 1700 while it has to be less than a few meters(less…

Mohsen Hatami
- 317
- 3
- 14
1
vote
1 answer
Removing location updates using FusedLocationApi NOT working
hello Im trying to stop location updates and I have used this code:-
LocationServices.FusedLocationApi.requestLocationUpdates(mGoogleApiClient, mLocationRequest, this)
But later I've noticed they stop using "FusedLocationApi" because its kinda…

abokor hassan
- 356
- 6
- 17