【问题标题】:how to get Drive_FILE_ID using Google Drive android API如何使用 Google Drive android API 获取 Drive_FILE_ID
【发布时间】:2014-09-27 08:42:36
【问题描述】:

我正在创建一个应用程序,它使用用户的 Google Drive 空间来存储应用程序的备份。由于我是初学者,我无法理解 Google Drive android API。

我检查了几个示例 android Quick StartGoogle Drive android API documentation,但没有找到任何合适的解决方案。

我的应用程序只需要执行以下操作-

  • 在 Google 云端硬盘的特定文件夹中创建文件
  • 下载该文件进行修改
  • 修改内容,然后将其上传回 Google 云端硬盘

【问题讨论】:

    标签: android google-drive-android-api


    【解决方案1】:

    Google Drive Android API 的 getResourceId 和 getDriveId 方法是不可预测的

    在新创建的文件提交到服务器之前,资源 ID 不可用,因此需要重新连接 GoogleApiClient。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-12-21
      • 1970-01-01
      • 1970-01-01
      • 2021-12-24
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多