Subject: Re: Executing application in background on Palm OS 5
From: Jim Cooper <[EMAIL PROTECTED]>

> I have an app that needs to have two options: Close and Exit.

Actually, you don't. You need to have a look at the Palm API docs,
particularly the programming companion, as to why not. The Exit option
in particular doesn't make sense on a Palm device as there is nowhere
for it to exit to.

> 1. How to move and continue executing the app in a background in Palm OS 5
> that is single process OS.

There have been a number of highly technical discussions about that on
this newsgroup. Short answer is that you can't really do it.


But the long answer is that you can, especially if the program will run occasionally, by using the alarms or by reacting to system events.

The even longer answer is the Palm OS is multi-tasking, but only one task is exposed for user applications. There are rumored to be some tricky ways of hooking into some of the system tasks for OS5, but it is far better to find a simpler solution...

What specifically are you trying to achieve? There may already be an easy solution...

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/

Reply via email to