Maybe you can try to use Toast.LENGTH_LONG On Wed, Nov 4, 2009 at 11:32 PM, furby <wookie...@gmail.com> wrote:
> 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 android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en