ActiveSync and Conflict Resolution

  • Thread starter Thread starter bic
  • Start date Start date
B

bic

ActiveSync has a conflict resolution when data is changed on both
platform (Ie.. desktop and device). The options are

1. To leave unresolved.
2. Always replace to device.
3. Always replace desktop.

How does ActiveSync know when changes has taken place (on the desktop
and the device).. I am writing a program that will sync my database
with the pocket outlook application on the device. I can write a the
application to tell that there is a different between my database and
the pocket application data. But I how do I tell tell if the pocket
outlook record has change or not... How the helk does ActiveSync knows
when there are changes on the device.

email (e-mail address removed)+SPAM
 
Bic:

As you probably already know, the ActiveSync architecture requires
that ActiveSync providers are built to do these conversions and
registered per device. Several popular ones come with ActiveSync
including Word, Excel, Access, text files, etc. If you have a custom
storage system (data stored in your own files), then you'll have to
build your own provider or take advantage of the text file option in
ActiveSync.

See our chapter "Primitive Synchronization" for an example of how to
use the file option (see my blog below). Otherwise, you'll be digging
through the ActiveSync API and you won't enjoy it.

I would recommend that you go a different route and avoid ActiveSync
dependancies. Will SSCE not work for you?

Jon Box
Blog: http://radio.weblogs.com/0126569
 
Jon,

Thank for answering.. I thought nobody might answer... My interest
is not in ActiveSync itself but how ActiveSync know that there is a
change in the record on the PocketPC device (on the desktop Outlook,
all you have to do is check the lastmodification date), I have a
database program ON the pocketPC device that I would like to sync
with the PocketOutlook on the device independent of ActiveSync. Does
pocketOutlook have type of field or trigger that tell ActiveSync that
the record has changed? ActiveSync seems to know.
See our chapter "Primitive Synchronization" for an example of how to
use the file option (see my blog below).

I can't seem to find it.

I would recommend that you go a different route and avoid ActiveSync
dependancies.

I have not intention of using ActiveSync.
Will SSCE not work for you?

You mean SQLCE database? I don't use that.. Because of Microsoft
Licensing policy (can't sync with remote database without licensing).
I am using inthehand ADOCE .NET engine.
 
Back
Top