【发布时间】:2014-12-18 07:09:37
【问题描述】:
我在 Activity 中使用 GoogleApiClient 将文件上传到驱动器。实例化 GoogleApiClient,并在 onCreate of Activity 上连接,然后在 onDestroy f Activity 上断开连接。当我启动 Activity 时,显示一个对话框为“网络错误:需要数据连接才能连接到 Google Play 服务”。
- 连接 GoogleApiClient 是否必须有 Internet 连接?
- 所以每次我启动我的活动时都必须上网?
- 我读过 Google Drive API 可以工作,所以如果 Internet 断开连接,Google Drive API 是否可以工作?
【问题讨论】:
标签: android google-play-services google-api-client google-drive-android-api