osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.72k stars 1.03k forks source link

can't use NLP to update location while navigation route is active #2683

Open Be-ing opened 8 years ago

Be-ing commented 8 years ago

The GPS on my Samsung Galaxy S5 Mini (G800H) does not work (this device is known to have hardware issues with the GPS), so I was hoping I could use UnifiedNLP with Mozilla Location Service to get updated positions via WiFi. I live in a large city with tons of WiFi networks everywhere, so I think this could be practical.

In CyanogenMod's locations settings I have "Battery saving" (WiFi and mobile networks only, no GPS) mode selected, but OsmAnd doesn't respect this while navigation is active. I can calculate a route using my currently location as a waypoint using UnifiedNLP, but OsmAnd displays a warning that says "The background navigation service requires a location provider to be turned on." Thereafter, OsmAnd only attempts to use my broken GPS, but not UnifiedNLP. While the route is active, pressing the crosshair in the bottom right of the screen doesn't work, but it does after the route is dismissed. Auto centering the map doesn't work either. It would be nice if OsmAnd would respect the OS' location setting, at least when pressing the crosshair button, if not for automatically updating position while moving too. It would also be nice if there was an option to limit how often an updated location is requested while navigating to limit battery and data usage.

I am running OsmAnd~ 2.3.5 on Cyanogenmod 12.1.

vshcherb commented 8 years ago

OsmAnd doesn't use for navigation methods with precision > 30 meters.

Be-ing commented 8 years ago

That doesn't mean the crosshair icon shouldn't use whatever location service is available like it does when navigation is not active.

vshcherb commented 8 years ago

We consider this very confusing for car navigation though for foot navigation it might be ok

Be-ing commented 8 years ago

I don't understand what difference the mode of transportation makes. Not being able to use any location service when there are services available is confusing. Personally, I'm mostly interested in this for biking.

Mannshoch commented 7 years ago

Is there some Progress?

sonora commented 7 years ago

As a side note: I am not aware of general "hardware issues" with the Samsung Galaxy S5 Mini's GPS system. In fact one of my test devices I use to double-check almost all of our nightly builds is an S5 mini, and it works flawlessly with OsmAnd. Maybe the issue is that you do not use the stock ROM, since you mention Cyanogenmod...

Be-ing commented 7 years ago

I think the hardware issue might be only for certain submodels of the Galaxy S5 Mini. The issue occurred with the stock ROM too. But my Galaxy S5 Mini was stolen anyway, so the point is moot for me personally.

Mannshoch commented 7 years ago

I have this Issue also on Fairphone 2 (Android 6.0.1) OS: FP-Open 17.07.6