Subject: Palm "Drivers"
From: "John Voltz" <[EMAIL PROTECTED]>
Date: Mon, 25 Jul 2005 12:11:48 -0400

I'm wondering how to implement a driver for the Palm, something like a
serial port connected keyboard or game controller. It would have to pass
keypress information to the active application. How is this done when older
versions of PalmOS are not multi-threaded? Is there a way to create a
"background" application to connect with the active application?

It is entirely possible, can be done and has been done.

Don't get hung-up on the multi-threaded stuff, instead understand callback functions, launch codes and notifications.

The big restrictions on background processes are:
        1) No globals (which also means no static variables)
        2) Single segment
        3) No UI
There are ways around all three, but it is easier not to have to.

Roger Stringer
Marietta Systems, Inc. (www.rf-tp.com)


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

Reply via email to