Chris Percival mentioned another approach that might work. Here's some more
details:

Chars.h defines the following character:

  #define vchrHardCradle 0x0209 // Button on cradle pressed

This character can be sent in a keyDownEvent using the EvtAddEventToQueue().
My guess is that this would simulate the user pressing the cradle button,
which is generally configured to do a local hotsync (though the user can
change this behavior).

      -Bob Whiteman

> -----Original Message-----
> From: Eric Sun [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 27, 2000 9:20 AM
> To: Palm Developer Forum
> Subject: RE: Programmatically perform a HotSync
> 
> 
> If we need to short out some pin on the port to do this, I don't think
> Metrowerks or Palm has API that controls the phsyical hardware.  
> 
> I know that with some of the Symbol units, the hotsync is an 
> application on
> the unit (i.e. not a hardware button, but an application 
> button).  Now, how
> can we get those code into our own program, is another question.
> That is kind of what's needed.  To be able to access that 
> HotSync program
> within my code.
> 
> And thanks again for all the help so far!  It is much appreciated!
> 
> Thanks,
> __________________________________________________
> Eric C.F. Sun
> Senior Software Developer
> RAD Specialist 
> Q.Data Inc.
> Tel: (905)477-1367     x.277
> Date: July 27, 2000   Time:12:07

-- 
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