Hi,

My application integrates with the built-in datebook application. When my
conduit runs, it updates the datebook records that are managed by it. The
records in the databook database need to be sorted for the databook
application to work correctly, so before HotSync ends I need to ensure the
databook database is indeed sorted. I'm not sure what is the best way to do
this. I know that the datebook application sorts its database when it is
launched with sysAppLaunchCmdSyncNotify.

I'm thinking of these approaches, in order of preference:
a) Make my conduit priority 1 and if I change any records in the datebook
database the databook database would be different and would require that the
HotSync Manager invoke the datebook conduit to synchronise it.
b) Use SysAppLaunch in my application when it is launched with
sysAppLaunchCmdSyncNotify to launch the datebook application with
sysAppLaunchCmdSyncNotify.
c) Use SyncCallRemoteModule in my conduit to launch the datebook application
with sysAppLaunchCmdSyncNotify.

I don't know if a) would work because I don't know when the HotSync Manager
decides when a conduit needs to be run; or does it run all of them. Still, I
can't be guarenteed with a) that my conduit will run before the datebook
conduit.

I'm sure datebook integration is common in Palm programming, so if anyone
has any advice for me please fill me in on the best path and where the
pitfalls are.

Cheers and happy programming,
James.


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to