You can set your app to be run when a HotSync is attempted - then do what
you need to do & run the real hotsync that the user wanted - but that still
requires you to set up that hook before the hotsync happens.
Mind you, a just-installed app does get launched at the end of the HotSync
that loaded it, so you do get that opportunity to set up hooks before the
user runs you. In which case you might as well use the notification
manager, not the ugly hotsync-stealing hack.
Richard
At 01:44 24/11/00 -0500, you wrote:
>I have an application that needs to know when the hotsync button is pressed
>(when it ISN'T running). I know that I can use the
>sysAppLaunchCmdSyncNotify launch code if I had a conduit that would update
>the app's database everytime a hotsync is done. But I don't want to write a
>conduit, and I don't want to use the notification manager because it
>requires me to register first for sysNotifySyncStartEvent (my application
>should be able to detect hotsync event without it being executed
>previously).
>
>Anyone have any idea how to do this?
>
>Herry
>
>
>--
>For information on using the Palm Developer Forums, or to unsubscribe,
>please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/