Android GPS ——AGPS源码分析及配置
程序员文章站
2022-03-23 09:30:17
Android Framework GPS ——AGPS源码分析及配置
<一>
1:冷启动指令:
locationManager.se...
Android Framework GPS ——AGPS源码分析及配置
<一>
1:冷启动指令:
locationManager.sendExtraCommand(LocationManager.GPS_PROVIDER, "delete_aiding_data", null);
2:获取GPS 时间:
locationManager.sendExtraCommand(LocationManager.GPS_PROVIDER, "force_time_injection", null);
3:获取星历信息:
locationManager.sendExtraCommand(LocationManager.GPS_PROVIDER, "force_xtra_injection", null);
<二>源码分析:
1:LocationManager.java:
2:LocationManager.java:
3:GnssLocationProvider.java:
deleteAidingData:
3:GpsXtraDownloader.java
推荐阅读