Peter Easton wrote:
> Hi Craig,
>
> The HotSync interrupt interrupts the DragonBall processor directly - with no
> involvement
> from the virtual serial driver. The virtual serial driver has full access
> to the OS, so it could
> set the System prefs to launch a "preferred" app when the HotSync interrupt
> happens.
>
> As far as I know, there is no way to mask this interrupt.
Is there a way to set the "preferred" app to nothing? I really want to be able to
detect the hotsync interrupt but at the same
time not interrupt the currently running process. My understanding of the situation
is that I can set my own app as the preferred
app, but then when the app gets run it will cause the app that was running to receive
an appStopEvent and shutdown. This is
undesirable as it will cause the app to lose data - or if it stores that data before
exiting it will at least cause it to require a
restart by the user.
>
>
> Regards,
>
> Peter Easton
> Pam Developer Support
>
> Craig Allan Jeffree wrote:
>
> > Hello all,
> > I'm writing a virtual driver for the palm.
> >
> > I would like to find a way to capture the hotsync signal from the
> > driver. The only way I have been able to get this notification is
> > through the application launch available through the preferences -
> > buttons menu. This is not able to do what I want because it will cause
> > the current application to be stopped. I would like to find a way that
> > will let the virtual driver trap the hotsync signal - determine whether
> > it was a modem hotsync or a cradle hotsync and then take the appropriate
> > actions, all without interrupting the currently running application.
> > This would involve stopping the system from launching the application
> > which is selected in the preferences program.
> >
> > I would love to hear from anyone who has any ideas on this!
> >
> > Thanks for your help
> >
> > Craig Jeffree
>
> --
> 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/