Android的:如何与谷歌日历界面? [英] Android: How to interface with Google Calendar?

查看:114
本文介绍了Android的:如何与谷歌日历界面?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我建立了Android 2.1系统,提供基于日历事件通知的应用程序。但我知道有问题,日历API不是现成的/稳定/什么。

I am building an app for Android 2.1 that provides notifications based on calendar events. But I'm aware there are issues with the Calendar API not being readily available / stable / whatever.

我想要做的就是以某种方式与用户的谷歌日历通信以获得任务列表每隔几个小时,或者当日历更新,然后在本地存储数据,因此他们不需要有在任何时候都有效的Internet连接。

What I'd like to do is somehow communicate with the user's Google Calendar to get a list of tasks every few hours, or perhaps when the calendar is updated, and then store that data locally so they don't need to have an active internet connection at all times.

接着,在一个特定的时间,将发生的事件notifcation

Then at a particular time, the notifcation event would occur.

当然,一定有人确定的方式与谷歌日历界面?我敢肯定,一定有无数的应用程序,并连接到它了,并且我的用户可以使用他们喜欢的任何与它交互界面可用的解决方案,但我需要能够读取数据并将其存储在本地。

Surely, someone must have determined a way to interface with Google Calendar? I'm sure there must be numerous apps and solutions available that connect to it already, and my users can use any interface they like for interacting with it, but I need to be able to read the data and store it locally.

谢谢!

推荐答案

您最好的与谷歌日历接口的办法是使用的的GData 库。有关于如何使用Picassa中的API与Android该网页上的几个例子,但在日历的API应该是相当类似的使用。

Your best bet for interfacing with Google Calendar is to use version 2 of the GData library. There are a few examples on that page on how to use the Picassa API with Android, but the Calendar APIs should be fairly similar to use.

这篇关于Android的:如何与谷歌日历界面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆