If I understand you correctly, your application should handle the launch
command sysAppLaunchCmdSyncNotify in it's PilotMain() function.
According to the docs, this is only sent to apps whose databases have
changed, so an alternative is registering for the
sysNotifySyncFinishEvent notification using the notification manager
API. But this is only on OS 3.5+ systems. This is all documented in
the SDK, available at: http://www.palmos.com/dev.
-----Original Message-----
From: Clark Dorman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 26, 2001 12:11 PM
To: Palm Developer Forum
Subject: HotSync Launch Notification
I'm trying this again, since I didn't hear
anything last time. Any information would be
greatly appreciated.
How do I know when my application has been
launched by the user pushing the HotSync Button?
I can change the application that is launched by
the HotSync button (either cradle or modem).
It works great and when I set it to my app, my app
launches. But, I looked at the launch code,
and it is 0. I was expecting 9, as it says
in the header:
#define sysAppLaunchCmdSyncRequestLocal 9
// Sent to the HotSync application to request a
// local HotSync. ("HotSync" button was pressed.)
Does that means that _only_ the HotSync app will
get this launch code? How do I know?
Clark
--
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/