This page has been robot translated, sorry for typos if any. Original content here.

Compass in the mobile device

Afraid of getting lost among the skyscrapers of the imposing metropolis? Or maybe an incredible thirst for nature brought you into the forest on the berries, of course, mushrooms, did you get lost? Not grief Our "RTFM" rubric, together with digital information technology, is always ready to help in difficult times. No, we will not use navigation instruments in any way or learn how to determine the direction of the cardinal directions along the Polar Star, just use an ordinary cell phone, which will be our ... compass!

So, in order to see the phone in a new incarnation, you will need to download a special Java application into it, which will be played by the Compass software tool from a Canadian programmer with a caressing name Dean Christopher Mark Peters. The creator expands his development fully at ease, eagerly laying out the source code of the program for everyone to see. Well, very honorable! Those who wish, to the place, can sponsor Dane on the subject of buying him a beer (apparently, in order to quench his sadness, sadness). Do not consider it for my ridiculous joke - the creator of "Compass" truly adores this sacred drink, which he confesses on the pages of his website.

Okay, enough about beer. Let us take a look at the settings of this program. As well as it is necessary, before the source of labor it is necessary to tell the Compass about our geographical coordinates - longitude and latitude. It is allowed to learn them from any map of the area or atlas, or by looking at the site Then we specify the time zone relative to Greenwich also use the phone as a compass.

How to determine the course of the cardinal points? Very simple. Take a toothpick (or some suitable refined object), attach it to the center of the screen and keep it strictly perpendicular. Then turn the phone so that the shadow of the toothpick lay on the line passing through the image of the sun on the screen (see screenshots). Combining the shadow and the line, we get the exact course of the cardinal points. Do not believe? You can check on a valid compass!

In addition, the program can calculate the altitude values ​​and also the azimuths of the Sun and the Moon, only in future versions will learn to illustrate the phase of the natural satellite of the Earth.

And also the final moment. Studying the "About" menu showed that domestic blood flows in this program - the Compass is based on a mathematical apparatus developed by our compatriot from Moscow Nikolai Klimchuk (Nikolay Klimchuk). Whatever you say, just nice.