BlackBerry Forums Support Community

Closed Thread
LinkBack Thread Tools
Old 01-12-2010, 05:27 PM   #1 (permalink)
New Member
Join Date: Nov 2009
Model: 8300
Carrier: ATT
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default showing/using Trackball in blackberry application

Please Login to Remove!

Hey Guys,

I have a blackberry curve .. and when i open my browser i see a black arrow that I can control using my trackball to click anywhere on the webpage ...

now i have developed a Java app .. which also has lot of things to click on ... by default i can do this using scrolling the trackball ...

is it possible to show the same arrow in the Java app ...s o that users can use that for clicking ...

thank you for your help Guys ..
Old 01-13-2010, 02:26 PM   #2 (permalink)
BlackBerry Extraordinaire
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts

Typical navigation on the Blackberry UI moves the focus from one control to the next, based on the movement of the track ball (or other pointing device). It does not paint a cursor.

I guess you *could* paint a cursor by tracking the x,y position of the cursor and overriding paint() in the screen.

Dunno why you would want to, though, unless your UI is not "field" based.

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