由于闰秒,GPS不准确

时间:2017-01-25 13:10:58

标签: android gps locationmanager

我的应用在运行6.0.1的root root Android手机上运行。这些手机种植在全国各地的汽车上,使得它们无法访问,因此升级到Android 7是不可能的(主要是因为我的应用程序的许多功能需要重新测试,产品的寿命只有1一个多月,所以不值得努力)。自1月以来,我注意到GPS读数不准确。显然,我需要更新年历,但我不知道如何以编程方式进行更新。

以下代码对我不起作用:

# Place your local configuration in /etc/mosquitto/conf.d/
#
# A full description of the configuration file is at
# /usr/share/doc/mosquitto/examples/mosquitto.conf.example

pid_file /var/run/mosquitto.pid

persistence true
persistence_location /var/lib/mosquitto/

log_dest file /var/log/mosquitto/mosquitto.log

password_file /etc/mosquitto/passwd
allow_anonymous false

include_dir /etc/mosquitto/conf.d

以上所有3个API都返回True。在日志中,我刚刚发现了这个:

  

E / virtual loc_api_adapter_err   LocApiV02 :: deleteAidingData(GpsAidingData):940]:错误! status =   eLOC_CLIENT_SUCCESS,delete_resp.status = eQMI_LOC_ENGINE_BUSY_V02

我在清单中有以下权限 - android.permission.ACCESS_LOCATION_EXTRA_COMMANDS

任何帮助都将深表感谢。如果您需要更多信息,请告诉我。

0 个答案:

没有答案