我在Android项目的单个 Activity 上找到了 locationListener 的实现。有什么区别?。
答案 0 :(得分:0)
一部Android手机可能不支持com.google.android.gms.location.LocationListener但支持Locationmanager.locationListener
答案 1 :(得分:0)
它是因为有两种完全不同的方法可以做到。第一种是使用来自 android.location.LocationListener 的Android API,第二种是使用Google Play服务API com.google.android.gms.location.LocationListener 。 /> Here is the complete overview!