【问题标题】:Chrome ARC - possible to access google account?Chrome ARC - 可以访问谷歌帐户吗?
【发布时间】:2015-04-11 20:53:46
【问题描述】:

如何登录 google 帐户以获取可用日历?

我在 Android 中运行此代码

Uri calendars = Uri.parse(String.format("content://%s/calendars", "com.android.calendar"));
Cursor managedCursor = activity.managedQuery(calendars, projection, null, null, null);
// Enumerate and get all calendars

我想在 ARC 应用中执行相同的操作,以便能够插入/编辑所选日历中的项目。怎么可能?

【问题讨论】:

    标签: android google-chrome-arc


    【解决方案1】:

    ARC 目前不支持日历同步适配器。我提交了bug,尽管我们可能无法很快实现它。随时订阅错误以获取任何更新。

    【讨论】:

    • 好的,我可以尝试 Web API 直到修复错误,因为我想这需要时间。 :)
    • 当它作为网络应用程序运行时,让谷歌日历的网络 API 工作似乎很棘手。有没有人有一个例子如何正确地对日历 API 进行身份验证?例如,我尝试过 GoogleAccountCredential.usingOAuth2,但这似乎不适用于网络应用程序。
    猜你喜欢
    • 2017-06-07
    • 2015-07-09
    • 1970-01-01
    • 1970-01-01
    • 2012-04-17
    • 2012-12-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多