What does bearingTo(Location dest)
exactly calculate? Can anyone please explain this??
Thanks in advance.
protected void onCreate(Bundle sa
Source : Android Developers Bearing is basically another ATTRIBUTE that is associated with Location object in Android. So, Location has lat, long and it can bearing, altitude, velocity. According to the method description getBearing() it means the horizontal direction of the device.
Source : Wikipedia
In land navigation, a bearing is ordinarily calculated in a clockwise direction starting from a reference direction of 0° and increasing to 359.9 degrees.[4] Measured in this way, a bearing is referred to as an azimuth by the US Army but not by armies in other English speaking nations, which use the term bearing.[5] If the reference direction is north (either true north, magnetic north, or grid north), the bearing is termed an absolute bearing. In a contemporary land navigation context, true, magnetic, and grid bearings are always measured in this way, with true north, magnetic north, or grid north being 0° in a 360-degree system.[4]