📜 ⬆️ ⬇️

GPS Updater - we accelerate the speed of fixing GPS for Android without mobile Internet

As you know, a “bare” GPS during a cold start without external assistance receives the coordinates in 3-12 minutes. This is due to the fact that the data set with the coordinates of the satellites is transmitted by each satellite for 12.5 minutes. Taking simultaneously data from several satellites, this time can be reduced, but it is still quite large.

Android phones are no exception. When you run Yandex.Maps, for example, your Android tries to get the exact time via the mobile Internet, and download satellite orbit parameters (almanac and ephemeris) via the Internet. With this information, coordinates can be obtained in a few seconds.

Usually, they try to solve problems with the speed of capturing GPS coordinates by editing the gps.conf file (which requires a rooted phone) - for example, non-working NTP servers can be specified there. But what if there is no mobile Internet at all?
')
To solve this problem, I asked a colleague, Xonder, to write a GPS Updater program, which, according to the schedule, downloads the Almanac via home WiFi (if necessary, including WiFi, and then turning it off), which ensures the time of receiving coordinates during the day ~ 5-45 seconds. As a side effect, all applications are synchronized, mail is downloaded and so on.

In addition, the program can turn on WiFi and update the Almanac while charging, when electricity is not a pity. And all this - download for free, without advertising and SMS . I hope this program will be useful to someone from the readers.

Importantly, the program does not occupy memory at all - it runs only for event processing (such as connecting the charging or reaching the update time on a schedule).
See screenshot

Answers questions and fixes bugs - Xonder .

Ps. Yes, this program is only for those who do not always have mobile Internet.

Source: https://habr.com/ru/post/175751/


All Articles