android-fusedlocation Questions

5

I want to get periodic (say every 2 minutes) current location updates for this I'm following official documentation, I wrote this code but its not giving current location updates every two minutes ...
Cryptograph asked 9/7, 2017 at 0:55

2

Solved

I have an app which has been live for a couple of years now, but lately, I've been getting reports about the location system not functioning properly. I have tracked the issue down to the LocationC...

2

I have issues with my app recently, when it is out of nowhere rejected by Google Play because they found that I'm using background location. But in fact I'm not using this feature. I have only ACCE...

2

Solved

With FusedLocationProviderApi being deprecated, I'm having a hard time using FusedLocationProviderClient to get location of a user just once after a button click.
Germanophile asked 28/12, 2017 at 6:12

2

Is it even possible? I would like to be able to create a listener which will be notified about location permission changes (whether the app triggers them or not). As far as I can see, there are met...
Strangulate asked 13/7, 2018 at 14:20

1

I'm trying to get mock updates from FusedLocationProviderApi, but I can't seem to make it work. This my set up method in android instrumentation test: locationProvider = new LocationProvider(Instr...

7

Solved

I couldn't figure out why LocationServices.FusedLocationApi.requestLocationUpdates(mGoogleApiClient,mLocationRequest, this); "FusedLocationApi" is cross out and point at it saying is deprecated. Cl...
Eavesdrop asked 29/9, 2017 at 4:24

14

I am trying to get location by using FusedLocationApi.getLastLocation and I've got the location permissions in the manifest file: <uses-permission android:name="android.permission.ACCESS_COARSE...

1

Solved

First of all, I'm a total Android noob. Have looked for solutions for some time now, but can't find any helpful hints in the right direction so far. This might be generally caused by the nature of ...

1

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 SettingsA...

1

Solved

I'm experiencing a strange problem where the FusedLocationProviderAPI does not give me a better Accuracy number then 10.0 meters. It starts like normal giving me a high number of, for example, 56 ...
Chaussure asked 1/3, 2018 at 7:34

2

Update 2 I had a talk with a google engineer on Google I/O '18. He told me that I can trust the fusedLocationProvider. If he marks the last known location with a new timestamp the user is probably...

1

Due to the way our app works, I need to synchronously get the users current location. Our current implementation uses the com.google.android.gms.location.LocationListener to receive location update...
Sodden asked 24/10, 2016 at 13:43

2

Solved

I am trying to create a service that will receive location updates every x sec and after y distance. I receive updates after x sec but never after y distance. I have tested it multiple times with d...

3

There may be similar questions regarding this topic,But I need your thoughts and suggestions on some specific requirement. Here is my need - We are developing one app which tracks User's trip. Th...

0

I'm using FusedLocationAPI it is working properly but when user disabled location i'm using SettingsApi to show dialog to user to enable location. In marshmallow and above devices it is working f...

1

I have an Android app that gets location: private LocationRequest createLocationRequest() { LocationRequest mLocationRequest = new LocationRequest(); mLocationRequest.setInterval(120000); mLoca...

1

Solved

The flow in our app is the following: show a fullscreen activity explaining to the user why we need the GPS-location acquire the permission for GPS display loading spinner get first geolocation s...
Applicator asked 22/5, 2017 at 6:1

2

Solved

I am creating an app which will get a user name from DB and print the ID and then on button click it will show the current GPS coordinates. I have implemented it but don't know why its not working....

1

The sample source code from google was to easy to implement continuous location updates on frontend, but I still can;t get or understand clearly how the background location updates work using Fused...
Swoop asked 16/11, 2015 at 12:35

1

Solved

I am working on a project where we are trying to track the position of a device and keep the data for later use. Before I talk about the issue I would like to provide some background. By searching...

1

Solved

I want to get a hard location fix every certain minutes & a soft location fix every certain minutes and if user has moved more then certain meters. I been testing the logic with following piece...

1

A few days ago Crashlytics startet reporting weird crashes within my Google Play Services Location API Implementation. After the Google Play Services API is connected I try to get the last known lo...

3

I was using LocationManager to track the user current location, Now after changing location manager to FusedLocation API, the blue dot and circle is not shown even after setting map.setMyLocationEn...
Superstar asked 15/5, 2015 at 6:41

4

Solved

I have developed one application which is used to find current location of device. I have used Fused Location API to get current location. I am facing very strange issue, in some of devices i am n...
Celerity asked 17/2, 2016 at 12:5

© 2022 - 2024 — McMap. All rights reserved.