Skip to content

Conversation

@jLagosCarrera
Copy link

@jLagosCarrera jLagosCarrera commented Jan 21, 2026

Hello good night,

I'm testing out a fix to retrieve the location from my Lenovo Tab P11 Gen 2. The tablet doesn't have an internal GPS and it uses the Fused Location Provider instead of the GPS provider required by Open Orienteering Mapper.

The thing is, I have a Garmin Glo 2 external GPS that I'm running with the Bluetooth GNSS app mocking the location and still I'm not able to run the app because that doesn't change the tablet doesn't have a GPS provider available.

I opened the PR so that the pipeline builds the APK for me as I'm currently sitting at a Windows computer and I felt like this was going to be the fastest way of testing it by reading this documentation.

Regardless of the answer, big thanks for you work on this project and for spending the time reading my answer. I hope you can find this idea cool and provide support to even more people that want to get started with OOM like me 😃

EDIT:
Long story short, it works. Now OOM doesn't say I do not have GPS and the location is perfect because I'm running the Garmin Glo 2.

Now my question is... Would it be possible to include this on the next release @dg0yt?

Of course, not in the current state. I have no idea about C++ development but I could try to make this configurable through a checkbox on the location settings saying something like

"Enable approximate location: Uses WiFi, Bluetooth, or Mock Location apps to find your position on devices without integrated GPS"

so that the users only checks them knowing what is it exactly for. Still I don't know if only the current changes and this checkbox I'm mentioning are the only needed changes... 😞

I truly believe this is a cool feature that will enable a lot of users to use OOM. Let me know what you think!

@jLagosCarrera jLagosCarrera reopened this Jan 21, 2026
@jLagosCarrera jLagosCarrera marked this pull request as draft January 21, 2026 23:51
@jLagosCarrera jLagosCarrera changed the title Test fused location provider fix Test location fix for non GPS tablets Jan 22, 2026
@jLagosCarrera
Copy link
Author

Update: I've tried GPS Connector, another app to connect my Garmin Glo 2 and this one mocks the GPS properly.

Still, do you think the checkbox to enable less precise positioning methods (or to give support to other apps that mock the GPS signal) is something cool? Otherwise I'll just close the PR.

@dg0yt
Copy link
Member

dg0yt commented Jan 22, 2026

Thanks for your experimentation, reporting and PR. This is a valuable contribution.

I would not merge the PR as is now because I do not fully understand the impact on different setups. I would not want to let users unexpectedly pick a location source with coarse precision.

Leaving the PR open for now is the best way to eventually let us merge related changes with proper attribution to your original work.

@jLagosCarrera
Copy link
Author

Thanks for your experimentation, reporting and PR. This is a valuable contribution.

I would not merge the PR as is now because I do not fully understand the impact on different setups. I would not want to let users unexpectedly pick a location source with coarse precision.

Leaving the PR open for now is the best way to eventually let us merge related changes with proper attribution to your original work.

Totally agree! My changes definitely shouldn't be the default.

It might work better as an optional feature where users can choose to enable coarse precision for OOM. If you end up finding time to add the configuration setting, let me know and I can do some manual testing.

In any case I can proceed with GPS Connector app, and for the worst-case scenario I can generate my own apk.

Thanks for your time, I'll leave the PR open 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants