All our Android phones have GPS. Yes, that thing that allows geolocalizarnos accurately. But really, how the heck does it work? Today we raise a little the difficulty level and spend a few minutes to understand the structure and architecture of the GPS. Although it sounds complicated, it is not so.
header image, we can detect five key components:
Driver uses GPS target=”_blank”> from low level to communicate with the Chip GPS. Is simply a series of files located in / System / lib / hw or / vendor / lib / hw and usually begin with the prefix GPS * and ending with the suffix * SO depending on the version of Android (examples: gps.default.so or gps.aries.so )
The heart of the matter. It consists of an address or path (/ system / bin) followed by names like glgps or gpsd . It works using configuration parameters consist. Xml files or. Conf (glconfig.xml, gps.xml, gpsconfig.xlm, gps.conf). All of these names again depend on the version of Android and usually found in (/ system / etc / system / etc / gps or / vendor / etc).Depending on the configuration and the platform. The GL Engine takes the Information Location from mobile towers and read the NVRAM (where data is stored in the GPS lock). NVRAM information is basically in / data / gps in files ending in. Sto y. Dat (eg gldata.sto, lto.dat, xtra.bin, epo.dat). Using all this information, the GL attends GPS Engine Driver : basically is able to detect multiple GPS satellites to the GPS is scheduled to Driver, but to fix the position requires information can be downloaded from the same GPS satellites (slower) or you can access the Internet to use the SUPL servers / NTP (high speed). Then save all data in NVRAM for future use.
Android or Location Services Framework
It is a series of classes such as the Location Manager , who provide services for an application to use the GL Engine. It is a kind of bridge between the application and the GL Engine. here a little more info about it.
Any application that uses GPS. Google Maps, Navigation, Sygic, etc. ..
improves the speed of your GPS with GPS Fix
With all we have seen this in mind, let’s see how all applications / solutions that improve the performance of your GPS such as GPS Status , GPS Test , and other GPS Doctor. Basically, what these applications are two things:
Download XTRA data (lto.dat, xtra.bin, epo.dat, gldata.sto, etc …)
Google , but often, when changing ROM or X reason, are unable to use it due to invalid or expired certificates. The Google server rejects it and therefore never fixed position.One possible solution is to change the SUPL server by Nokia (supl.nokia.com: 7275). To do just that you should follow these instructions .
Now you know how the GPS in your Android. I hope it was interesting.
Surely you also interested …
- How does the warranty and return policy of the Nexus?
- Wikidroid and WikiCode, two excellent sources for learning to program Android
- Learning Android IX: Logs and Methods
- Extreme Android: a programming contest in the Pyrenees co-organized by the android Free
- Programming a game of infinite scroll in Android
- Special AppInventor: Introduction
- Get ready to create your own ROM
- Learning Android V: Initializing the GPS API
December 31, 2012