所以,基本上这是我的问题,我一直在关注此链接http://developer.android.com/training/location/retrieve-current.html
而且似乎eclipse不会识别LocationClient类,它甚至不会要求我导入它,当然我实现了GooglePlayServicesClient.ConnectionCallbacks和GooglePlayServicesClient.OnConnectionFailedListener并且我的活动扩展了FragmentActivity
我错过了什么?
此外,我发现被覆盖的onConnected()方法没有参数,我已经看到来自各地和各地的示例我看到它说onConnected(捆绑包)但我的只是拒绝有参数.任何帮助都非常感谢大家,非常感谢
我一直在努力使用Google Places API,我需要使用Address API.
我使用autoComplete和placePicker API就好了,由于某种原因,Address API无效.
我试过浏览这个https://developers.google.com/android/reference/com/google/android/gms/identity/intents/Address
但我无法弄清楚如何使用addApi()
地址API.
如果有人可以提供一些示例代码或某些东西让我开始,将非常感谢.
先感谢您.