On Sat, 19 Mar 2005 15:50:03 -0000, Vesselin Bontchev <[EMAIL PROTECTED]> wrote: > Every time the user launches an application (any application), I want my > application > to be notified, so that it can do something about the application that is > being > launched. How do I do this?
Similarly, how do I keep Vesselin's app from interrupting the launch of my own, once he's figured out how? :) Alexander M�ller does something very similar in "MultiUserHack" - changing the Hotsync user name to whatever's been specified for the app that's about to be run. Since apps can be launched by all kinds of mechanisms (Alarms, the launcher, Find, poking a card into the SD slot... the list goes on), I imagine he had to do some very clever things to avoid changing the Hotsync name several hundred times per second. Or maybe he didn't; I've never seen the source code for MultiUserHack. It seems quite stable, though. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
