Rather than working directly with calendardb, it might be worth seeing if there's a documented API you could use, as that might save a bit of research (and a bit of breakage if they change the table structure but keep the API). A quick Google finds http://maemo.org/api_refs/5.0/5.0-fi...annotated.html but I don't know if it's current.