ubject: Re: Strange error when trying to intercept sysNotifyVolumeMountedEvent From: "Dr. Vesselin Bontchev" <[EMAIL PROTECTED]> Date: Fri, 29 Apr 2005 12:48:57 -0000
> 2) Setup a notification, alarm or event to run your program (in > background)
Alas, I can't run anything in the background, sigh... But I know what you mean.
Actually you do lots of things in "background" provided you understand how that concept works within the Palm OS, and don't try to impose some other OS model onto Palm OS.
All programs can run in Palm OS "background" all the time. In fact they do.
Whenever your program services a launch code "without globals", it is running in "background" mode. You can view "without globals" as Palm OS background mode. It is in some respects related to the TSR mode you had on MS-DOS, except all Palm OS programs are automatically in this mode all the time without any special effort on the part of the programmer.
Your only problem in servicing "without globals launch" should be because you have a long process, and as a consequence you must pop-up a progress window to the user so they know why the system suddenly isn't paying attention to them. If you'll observe the way Palm OS works, you'll notice this happens commonly such as when a unit connects to a remote system (dial-up or TCP/IP socket).
Roger Stringer Marietta Systems, Inc. (www.rf-tp.com)
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
