Maz*_*ian 5 gps android location
所以,基本上这是我的问题,我一直在关注此链接http://developer.android.com/training/location/retrieve-current.html
而且似乎eclipse不会识别LocationClient类,它甚至不会要求我导入它,当然我实现了GooglePlayServicesClient.ConnectionCallbacks和GooglePlayServicesClient.OnConnectionFailedListener并且我的活动扩展了FragmentActivity
我错过了什么?
此外,我发现被覆盖的onConnected()方法没有参数,我已经看到来自各地和各地的示例我看到它说onConnected(捆绑包)但我的只是拒绝有参数.任何帮助都非常感谢大家,非常感谢
听起来您可能没有将Google Play Services SDK添加到您的项目中.请参阅http://developer.android.com/google/play-services/setup.html上的文档
| 归档时间: |
|
| 查看次数: |
12675 次 |
| 最近记录: |