Archive for June, 2009

egroupware contact syncing

Tuesday, June 2nd, 2009

I decided to reinvent the wheel and make my own contact syncing for egroupware on the Windows Mobile 6.1 platform.. so C# talking to PHP

the reason is all the others I’ve tried don’t work.. all of them end up in contacts being duplicated.  Also my contact store backend is LDAP and uses LDAP address books like egroupware suggests… still.. doesn’t work with their syncing stuff.

I have both sending contacts and getting contacts working now.. and you can currently delete all contacts on the device before you read them from the server… deleting the other way will work eventually too

so nothing ever deletes unless you pick “delete all before import/export” .. then it wipes out everything (right now only local deletes work) and sends all changes over

it also never overwrites a contacts filled in attribute with nothing … there’s always gotta be “something” to overwrite

… so this isn’t syncing.. so much as writing one way or the other and filling in what’s missing, if anything

if anyone out there in the world wants a copy, email me.. I’ll put up a link somewhere later.. I was thinking about making this a sourceforge thing, but really it’s for internal use and I don’t want to “support” it for other people