我在一个Android项目的单个活动上发现了locationListener的实现。有什么区别?。Locationmanager.locationListener和com.google.android.gms.location.LocationListener之间有什么区别?
-1
A
回答
0
这是因为有两个完全不同的方式,你可以做到这一点。第一种是使用来自android.location.LocationListener的Android API,第二种是使用Google Play服务API com.google.android.gms.location.LocationListener。
Here is the complete overview!
0
一个Android手机可能不支持com.google.android.gms.location.LocationListener但支持Locationmanager.locationListener
相关问题
- 1. dpm()和dsm()之间有什么区别?
- 2. @dynamic和@synthesize之间有什么区别?
- 3. vbNullString和“”之间有什么区别吗?
- 4. * zoom和zoom之间有什么区别?
- 5. String.Concat,string.format和+之间有什么区别?
- 6. StaticLayout和DynamicLayout之间有什么区别
- 7. WebServiceBinding.EmitConformanceClaims和WebServiceBinding.ConformanceClaims之间有什么区别?
- 8. :: after和after之间有什么区别?
- 9. %.02f和%.2f之间有什么区别?
- 10. {$ var}和$ var之间有什么区别?
- 11. ReleaseFloatArrayElements和DeleteLocalRef之间有什么区别
- 12. {0}和“”之间有什么区别?
- 13. getA()和this.getA()之间有什么区别?
- 14. @observable和@published之间有什么区别
- 15. $ {}和#{}之间有什么区别?
- 16. url.getFile()和getpath()之间有什么区别?
- 17. KVC和Properties之间有什么区别?
- 18. Lazy.Force()和Lazy.Value之间有什么区别
- 19. “层”和“层”之间有什么区别?
- 20. 1.1em和1.05em之间有什么区别?
- 21. proc和lambda之间有什么区别?
- 22. ViewFlipper和ViewSwitcher之间有什么区别
- 23. typedef和宏之间有什么区别?
- 24. “$^N”和“$ +”之间有什么区别?
- 25. NSInvocation和block之间有什么区别?
- 26. -existingObjectWithID:error:和-objectWithID之间有什么区别?
- 27. {0}和+之间有什么区别?
- 28. $ .cache和$ .data之间有什么区别?
- 29. DateTime.UtcNow和DateTime.Now.ToUniversalTime()之间有什么区别
- 30. Tableau和QlikView之间有什么区别