0

I use MapActivity with my own class extending ItemizedOverlay. I would like to achieve a result described below:

When user tap an element on map I would like to get the data from tapped item (title, snippet) and pass it to the MapActivity. In MapActivity I have a method that handle that data but I do not know how can I pass that data across application (maybe I should use Handler?)

M. Hryszczyk
  • 1,184
  • 10
  • 11

1 Answers1

0

Generally you pass data by starting Activities using the Intent system. Here is a good SO question about it:

How do I pass data between Activities in Android application?

Community
  • 1
  • 1
sgarman
  • 6,152
  • 5
  • 40
  • 44