【问题标题】:What is the "AuthTokenType" value for Google Drive on an Android app?Android 应用上 Google Drive 的“AuthTokenType”值是什么?
【发布时间】:2012-04-25 01:01:48
【问题描述】:

我应该使用什么值作为“AuthTokenType”值来请求从 Android 应用程序访问用户的 Google Drive?

例如,以下是其他服务的一些 AuthTokenType 值: What is "authTokenType" parameter in Google data API?

我打算使用提供的 Java Client API 来连接 Google Drive,即:http://code.google.com/p/google-api-java-client/wiki/APIs#Drive_API

【问题讨论】:

    标签: android google-data-api google-drive-api


    【解决方案1】:

    ClientLogin 现已正式弃用,因此您应该使用 OAuth。范围在 SDK reference 上列为 https://developers.google.com/drive/register。但是,显然您需要在 Chrome 网上商店中注册您的应用程序,因此目前似乎只支持 Web 应用程序,而且您很可能无法从 Android 应用程序中使用它(还)。如果您设法使其正常工作,请在此处发布。

    【讨论】:

    猜你喜欢
    • 2012-08-26
    • 1970-01-01
    • 2014-09-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多