Tuesday, August 30, 2011

[android-developers] MapView OverlayItem

Hi

I've got the following problem:
I've implemented a mapView with some different OverlayItems on the
Map. I also can react on the onTap(int) event in my Class which
extends from ItemizedOverlay<OverlayItem>. I can send some Toast
messages and so on.
But what i want to do is to get the selected Index from the onTap-
Event back to the MainActivity which extends from the MapActivity
Class and the close this Activity and pass the index back to the
previous Actiivty.

So han can I listen to the onTap Event in the MapActivity-Class?

Thanks in advance

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

No comments:

Post a Comment