I believe that a lot of friends have in the app to achieve positioning needs, today I will again rehash, for you to offer domestic developers commonly used three kinds of positioning methods. They are GPs, Baidu and Gould, the Convention first briefly introduced the background of positioning.
What is GPS positioning, base station positioning and Wi-Fi positioning?
1, GPS positioning: According to the equipment GPS chip and GPS satellite positioning, GPS positioning in the room can not be used. GPS positioning accuracy and the chip itself and the actual use of the environment, under normal circumstances, GPS positioning accuracy around 10m.
2, Base station positioning: According to the equipment to obtain the base station information to achieve positioning, base station positioning accuracy is generally not affected by the use of the environment, mainly related to the coverage radius of the base station. Base station positioning service accuracy is currently around 200m.
3, Wi-Fi positioning: according to the equipment obtained Wi-Fi information to locate, Wi-Fi positioning accuracy is generally not affected by the use of the environment, mainly and Wi-Fi radius, density. Wi-Fi positioning accuracy is currently around 20m.
At present, smart phones have built-in GPS chips, the corresponding to the various mobile phone system manufacturers have also opened the external GPS interface. But because the GPS is affected by the external factors are relatively large, the general app is also indoor use, so seriously affected the number of GPS search star. But previously in the outsourcing company to take over such a project, mainly for outdoor enthusiasts to use, to meet their riding routes to draw. In the face of such a demand, GPS positioning is the most reliable choice, but the power consumption is not hurt.
So generally more reliable way, is the use of Baidu Gao de these enterprises for developers to provide a mature solution, you can choose a hybrid positioning method to deal with the complexity of the actual application of the app. Hybrid positioning is to use the above three kinds of positioning technology, choose the best way to get the current geographical location. Here is a brief introduction to the simple practice that we are bringing today.
First, GPS positioning
No special business needs, please be careful with GPS positioning, selection of Network_provider is a good choice. In addition, we have not noticed that through the GPS can get the current time, not to get the exact time is a good choice.
See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/OS/extra/