Jonathan,
It looks like sysNotifyEventDequeuedEvent is something that could slow down the system. The API help files give a warning about using it due to possible significant degraded system performance. Using an alarm sounds like its my best bet. This is my first time developing on any palm OS, so if you could give me any pointers on alarms (stuff to avoid, any tips or anything i should know before trying to use them in my app) I would be very greatful. Thanks for the help.


Scott Erickson

----- Original Message ----- From: "Hays, Jonathan (GE Infrastructure)" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[email protected]>
Sent: Friday, April 08, 2005 1:04 PM
Subject: RE: Running a Background Procsess On Garnet



Since no one is really answering your question...  :-)

There are a couple of ways to do this on Garnett, each with their own pros and cons. Here are the ones that I am aware of:
1. Register an alarm to go off every second or couple of seconds.
2. Register for the sysNotifyEventDequeuedEvent notification. (This gets called basically every time that an event is handled anywhere in the system.)
3. Run in the callback of a sound stream thread.
Let me know if you need more explanation on any of these.


Hope this helps!

-Jon

-------------------------------------------
Jonathan Hays
Palm OS Certified Developer
http://hazelware.luggle.com
-------------------------------------------


-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Scott Erickson Sent: Friday, April 08, 2005 6:24 AM To: Palm Developer Forum Subject: Running a Background Procsess On Garnet


I am about to start development on an Anti-v program for the Garnet OS, my
first project under this OS. I would like to know if anyone knows how to
run a background process. I know Cobalt has stuff in the APIs to do this,
but I have not found a way to do it in Garnet. I need to have the Anti-v
program scan all incomming data. I need it to be able to scan bluetooth,
SMS and email everytime data is sent to the device through one of these data
channels. Any ideas???


-Scott Erickson
 FB-4, Inc.



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


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







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

Reply via email to