Re: [android-developers] Re: Toast - I can't get it to work in Eclipse...

2009-11-04 Thread Mark Murphy
furby wrote: To be sure that you have some idea of what I am talking about, here is the code for the entire class : import java.util.ArrayList; import android.graphics.drawable.Drawable; import android.widget.Toast; import com.google.android.maps.ItemizedOverlay; import

Re: [android-developers] Re: Toast - I can't get it to work in Eclipse...

2009-11-04 Thread Mark Murphy
furby wrote: Hmmm Am I putting the onTap handler in the wrong place? I thought that it would go in the overlay handler Your onTap() is in the correct place. However, HelloItemizedOverlay is not a Context, and so it cannot be used as the first parameter to makeText(). Either make

Re: [android-developers] Re: Toast - I can't get it to work in Eclipse...

2009-11-04 Thread Mark Murphy
furby wrote: Perhaps I am going about this the wrong way... it seems like a lot of shifting of code around to get a simple message to display in google maps. Not really. Let me rephrase the question : Is there a simple way to get the two String parameters to display (That are sent to the