[英]how to get Drive_FILE_ID using Google Drive android API
I am creating an application which uses user's Google Drive space to stores application's backup. 我正在创建一个使用用户的Google云端硬盘空间来存储应用程序备份的应用程序。 As i am a beginner, i am having trouble understanding Google Drive android API.
作为我的初学者,我在理解Google云端硬盘android API时遇到了麻烦。
I check several examples android Quick Start and Google Drive android API documentation but didn't got any proper solution. 我查看了几个示例android快速入门和Google Drive android API文档,但没有任何适当的解决方案。
My application simply needs to perform following operations- 我的应用程序只需要执行以下操作-
The getResourceId and getDriveId methods of Google Drive Android API are Unpredictable . Google Drive Android API的getResourceId和getDriveId方法是不可预测的 。
The resource id is not available until the newly created file is committed to the server so GoogleApiClient needs to be reconnected. 只有将新创建的文件提交到服务器后,资源ID才可用,因此需要重新连接GoogleApiClient。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.