Hi Tam,
This will work too:
LocalID id = DmFindDatabase(0, "HotSync");
SysUIAppSwitch(0, id, sysAppLaunchCmdSyncRequest, 0);
Hope this helps!
-Jon
-------------------------------------------
Jonathan Hays
Palm OS Certified Developer
http://hazelware.luggle.com
-------------------------------------------
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: Monday, March 07, 2005 3:08 AM
To: Palm Developer Forum
Subject: re: Programatically start local hotsync
Hi Tam,
you just need to enqueue a vchrHardCradle key event. The system will launch the
HotSync app (terminating yours) and it will do the sync just like you pressed
the HotSync button on the craddle. To Trigger a wireless Hotsync, you can use
vchrHardCradle2 instead.
HTH
JPA
The HB++ Team
http://www.handheld-basic.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/