0

我是一名开发人员,目前正在研究 android 上的 google drive API。

我可以使用 GoogleApiClient 从我的应用程序中查询和创建文件/文件夹;但是,我无法从我的应用程序中删除这些文件。

在我google之后,我发现最新的google drive Android API还不支持它。

那么,还有其他方法可以从 android 应用程序中删除文件吗?

4

1 回答 1

1

The answer is here - SO 22295903, just combine with the old API. Or wait, DELETE has been promised soon.

In SO 22295903, there is a mention of reverting to the RESTful API. I have not done it myself, but I think you would take the resource ID, DriveId.getResourceId() and apply it to the trash or delete method. But it is only an untested idea, so don't shoot me.

于 2014-03-14T13:04:15.380 回答