简体   繁体   English

如何使用google-api-client通过Android检索Google日历事件

[英]How to use the google-api-client to retrieve google calendar events with Android

I have figured out the gdata libraries are not compatible with Android and have switched to the google-api-client libraries. 我发现gdata库与Android不兼容,并已切换到google-api-client库。 I have followed the v2-atom-android sample but it does not cover how to retrieve events, only calendars. 我遵循了v2-atom-android示例,但没有介绍如何检索事件,仅介绍了日历。 For my app, I need to be able to download the calendars and events - does anyone know how to do this with google-api-client libraries? 对于我的应用程序,我需要能够下载日历和活动-有人知道如何使用google-api-client库吗?

You need to send a GET request to a given event feed link which is included as a property of each calendar received as part of request to a Calendar feed. 您需要将GET请求发送到给定的事件供稿链接,该链接作为每个收到的日历的属性包括在内,该链接是对日历供稿的请求的一部分。 I mean either link rel='self' if ATOM or selfLink if JSONC. 我的意思是如果ATOM是link rel='self' ,或者是selfLink是selfLink。

For more information, please refer to this address: 有关更多信息,请参考以下地址:

Retrieving events 检索事件

Regards, PrieJos 问候,PrieJos

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Dataproc依赖项冲突-Google-api-client - Dataproc dependency conflict - google-api-client 与 Admin SDK API 一起使用的 google-api-client 的正确版本是什么? - What is the corect version of google-api-client for use with Admin SDK API? google-api-client在Java中创建短网址 - google-api-client to create short URL in java 为什么google-api-client依赖于guava-jdk5? - Why does google-api-client depend on guava-jdk5? 在 Android 中使用 google-java-api-client 获取 Google 日历活动的开始和结束时间 - Get Google Calendar Events Start and End Times with google-java-api-client in Android google-api-client 和 google-api-services 之间的版本兼容性 - Version compatibility between google-api-client and google-api-services 如何正确使用 Google Calendar API 的 Events.Insert 命令? - How to use Google Calendar API's Events.Insert command properly? 使用 2.0.0 google-api-client 进行 Gmail 调用时的兼容性问题 - Compatibility problems when using 2.0.0 google-api-client for Gmail calls 如何在 android 应用程序中添加和查看我在谷歌日历上的活动? - How add and view my events on google calendar into android application? 如何在谷歌日历android Kotlin中添加多个事件? - how to add multiple events in google calendar android Kotlin?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM