Originally Posted by simon.hain
implement a focuschangelistener and overwrite navigationClick() and keyChar() in your screen. delegate all unhandled events to super()
navigationClick() is OS 4.2 only.
For a app compatible with older devices, please implement trackwheelClick instead
, which also capture trackball clicks on new BlackBerry.
TIP! It's also possible to include navigationClick( ) in an application you compile for JDE 4.1 if you make a dummy call to it in the constructor. I hate compiling apps separately for 4.1 and 4.2, I love unified .cod files that works on 4.1 and 4.2 yet takes advantage of 4.2 features. (I have learned a lot of BlackBerry development tricks over the years.)