ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
本章主要内容 * 介绍GPS基础知识; * 介绍Android中GPS模块以及LocationManagerService。 本章所涉及的源代码文件名及位置 * LocationActivity.java  ~~~ development/samples/training/locationaware/src/com/example/android/location/LocationActivity.java ~~~ * LocationManagerService.java   ~~~ framework/base/services/java/com/android/server/LocationManagerService.java ~~~ * LocationProviderProxy.java   ~~~ framework/base/services/java/com/android/server/location/LocationProviderProxy.java ~~~ * GpsLocationProvider.java ~~~ framework/base/services/java/com/android/server/location/GpsLocationProvider.java ~~~ * com_android_server_location_GpsLocationProvider.cpp   ~~~ framework/base/services/jni/com_android_server_location_GpsLocationProvider.cpp ~~~ * gps.h   ~~~ hardware/libhardware/include/hardware/gps.h ~~~ * LocationSettings.java   ~~~ packages/apps/Settings/src/com/android/settings/LocationSettings.java ~~~