John Newell wrote:

You've got to handle the correct notifications and launch codes, right?

Wrong.  I have been looking at this myself and asking the same questions.  I 
can find no notification nor launch code when this button is pressed.  Nor is 
there anything in the KeyCurrentState.  Even if you did handle it (as I have 
handled the other HardKeys in one of my apps) there is still no (obvious) way 
of preventing the device from performing the default action for that key.
ANY HELP WITH THIS GRATEFULLY RECEIVED.
Wrong, eh? It really depends upon what you are trying to do. Vesselin referred to bypassing the default popup clock when you press the 5-way ctr on a sleeping device. This can certainly be done, because I do precisly that on my own T3 with my own app. Perhaps you are saying that this doesn't really meet the test of "launches a different application", but neither does the default clock on the T3, it pops-up (which is, technically, "launched") then puts the device back to sleep, as does mine. If you really wanted to launch a different app then you would need to do other stuff. I remap all the other 4 hardbuttons, so that they can launch any app that I want from a sleeping device, and I don't imagine that it would be too hard to remap the 5-way ctr as well, seeing as I have control of it at that time.

Perhaps I have misunderstood what Vesselin was asking, or perhaps the TE doesn't work the same, or perhaps you are looking at devices that DEFINITELY work differently, like the Treos.....

Bob.

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

Reply via email to