2014-09-27 38 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纔可用。

相關問題