alexdonnini wrote:
> I looked for any information about onTap event processing for itemized
> overlays in this group. There is a lot of useful information but I
> could not find the answer to one question.
> 
> The tutorial by Mark Murphy on itemized overlays, 
> http://androidguys.com/?p=1413
> 
> describes how to generate a Toast message whenever an onTap event
> occurs.

Hey, that name looks familiar...

> My custom itemized
> overlay activity is included in the application package as a public
> activity.

Neither Overlay nor ItemizedOverlay are subclasses of Activity, so I do
not understand the above sentence.

> I have had trouble in correctly identifying the context for the Toast.

Use the activity hosting the MapView. If you are somehow getting that
activity inside another (e.g., shoehorned a MapView-wielding activity
into a TabActivity), try using the top-most activity.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android 1.5 Programming Books: http://commonsware.com/books.html

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to