Dear experts,

I recently decided to try out making my app tentatively "GoogleTV ready" by ensuring a user can do everything without ever entering Touch mode.

For most stuff it is pretty straight forward, but I'm scratching my head at MapView/ItemizedOverlay: The docs appear to indicate that onTap(index) should do the trick, but it seems not to work the way I expect it to. "onTap ... This could be from a touchscreen tap on an onscreen Item, or from a trackball click on a centered, selected Item..."

Working around it using onTrackballEvent() and perhaps an onFocusChangeListener seems possible, but the documentation appears to indicate that this should not be needed for simple cases, right?

I get the circle in the center and can move around with the D-pad/trackball, but when trying to select, hitTest() is not called and onTap(index) appears to be called with stale info.

Anyone got a working code snippet? (Mark's NooYawk sadly doesn't work and googling came up with blanks apart from questions without answers)

                Thanks in advance / Jonas

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to