F
F
furyon2016-03-27 22:42:25
satellite navigation
furyon, 2016-03-27 22:42:25

How to get coordinates in Android?

Hello!
Task: periodically send the coordinates of the current location from the Android application to the server.
It seems trivial, I began to understand, I realized that:
1. GPS is slow, often turned off (on 6+ androids it can be turned off in 2 places);
2. You can take the last received location, but as I understand it, accuracy suffers from this;
3. Data can be received without GPS turned on, from WiFi or cell towers (but they are not always nearby).
All these methods have pros and cons, in theory it is necessary to combine all this.
I went further, started looking for ready-made libraries on the github, oddly enough, but I did not find powerful popular tools (maybe I was looking badly).
Moving on, stumbled upon PathSense, installed, but I did not find how to get lat long, without any paid google maps.
Tell me, how do you solve this problem? Are there ready-made libraries?
Thank you.
PS I tried to write myself, now it works like that, but I don't like the speed of determining coordinates, the need for gps, etc.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
Cexhaif, 2016-03-28
@furyon

https://android-arsenal.com/details/1/1321
Fast and functional

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question