标签: android wifi locationmanager locationlistener
有没有办法确定LocationManager用于获取传递给LocationListener.onLocationChanged(Location location)的位置对象的服务(单元格塔或Wi-Fi)
LocationManager
LocationListener.onLocationChanged(Location location)
答案 0 :(得分:0)
Location.getProvider() https://developer.android.com/reference/android/location/Location.html#getProvider()
Location.getProvider()
这可以为您提供所需的信息。