Getting the number of satellites from Location object

前端 未结 3 672
天命终不由人
天命终不由人 2020-12-24 09:46

I\'m using a GPS provider and LocationListener.onLocationChanged(Location location) to receive location fixes.
Documentation says, that Location.getExtras() contains nex

3条回答
  •  无人及你
    2020-12-24 10:33

    I use Location.getExtras().getInt("satellites"), and it give the number of satellites in use.

提交回复
热议问题