English    Deutsch

Different ways to sync

You can sync CalenGoo either via Android or directly with Google as explained under Accounts. If you sync via Android, all data is stored in the Android calendar’s database and the sync is performed by Android. If you sync directly with Google, the data is stored in CalenGoo’s database and the sync is performed by CalenGoo. The sync of the Android calendar works probably in the same way as CalenGoo’s direct sync (but it also supports push so it might be slightly different). In the following you can find a short description of CalenGoo’s direct sync:

Technical description how the sync works

In Google Calendar every event has a modification date. When CalenGoo syncs with Google Calendar, it asks Google to send all events that were modified after the last time CalenGoo synced, i.e. that have a modification date newer than the date of the most recently changed event in each calendar. So keeping a large time range in sync, i.e. all past and future events, doesn’t cost extra time, CalenGoo does not have to check a larger time range to do this. It simply downloads events that were recently changed regardless of which start and end time they have:



When you change an event in CalenGoo, CalenGoo tries to upload these changes immediately to Google. So CalenGoo only modifies those events in Google Calendar that you modified in CalenGoo. It wouldn’t be a problem if due to a glitch CalenGoo and Google Calendar wouldn’t display the same events, this wouldn’t mean that CalenGoo would try to make Google Calendar match its own data. CalenGoo only modifies the events that you saved, moved, deleted or added with CalenGoo. It doesn’t modify any events by itself.

Changed events

If you would like to see which events have been recently changed in your calendars (e.g. to see how the sync works) you can also just start this program by clicking on the link (you need to have Java Webstart installed, if you don’t have it you can get Java from http://www.java.com):

Start LatestGoogleCalendarChanges

Enter your email and password and click "Sign in". Wait a moment, the application is a little slow and just stops working while it is downloading your calendar list. As you can see in the screenshot below, you can select a calendar on the left and see on the right which changes occurred in this calendar recently. In the example a single event was deleted. The displayed "Changed" times are GMT times! So you have to compute your local time to see when an event was changed. You can use this time zone converter if you like:

http://www.timeanddate.com/worldclock/converter.html



Bug in Google Calendar

There is also currently (June 1st 2012) a bug in Google Calendar that might affect a few events. This bug seems to have been fixed on July 3rd 2012. Everything seems to work correctly again! Nevertheless here is the previous description of this bug: As you can read here

http://code.google.com/a/google.com/p/apps-api-issues/issues/detail?id=3103

the modification date/time of a modified event is sometimes not correctly set. If you think that you are affected by this bug, because an event is not correctly synced with CalenGoo, just use the program mentioned under “Changed events” on this web page to see if the event has a correct modification date/time (it should appear at the top of the list if it was modified recently). If your event doesn’t have a correct modification date/time, then it is impossible for CalenGoo to know that it has changed. The purpose of the modification date/time is to let other programs know which events have to be synced. Without it, other programs would have to download all calendars and all events every time they sync, instead of just the modified ones.

If you would like to download all calendars and events, you can tap “Settings”, “Reset calendars” in CalenGoo. This will erase all events and calendars in CalenGoo and re-download everything from Google.

However this bug seems to affect only a few events and will hopefully be fixed by Google soon.

There are three workarounds that you can use until Google has fixed the bug:
  1. You can sync via Android, i.e. check “Settings”, “Accounts”, “Android” and uncheck the other accounts in CalenGoo. You can read more about the differences between both sync methods here: Accounts
  2. You can open “Settings”, “Visibility/Download” in CalenGoo and set your calendars to “Force redownload always, visible” (but this might be quite slow if you have a lot of events) or “Force redownload past week and future events, visible” (but then you won’t see events that are older than a week).
  3. You can use “Settings”, “Reset calendars” from time to time to get CalenGoo back in sync with Google Calendar and use the normal sync in the meantime.
If you would like to be informed when something changes or the bug is fixed, you can click on the star in the upper left corner of the mentioned bug report:

http://code.google.com/a/google.com/p/apps-api-issues/issues/detail?id=3103

Then you will get an email when a comment is added or when the bug has been fixed/closed by Google.