i followed the exact tutorial on android.com for the mapview, and when i create a HelloItemizedOverlay with just a drawable, it appear but i can’t touch it because the onTap() method requiers a context. So i create with a context ( getApplicationContext() ) and it doesn’t appear, but if i tap on the place where it needed to be it still crash .
Can someone help me ?
http://developer.android.com/resources/tutorials/views/hello-mapview.html
you got the context of the overlay, but need the context of the mapview activity, it works for me in this way