Hi,
Let me first state that I know this phone is explicitly supported in the list, but I have almost everything I need working on my Palm Centro EXCEPT panning and zooming events on the tutorial application. The map draws fine (MapItem appended to Form), and the library detects hasCanvasEvents() properly because it puts the zoom controls in the upper left hand corner..
However, you cannot tap them to zoom, and panning of the canvas does not work either. Complicating things slightly is that I turned off the OnScreenZoomControls() thinking i could just use the navigation buttons to zoom and pan, but it also doesnt appear to be getting the key presses.
Any idea of how to work around this in this environment?
PS using the IBM WebSphere Micro Environment Java Virtual Machine 5.7.2 and its basically the tutorial code verbatim im trying to use.
Do I need to give the mapitem focus somehow? Or should I be using a MapComponent?
TIA for any and all help!
Scott
It looks like the component does not get any touch events from the JVM for some reason. Could be limitation of the JVM, or configuration issue. It could be also limit of the CustomItem implementation there.
It could be also focus issue. Most phones give automatically focus to a form element of you click on it, but maybe some JVM-s do not do it.
We suggest to use MapComponent, this is in lower level and works better. Form implementations in different Java devices tends to be no good, if you display more than just basic elements there.
/JaakL