He-he. :-) I've mentioned this in the past, when bitching about various PalmOS 
annoyances. The bottom line is - you cannot. There is no "clean" way of 
preventing an application from launching *after* you have received the 
sysNotifyAppLaunchingEvent notification, that is.

The "best" way that I've seen so far is to set the Recycle bit of the 
application you want to prevent from running and then reset the device (after 
warning the user, of course), before the application has had the chance of 
running. Databases with the Recycle attribute set will be deleted on reset. 
Avast Anti-Virus and Symantec Anti-Virus use this approach.

Alternatively, maybe you could overwrite the infected application with a safe 
do-nothing application. I think that Kaspersky Anti-Virus does that but I 
haven't tried it myself and I don't know whether it works.

I don't know of any other anti-virus programs for PalmOS that have on-access 
scanning, so I don't know whether there are any alternative approaches to this 
problem.

Myself, I would recommend using the first approach.

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

Reply via email to