
getBestKNownLocation Returns a Location indicating the data from the last kNown location fix obtained from the given provIDer. This can be done without starting the provIDer. Note that this location Could be out-of-date,for example if the device was turned off and moved to another location.
什么时候在Android中更新了最后一个已知位置?是否有应用程序在侦听位置提供程序时更新,如果是,如果没有应用程序请求该位置,然后您要求LastKNownLocation()?
解决方法 我想当手机中的某些程序使用此函数requestLocationUpdates时,LastKNownLocation()正在更新. 总结以上是内存溢出为你收集整理的getLastKnownLocation()Android,当最后一个已知位置更新?全部内容,希望文章能够帮你解决getLastKnownLocation()Android,当最后一个已知位置更新?所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)