Jakub Arnold
Jakub Arnold

Reputation: 87210

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 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.

Upvotes: 3

Views: 8222

Answers (3)

Yaniv Inbar
Yaniv Inbar

Reputation: 1499

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.

Upvotes: 1

naquiuddin
naquiuddin

Reputation: 1000

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.

Upvotes: 4

CommonsWare
CommonsWare

Reputation: 1006564

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.

Upvotes: 4

Related Questions