So I am slowly trying to figure out maps... I want to be able to click
on a point and pop up a message. Toast seemed the way to go. So I
added an "onTap" handler in my class that extends ItemizedOverlay (the
class is called HelloItemizedOverlay) and then tried to grab the Toast
example... But I am seeing Eclipse tell me that the line is in error
no matter what I do... My code is below - could someone tell me what i
am doing wrong?
protected boolean onTap(int index) {
Toast.makeText(HelloItemizedOverlay.this, "TEST",
Toast.LENGTH_SHORT).show();
return super.onTap(index);
}
--
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