Mobile Web Positioning Solution for China Bank Android mobile phones do not have a GMS package, Android gms

Source: Internet
Author: User

Mobile Web Positioning Solution for China Bank Android mobile phones do not have a GMS package, Android gms

Recently, I was working on a mobile phone to open a website and locate the specific location. I thought it was very simple. HTML5 could solve this problem. Later I found that there were still many problems.

First, many Android phones do not support HTML5. geolocation is true, but the longitude and latitude information is not returned. Many Mobile phones in China are found to be like this, And the GMS (Google Mobile Service) is castrated. To solve this problem, you can restore the network location. However, this mobile webpage is intended for the public and is obviously unreasonable.

Later, I checked the information and found that some Android browsers are available. Then I downloaded all the common android browsers for testing and confirmed that the four browsers are available, they are QQ browser, Baidu browser, dolphin browser, and sogou browser, but these four browsers are not very common, especially UC browser and Chrome browser, some browsers that come with mobile phones can use HTML5, but they cannot be tested using the UC browser, which is very depressing.

Later, I thought that I could use IP addresses for location. If HTML5 can be located, I would use HTML5. If I couldn't, I would use IP addresses for location. I checked Baidu's interface, but I couldn't. First, I had a big error in IP address location, baidu's ip address locating interface only provides the user's city interface.

I also thought about mobile phone number positioning and found two such agent service providers. They directly cooperated with China Telecom, China Unicom, and the three major carriers of China Mobile, namely, havip service and hichina. They talked a lot with havip service, the price is also reasonable. The call interface is allocated at a time of 1 cent, and the error range is between 50 to meters. The error is several dozen meters. However, the one that needs to apply for authorization first considering the security problem, the user can locate the problem only after the application is ready. This process is a headache. Sometimes one day, sometimes two or three days. If you want to locate the problem in time, it will definitely not work.

I also thought about many methods in the middle, such as developing an APP, using a location, and developing a browser plug-in, but I don't think it is good. Finally, the Baidu positioning development documentation found a web positioning component interface that can obtain the latitude and longitude, and tested many mobile phones (including Android phones without a GMS package. I found that this interface was just launched by Baidu in July this year. It uses the WebComponent open by W3C, that is, its own defined tag, which is located by calling a self-developed JS plug-in. The underlying implementation principle is still HTML5, that is, it is enough to support HTML5. It is impossible to locate a very old key mobile phone (not HTML5 supported. As for the error, +-500 meters, if you want to be precise, it is best to turn on the GPS outside. Baidu positioning component example


How to uninstall the android google service is a public version of the Chinese bank, without having to root the app? You can download a gms installer from the Internet.

System software cannot be deleted without root.
In addition, this cannot be deleted. If it is deleted, the system cannot run.

What is the use of the Android mobile phone gms test installation package?

Gms
It is a Google mobile service, and the test installation package, as the name suggests, is the testing package of Google mobile service. It is used to test whether the mobile phone can support the service. This version must be consistent with the version to provide excellent support.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.