Questions tagged [fusedlocationproviderapi]

The Fused Location Provider intelligently manages the underlying location technology and gives you the best location according to your needs.

436 questions
0
votes
0 answers

FusedLocationProvider finds location faster with GPS turned of

My android app relies on location. However the FusedLocationProvider which I use for this as abstraction layer so that I do not have to worry about what LocationProvider to use, behaves unexpectedly. Scenario: User opens app. I check for the…
0
votes
1 answer

GoogleApiClient keeps GPS radio on

I have been working on utilizing the FusedLocationProviderApi in my android application, however whenever I create the GoogleApiClient as follows: mGoogleApiClient = new GoogleApiClient.Builder(context) .addApi(LocationServices.API) …
0
votes
1 answer

Different coords by LocationListener VS FusedLocation

I noticed that LocationListener and FusedLocation (used with GPS, by PRIORITY_HIGH_ACCURACY) retrieve different coordinates. LocationListener get back latitude with 8 decimals, instead FusedLocation get back latitude with 7 or sometimes 6 decimal:…
-1
votes
1 answer

GPS getting turn offf in service with LocationManager

we have developed C.R.M. software which provides location tracking functionality in background . to achieve that functionality i have used foreground service for android OREO or above version of android . we are trying to get current location of…
-1
votes
2 answers

Miminum play services version required for FusedLocation API

For using FusedLocationApi what is the minimum version of the play services installed on the device? Also as LocationManager does not need play services, is there any minimum requirement for using LocationManager. I want to get the Location of users…
-1
votes
2 answers

How to Accurate FusedApi between 10 meter

Incorrect Fused Location API location LAtitiude Longitude.Is there any API to provide accurate location?
Pawan Soni
  • 860
  • 8
  • 19
-1
votes
1 answer

Android: IntentService suddenly stops

I am developing a tracking application in android. While I tested the application I found a problem: I'm using AlarmManager to start a WakefulBroadcast that calls an IntentService, inside the OnHandleIntent method I'm calling…
-1
votes
1 answer

Googles FusedLocationApi.setMockLocation does not trigger onLocationChanged

I am trying to mock GPS locations in my Android App. I do: use com.google.android.gms:play-services-location:9.4.0 have a registered GoogleApiClient have all necessary permissions: ALLOW_MOCK_LOCATIONS, ACCESS_MOCK_LOCATION, ACCESS_COARSE_LOCATION,…
simmerl
  • 9
  • 1
  • 5
-1
votes
2 answers

Android FusedLocationApi Location Service Not Working Properly using Runtime Permission API 23

Can anybody help me to solve problem: onConnected() method why my LocationServices.FusedLocationApi.requestLocationUpdates( mGoogleApiClient, mLocationRequest, this); code not executing; and retrun from checkSelfPermission() what…
-1
votes
2 answers

Which Google API to activate when using FusedLocationAPI

I m new with android. I m trying to use google api for my app to get location of device. I have found that fusedlocation api is good for that but i m little bit distracted, when I open console.developers.com and try to get google API key for my…
Filip Glemba
  • 23
  • 1
  • 6
-1
votes
1 answer

Fused Location Provider app crashes and Logcat Understanding

I ve made a small module to get current location coordinates using fused location provider. My MainActivity.java file looks like this TextView globalCoordinates = null; private GoogleApiClient mGoogleApiClient; private Location…
Aqarain
  • 82
  • 9
-2
votes
1 answer

How to resolve the location symbol in import for google map

I am trying to get my location on Android Studio using GoogleMap but I can not import gms.location. getting error cannot resolve the symbol location. And some codes are deprecated. like setOnMyLocationChangeListener. import…
-2
votes
1 answer

Android offline location fetch

Cannot able to fetch the location in offline mode using fused location provider client for lower version device like lollipop and jellybean device.
-2
votes
2 answers

Android giving wrong location

I am using fused api helper to get location, I get correct location almost 99% of but 1% of the time the variation is huge... more than 1000km with good accuracy as well how do we rectify this?
Tushar Saha
  • 1,978
  • 24
  • 29
-3
votes
1 answer

I starting my project using Fused Location provder, but I got an error message while fixing gradle file

I am trying to use Fused Location Manager in Android. Android said to change gradle file in the project. I changed the file, but it shows the error below. Please help me
1 2 3
29
30