Scott Rock wrote:

I have successfully gotten the program working using John's advice above.  
While it isn't too clean, it works.  But this has brought about another 
question...

Currently my app sets an alarm for 2 seconds, switches to the Garmin program, 
then after the 2 seconds my program starts with the command 
sysAppLaunchCmdAlarmTriggered.  It adds a purgeAlarm to keep the 
sysAppLaunchCmdDisplayAlarm from happening.  On a sysAppLaunchCmdAlarmTriggered 
command, I check the current location and if it isn't at an intended location, 
it sets another 2 second alarm and switches back to the Garmin app.  So as you 
can see, it's a continuous loop until the location is found.

Here's the problem.  If the correct location is not found, I see the Garmin 
application and then every 2 seconds (when my alarm is triggering), the screen 
goes grey for a very brief instant, and then the Garmin app shows again.  Is 
there any way to keep the screen from temporarily going grey while my program 
is processing the location?

I thought my program may have been temporarily trying to display a form, so as 
a check, I made the trigger command only set the alarm and switch to the Garmin 
app (thus no processing in my program).  This didn't help at all---the screen 
still goes grey every 2 seconds.

Any ideas anyone?

Thanks, Scott


Use a ProcedureAlarm.

Regards,
Henk
--
-------------------------------------------------------------------------
  Henk Jonas                                            [EMAIL PROTECTED]
  Palm OS Â certified developer

  Please contact me, if you need an off-side contract worker.
-------------------------------------------------------------------------

--
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/

Reply via email to