Blackerry OS 7, LWUIT 1.5 and touch event
I'm new on LWUIT and BB development and I've found some weird thing in the touch event management.
First, the BlackBerryTouchImplementation is not instanciate in ImplementationFactory: line is commented. I've uncommented it (and commented the BlackBerryImplementation instanciation), and the Button were not triggering their attached command.
After some code tracking, we found out that the event sent by RIM are Touch.DOWN and Touch.UP that leads to pointerHoverPressed and pointerHoverReleased and never to pointerPressed and pointerReleased which need Touth.CLICK and Touch.UNCLICK.
I've made a hack in Display, inverting POINTER_HOVER_PRESSED/RELEASED and POINTER_PRESSED/RELEASED actions and the Button now works.
What's wrong here? Are the Touch constant inverted?
Thanks for any help.
Geobert, for Airtag