05-10-2011 07:08 AM
Could you please give me some direction or something to catch Trackball action for LEFT and RIGHT movement from Canvas class, instead of boolean navigationMovement(int dx, int dy, int status, int time) from Screen class.
I already found method boolean trackwheelRoll( int amount, int status, int time) and running well to catch UP and DOWN trackball direction from Canvas Class but cannot catch LEFT and RIGHT actions.
Is in Blackberry have method like keyRepeated in MIDP for Trackball?
06-11-2012 05:19 AM
I think this question is specifically targeted at MIDLet applications. I think you are writing normal RIMLet applications, in which case you override naviagiotionMovement() in the Field or Screen that you wish to capture the information. Look at the API and search the forum for more information on coding navigationMovement.
07-24-2012 02:08 AM
I use MIDlet instead of RIMlet. I use primitive MIDlet key handling to catch the trackball event from method keyPressed() and using time counter to let it repeated.
It can solve my problem and hope useful for you.