I am working with 2 resolutions one touchScreen and other Non- touch
i have designed a Screen which has 10 custombuttons are added to a VerticalFieldManager
The CustomButtonField class extends Field class
i have used 2 methods fieldChange() and touchEvent() for touchScreens
the problem is whenever i do click on button it gets activated correctly for touchevent()
but then the fieldChange() method also gets called immediately afterwards
what should i do??
what’s the problem ??
Check the answers of the question BlackBerry touchEvent outside Field triggers fieldChanged provided by Paul Sylliboy and Arhimed.
In those answers, there was a method which only updates a
booleanvariable to identify that a touch event occured, and based on the value of thatbooleanan action is executed on thefieldChangedornavigationClickmethod.