BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/)
-   Developer Forum (http://www.blackberryforums.com/developer-forum/)
-   -   Track Ball (http://www.blackberryforums.com/developer-forum/198664-track-ball.html)

reshmy 07-26-2009 06:15 AM

Track Ball
 
hi...
i developed a blackberry aplication.The track ball movement is very slow in a form.the form consists of buttons.In that image is there.Is there any way to track the movement of track ball through application?What is FILTER Accelaration in net.rim.device.api.ui.Trackball package?

Thanks and regards
Reshmy

cristisor 07-27-2009 03:49 AM

1. you can register a trackBallListener and listen to the events, but you won't be able to detect when the trackball has been rolled left or right, or how much it has been rolled:
Google for TrackWheelListener, I can't post links
2. extend the Screen class and see the navigationMovement(int dx, int dy, int status, int time) method, it detects everything:
Google for Blackberry Screen Class


All times are GMT -5. The time now is 04:38 PM.

Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.