codepath / codepath/android_guides

Force FusedLocation api to get location only from gps provider

Open
#348 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
28.3k
Forks
6.2k
PR merge metrics
No merged PRs in 30d

Description

Hello,

I have an app that rely on location speed and direction, and I switched recently from LocationManager to FusedLocation api, so the app can continue get location updates while in background with foreground service. anyway, my problem is that locations comes from network provider does not have speed and direction, and for that reason I want to tell FusedLocation to get Locations only from gps. how is that possible?

Note: every point is important, so I can't miss any location update with its speed and direction for some calculations.

Thanks

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.