开发者

How to access user's Calendar on Android device?

I'm writing simple Android app to filter some events from user's calendar. The questions is, what is the best way to access it?

One option that comes开发者_StackOverflow社区 to my mind is through Google Calendar Data API where I will have to authenticate the user and synchronize with the calendar in my app.

Is there any way to access the calendar through Android? Meaning that I will only access it locally and Android itself will handle the authentication, synchronization, etc.


Is there any way to access the calendar through Android? Meaning that I will only access it locally and Android itself will handle the authentication, synchronization, etc.

There is no documented and supported way of doing this. Please use the Google Calendar GData API.


I am not an android Geek but here are few suggestions as far as I know,

Before Android 2.0 there was no support for this...But I think this works with 2.1 and 2.2, more over some developers already implemented this in their apps.

check the links below.

http://jimblackler.net/blog/?p=151

http://www.developer.com/article.php/3850276

PS:Sorry for second link format, I am new here, so cannot post more than 1 link.


There is a good example of accessing Google Calendar Data API from Android using the Google API Client Library for Java at calendar-v2-atom-android-sample. With this solution, Android takes care of the authentication/authorization, but not the synchronization.

Disclaimer: I am an owner of the Google API Client Library for Java project.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜