Map API

Nutiteq Maps Lib SDK enables developing advanced mobile mapping applications.
Platforms: Android, RIM BlackBerry, Java ME (J2ME)
Download maps API SDK »
Untitled Document

Products

» View demos
» Downloads

Latest news

Last at Tue, 6 Dec 2011 18:37:53
Topic: New BlackBerry sample app
See more news »

Palm Centro and stylus events

1 reply [Last post]
wingmanzz
User offline. Last seen 2 years 24 weeks ago. Offline
Joined: 09/28/2008

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

jaak
User offline. Last seen 1 day 9 hours ago. Offline
Joined: 06/19/2008

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