Skip to main content

How to work with tactile devices ?

1 reply [Last post]
andrianiaina
Offline
Joined: 2011-05-18
Points: 0

Hi all,

I am stuck on this problem : I want to execute an action when the user clicks with the pen device on a Table row (or cell) if the device is a tactile one ( for example the DefaultFxTouchPhone1 with Sun JavaME WirelessToolkit SDK 3.0 ). I tried to use the addFocusListener method but it has bugs because even though the Form which displays the Table is not shown anymore then the FocusGain method is still called !

So how to capture the pen click event only when the actual Form is shown ?

Thank you very much indeed

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
vprise
Offline
Joined: 2003-11-07
Points: 0

The focus listener works as designed it is not a bug.