English    Deutsch

Technical description how the Android calendar works

CalenGoo can sync with the Android calendar, i.e. it can read data from the Android calendar’s database and write changes into it. The Android calendar has a table for events and another for instances. The instances determine on which days an event should be displayed:

Screen Shot 2012-09-18 at 11.12.27

Sometimes it seems to happen that the instances table is not correctly built. In this case you should try to re-sync the whole Android calendar. E.g. you can delete “Calendar Storage” as explained under “Android Sync Problems” here: Sync problems

If you have the problems that events are displayed that have already been deleted, then you should try to turn "Settings > Display and Use > Maintenance > Check additional delete flag" on. It means that CalenGoo will not only load the instances when displaying events but also the corresponding events to check if the event has been marked as deleted. This will make CalenGoo a little slower but is usually a workaround for this problem of the Android calendar where the Android calendar forgets to remove the instances of events.

Examining an event

You can examine an event and see the contents of the Events and Instances tables using CalenGoo’s debug function: First turn “Settings > Display and Use > Maintenance > Debug functions” on. This will add a new “Debug” menu item to the “Detail view”. Now open the event that you would like to examine, either by long pressing it in the search view and choosing “Open” or e.g. by double tapping it in the day view. In the “Detail view” press the menu button and choose “Debug”. You should now get an email that first contains all attributes of the “Events” table and afterward all instances with all their attributes.