On Mon, Sep 5, 2011 at 1:57 PM, Patrick Ohly <[email protected]> wrote:
> On Mo, 2011-09-05 at 12:39 +0530, Srinivasa Ragavan wrote:
>> Hello,
>>
>> I'm writing a Evolution EPlugin for an Active Sync backend. Currently
>> it does only mail and for calendar & contacts it needs to depend on
>> syncevolution. Any doc/sample code on how I could create this
>> configuration externally? gconf/xml/configuration need to be setup?
>
> The "right" way of doing it is via the D-Bus API:
> http://api.syncevolution.org/
>
> As a short-term hack it would also be possible to invoke the command
> line tool for manipulating the configuration. But that will make it
> harder to handle errors.
>

I'll check both the options. If the DBus approach is complete &
possible, I could try to do it that way.

> So in the API, see the GetConfig/SetConfig() calls. To understand how to
> use the API, you also need to understand the SyncEvolution configuration
> options (see "syncevolution --sync-property ?" and "syncevolution
> --source-property ?") and a bit about the concepts behind the
> configuration:
> http://syncevolution.org/development/configuration-handling
>
> There was a mail discussion about correct use of the API:
> http://thread.gmane.org/gmane.comp.mobile.syncevolution/2468/focus=2499
>
> Can you say a bit more about the kind of options that the Evolution
> EPlugin shall offer? Then I can give more specific guidance.

So, this EPlugin is similar to any other Enterprise plugin
(Groupwise/Exchange OWA/Exchange MAPI), which when a evolution mail
account is created would create a corresponding calendar/contact
configuration. Here for EAS, instead of creating a direct ESource, I'd
create a SyncEvolution cfg to sync calendar & contacts.

>
> Will there be a 1:1 match between an ActiveSync database and a local EDS
> database? Note that currently listing the existing ActiveSync databases
> is not supported; can be added.

I probably didn;t understand it well. But I haven't looked any deep in
to the ActiveSync, so can't really say. I'll dig more.
>
> I assume syncing will be done automatically by SyncEvolution (currently
> based on polling, needs to be replaced with push by server and local
> change detection, both not implemented yet)?

Yes, Syncing will be done via SyncEvolution.

-Srini
_______________________________________________
SyncEvolution mailing list
[email protected]
http://lists.syncevolution.org/listinfo/syncevolution

Reply via email to