Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
您可以发送哪些命令locationManager.sendExtraCommands(provider, command, bundle);我一直在搜索 LocationManager 类的源代码,但找不到其他命令。
locationManager.sendExtraCommands(provider, command, bundle);
这将特定于提供者的实现。因此,您不应查看 LocationManager,而应查看 GPS 和网络提供商代码。我不相信任何使用它可以跨设备移植的代码,它会针对特定的 GPS 芯片进行优化。