11-04-2010 11:26 AM
Hye everybody !!
I develop a J2ME application which uses some lists. I test my application on two devices :
- Curve 8820
- Bold 9700
I noticed two differents behaviour on the two device when click on the pad or on the trackball on an item list :
- on the curve a popup menu appears and we have to scroll to choose the action we want
- on the blod the popup menu is not displayed and the menu item is directly chosen
So here is my question :
How can I disable the popup menu in Curve device (os 4.5), of course if it's possible.
Thank in advance,
regards
11-06-2010 02:20 AM
Try the constant property "ButtonField.CONSUME_CLICK" is argument whenever you instantiate your field.
Example.
ButtonField button = new ButtonField(ButtonField.CONSUME_CLICK);
Or you may also want to override, navigationClick(){}. In this method it must return true to keep the popup menu.