BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 09-11-2008, 07:10 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Jun 2008
Model: 8100
PIN: N/A
Carrier: Vodafone India
Posts: 39
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Device has a TrackWheel or TrackBall?

Please Login to Remove!

Folks,

I want my application to check if the device has a TrackBall or TrackWheel??
My main interest is, it should be evaluated before any key event

Is it possible? if yes then how?

Thanks,
Alpesh
Offline  
Old 09-11-2008, 07:51 AM   #2 (permalink)
CrackBerry Addict
 
Join Date: Apr 2005
Location: hamburg, germany
Model: 8900
Carrier: o2
Posts: 838
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Field.navigationMovement:
The source of the navigation event can be determined by checking the KeypadListener.STATUS_TRACKWHEEL and KeypadListener.STATUS_FOUR_WAY bits in the status parameter; exactly one of them will be set.
__________________
java developer, Devinto, hamburg/germany
Offline  
Old 09-12-2008, 01:01 AM   #3 (permalink)
Knows Where the Search Button Is
 
Join Date: Jun 2008
Model: 8100
PIN: N/A
Carrier: Vodafone India
Posts: 39
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks, Simon

your solution is nice but I want this check, before any key or navigation event


Alpesh
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Pinske Edge Seamer Vacuum Clamp
$300.0
Pinske Edge Seamer Vacuum Clamp pictureGast - DOA-P709-AA Diaphragm-Type Vacuum Pump
$300.0
Gast - DOA-P709-AA Diaphragm-Type Vacuum Pump pictureNOS Watts 36A 3/4" Vacuum Relief Valve w/ Box Instructions AGA Several Available
$23.99
NOS Watts 36A 3/4Chemetron Style Quick Connect to DISS Male Vacuum 11-02-0041 NEW
$29.99
Chemetron Style Quick Connect to DISS Male Vacuum 11-02-0041  NEW pictureAmerican Educational Hand Operated Vacuum Pump with Gauge
$27.75
American Educational Hand Operated Vacuum Pump with Gauge picture






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