BlackBerry Forums Support Community

Closed Thread
LinkBack Thread Tools
Old 07-26-2009, 06:15 AM   #1 (permalink)
New Member
Join Date: Jun 2009
Model: 8800
Carrier: programmer
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Track Ball

Please Login to Remove!

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
Old 07-27-2009, 03:49 AM   #2 (permalink)
Knows Where the Search Button Is
Join Date: Jul 2009
Model: 8800
Carrier: Vodafone
Posts: 15
Post Thanks: 0
Thanked 0 Times in 0 Posts

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

Copyright 2004-2016
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.