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

2009-11-04 Thread furby
It underlines the makeText word and when I ask it for suggestions all it says is Rename in file. Which makes me wonder if, perhaps, makeText' no longer exists in the Toast object? On Nov 4, 10:38 am, Mark Murphy mmur...@commonsware.com wrote: furby wrote: So I am slowly trying to figure

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

2009-11-04 Thread furby
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 com.google.android.maps.OverlayItem;

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

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

2009-11-04 Thread furby
Hmmm Am I putting the onTap handler in the wrong place? I thought that it would go in the overlay handler On Nov 4, 11:01 am, Mark Murphy mmur...@commonsware.com wrote: furby wrote: To be sure that you have some idea of what I am talking about, here is the code for the entire class :

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

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

2009-11-04 Thread furby
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. Let me rephrase the question : Is there a simple way to get the two String parameters to display (That are sent to the OverlayItem class) when a point

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

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

2009-11-04 Thread furby
Thank you! The got my app to display a message to the user! Yay! And you are about to have a customer! On Nov 4, 12:14 pm, Mark Murphy mmur...@commonsware.com wrote: 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