Meego Wiki
Views

Architecture/planning/evolution-data-server/QtContacts storage plugin

From MeeGo wiki
< Architecture | planning/evolution-data-server
Revision as of 12:15, 29 March 2011 by Pohly (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

QtContacts-EDS

Can be based on [existing Harmattan EDS plugin], which does not work as-is because of Nokia-specific API extensions.

Necessary changes:

  • avoid ID mapping because it requires reading all contacts at startup:
    • must change EDS to use 32 bit integers as local IDs for that (patch ready)
  • convert between QtContacts and vCard using QtVersit, with EDS specific properties and including custom properties for QtContactDetails which have no other mapping to vCard (same approach as in SyncEvolution QtContacts backend)

Goals for initial milestone:

  • full support for all QContactDetails, including custom ones, but with some limitations:
    • additional fields of details which map to well-known vCard properties (full name, address) cannot be stored if they have no corresponding representation in vCard
    • TODO: complete list
  • change notifications (added/updated/removed)
  • mapping of QtContacts filters to EDS queries, with unsupported filters implemented by QtContacts after retrieving contacts (slower than filtering in EDS daemon)
    • TODO: complete list of native searches
  • change notifications via ebook view: created when opened, initial data dump ignored (performance problem!), report all following changes

Goals for later milestones:

  • error handling
  • performance
Personal tools