2014-09-27 30 views
0

我创建的应用程序使用用户的Google Drive空间来存储应用程序的备份。由于我是初学者,因此无法理解Google Drive android API。如何使用Google Drive获取Drive_FILE_ID android API

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

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

  • 在谷歌驱动器创建一个特定的文件夹文件
  • 该文件进行修改
  • 修改的内容,然后将其上传回在谷歌下载驱动器

回答

0

Google Drive Android API的getResourceId和getDriveId方法为不可预知

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

相关问题