Dr. Vesselin Bontchev wrote:
Aha, I see. But I still don't see how one can specify which application is to
be run when the middle button of the 5-way control is pressed while the device
is off... The Launch tab allows any of the other buttons to be programmed
(Datebook, Address, ToDo, Notepad, Voice)
Well, the short answer is that, in it's present state, you can't. This
is because the 5-way-ctr doesn't respond like the other hardbuttons on
many devices. So I only allowed it to be configured for "popup" duty on
non-Treos. When I added the "launch" tab later on, I didn't bother to
include the 5-way-ctr in that list of configurable buttons. This is
because I would have had to, once again, disable it for Treos, plus I
only had room on the screen for 5 buttons (DBook, Addr, ToDo, Memo, voice).
My point was that the 5-way-ctr CAN be handled on some devices from
sleep (witness the "popup" configuration), and that you CAN launch
other-than-default apps from sleep using the standard hardbuttons
(witness the "launch" tab). Extending that app-launching function to
the 5-way-ctr would not be difficult, because it is already being
handled upon wakeup.
- and why are there two entries for each? - but not, apparently, the 5-way
control...
There are 2 entries because you can launch the default app or 2 others.
If you tap the button you get default behaviour, if you hold it you get
EITHER the default or the selected 2 apps, depending on when you release
the button.
Obviously, I'm still missing something. The design isn't terribly intuitive and
at least some kind of documentation compensating for that would have been
nice...
Agreed. Of course documentation tends to be the last thing to get done,
often immediately preceeding a release (at least in my experience), and
this app has never gotten that far.
Anyway, I was just trying to address the questions:
"Can the 5-way-ctr be handled from sleep" -- I offered my app as a
demonstration that it can, with stated limitations.
"Can the hardbuttons launch OTHER apps from sleep" -- again, my app
demonstrates that it is possible.
If you want to discuss further I don't mind, but this is probably
becoming less interesting to the general forum members. So please just
send me a note directly if you want to continue.
Bob.
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/