Android's most accurate Location API

前端 未结 5 1886
死守一世寂寞
死守一世寂寞 2020-12-14 09:44

In order to work, my app requires a location API. I intend use the Mapbox platform to customize its design (since Google Maps does not provide this level of customization, a

5条回答
  •  -上瘾入骨i
    2020-12-14 09:54

    Use FusedLocationProviderApi and set LocationRequest priority to PRIORITY_HIGH_ACCURACY

    This is newest API for accurate location fetch and google suggest to use the same.

    Check Accuracy details here.

    Basically Google play services API has intelligence to get accurate location by fusing GPS+NetworkProvider+passive providers.

提交回复
热议问题