阅读背景:

位置更新频率随着后台位置跟踪和FusedLocationApi而降低

来源:互联网 

Google Play Services' Fused Location Provider Api lets you request location updates with location listeners or pending intents. I can successfully request location updates with the location listener but I have been struggling to replicate the same behaviour with pending intents. For the latter, I launch an intent service which handles the location data. What I have noticed during testing is that the location updates correspond with the interval I set in the location request. However, as time goes by the interval between updates increases tremendously even though the interval in the location request has remained constant. I have noticed this behaviour on several occasions with multiple devices. Does anyone have an idea what could be going on?Google Play Services' Fused Location Provider A




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: