[英]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: 有关更多信息,请参考以下地址:
Regards, PrieJos 问候,PrieJos
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.