BlackBerry Forums Support Community

BlackBerry Forums Support Community (
-   Developer Forum (
-   -   Track Ball (

reshmy 07-26-2009 06:15 AM

Track Ball
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

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 03:40 AM.

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