11-30-2011 10:15 AM
I have an application working well on the platform 6.0 and it does not work in 5.0 (I use the simulators - 9800 and 9550, respectively).
A class extends Field and overrides the method:
protected boolean touchEvent(TouchEvent message)
Degugging indicated that this call (inside the overridden method)
returns null when the application runs on 5.0.
Were there any changes from 5.0 to 6.0?
Can I implement processing of TouchEvents in a cross-platform way, so it can work both in 5.0 and 6.0?
12-02-2011 04:40 PM
There were some new gestures added in OS 6, detailed in the JavaDocs, but most should work fine.
What SDK are you using? What gesture are you testing for that are failing?
01-12-2012 06:02 AM
Sorry for a very late answer. I was very busy on the project and the problem was solved.
I think the reason was also in the 9500 (9550) emulator and the feature of BlackBerry Storm (9500), the clickable touchscreen. As far as I know, 9800 has no clickable touchscreen. Initially I thought that the difference was in the API.