I need to develop an app that reads info from google calendar on Android.
The question is, is there a way to connect to the local calendar or should I use the google calendar API and read the info from the internet? (or maybe another way)
as far as I know, there are ways to connect to the local calendar, but non of them are official ones, and it breaks in different versions of android.
(by google calendar API I mean http://code.google.com/apis/calendar/ )
Thanks
You already answered your question yourself.
There is no official way to access Calendar inside Android. There is a hack for read access: When will Android have a public Calendar API?
It’s definitely better to use Google official Calendar API, as it’s official, supported, future-proof and write-enabled.
The only downside to using Google Calendar API is that this is an online API and you need to have connectivity. You can work around this if you save the data and implement your own SyncAdapter. Then your Calendar data will be synced when all other data on the device is synced.