1e41f4b71Sopenharmony_ci# Introduction to Location Kit
2e41f4b71Sopenharmony_ci
3e41f4b71Sopenharmony_ci## Overview
4e41f4b71Sopenharmony_ci
5e41f4b71Sopenharmony_ciPeople take their mobile devices wherever they go. Mobile devices have become a necessity in people's daily routines, whether it be for looking at the weather forecast, browsing news, hailing a taxi, navigating, or recording data from a workout. All these activities are so much associated with the location services on mobile devices.
6e41f4b71Sopenharmony_ci
7e41f4b71Sopenharmony_ciWith the location awareness capability offered by OpenHarmony, mobile devices will be able to obtain real-time, accurate location data. Building location awareness into your application can also lead to a better contextual experience for application users.
8e41f4b71Sopenharmony_ci
9e41f4b71Sopenharmony_ciYour application can call location-specific APIs to obtain the location information of a mobile device for offering location-based services such as drive navigation and motion track recording.
10e41f4b71Sopenharmony_ci
11e41f4b71Sopenharmony_ci### Concepts
12e41f4b71Sopenharmony_ci
13e41f4b71Sopenharmony_ciLocation awareness helps determine where a mobile device locates. Location Kit allows your system to identify the location of a mobile device with its coordinates, and uses location technologies such as Global Navigation Satellite System (GNSS) and network positioning (for example, base station positioning or WLAN/Bluetooth positioning) to provide diverse location-based services.
14e41f4b71Sopenharmony_ci
15e41f4b71Sopenharmony_ciThese advanced location technologies make it possible to obtain the accurate location of the mobile device, regardless of whether it is indoors or outdoors.
16e41f4b71Sopenharmony_ci
17e41f4b71Sopenharmony_ci- **Coordinate**<br>
18e41f4b71Sopenharmony_ci  A coordinate describes a location on the earth using the longitude and latitude in reference to the World Geodetic Coordinate System 1984.
19e41f4b71Sopenharmony_ci
20e41f4b71Sopenharmony_ci- **GNSS positioning**<br>
21e41f4b71Sopenharmony_ci  GNSS positioning locates a mobile device by using the location algorithm offered by the device chip to compute the location information provided by the Global Navigation Satellite System, for example, GPS, GLONASS, BeiDou, and Galileo. Whichever positioning system will be used during the location process depends on a hardware capability of the device.
22e41f4b71Sopenharmony_ci
23e41f4b71Sopenharmony_ci- **Base station positioning**<br>
24e41f4b71Sopenharmony_ci  Base station positioning estimates the current location of a mobile device based on the location of the resident base station in reference to the neighboring base stations. This technology provides only a low accuracy and requires access to the cellular network.
25e41f4b71Sopenharmony_ci
26e41f4b71Sopenharmony_ci- **WLAN or Bluetooth positioning**<br>
27e41f4b71Sopenharmony_ci  WLAN or Bluetooth positioning estimates the current location of a mobile device based on the locations of WLANs and Bluetooth devices that can be discovered by the device. The location accuracy of this technology depends on the distribution of fixed WLAN access points (APs) and Bluetooth devices around the device. A high density of WLAN APs and Bluetooth devices can produce a more accurate location result than base station positioning. This technology also requires access to the network.
28e41f4b71Sopenharmony_ci
29e41f4b71Sopenharmony_ci
30e41f4b71Sopenharmony_ci### Constraints
31e41f4b71Sopenharmony_ci
32e41f4b71Sopenharmony_ciLocation awareness is offered by the system as a basic service for applications. Depending on the service scenario, an application needs to initiate a location request to the system and stop the location request when the service scenario ends. In this process, the system reports the location information to the application on a real-time basis.
33e41f4b71Sopenharmony_ci
34e41f4b71Sopenharmony_ciYour application can use the location function only after the user has granted the required permission and turned on the location function. If the location function is off, the system will not provide the location service for any application.
35e41f4b71Sopenharmony_ci
36e41f4b71Sopenharmony_ciSince the location information is considered sensitive, your application still needs to obtain the location access permission from the user even if the user has turned on the location function. The system will provide the location service for your application only after it has been granted the permission to access the device location information.
37e41f4b71Sopenharmony_ci
38