Originally Posted by Asuna
My application is a midp application. I using the javax.microedition.lcdui.Canvas. I need to know how can i implement the trackball fuctions(up, down, click, especially the left and right).
I tried the public boolean trackwheelRoll(int amount,int status,int time) but i can't get a message when i roll left or right of the trackball on the simulator.
Can anyone help me?
By the way, when i roll the trackball vertically or flatly, will the "status" return different value?
Thanks a lot~
I have used the method
navigationMovement(int dx,int dy,int status, int time)
if ((status & KeypadListener.STATUS_TRACKWHEEL) ==
and you test the dx ( positive = right negative= left movement)
I hope this can help.