Thanks. Good point. I have seen the behavior described in the thread
you pointed to.
Alex
On Jul 14, 3:37 pm, skink wrote:
> On Jul 14, 7:35 pm, Mark Murphy
>
>
>
> > Just pass in the activity to your ItemizedOverlay's subclass'
> > constructor, and use it to create your Toast.
>
> be careful t
On Jul 14, 7:35 pm, Mark Murphy
>
> Just pass in the activity to your ItemizedOverlay's subclass'
> constructor, and use it to create your Toast.
>
be careful though, since passing Activity context to Toast can in some
situations be dangerous, see:
http://groups.google.com/group/android-develo
alexdonnini wrote:
> Thanks. What I meant is that I thought that in your example,
> SitesOverlay is an inner class of the map activity "NooYawk". In my
> case, the custom itemized overlay class is not an inner class of the
> map activity. This means that an entry like NooYawk.this will not
> work.
Scott Mikolyski (sc...@mikolyski.com) solved my problem.
He suggested I add a private context to the custom itemized overlay,
modify the itemized overlay constructor to assign a context to the
private contxt. Then pass the context of the map activity to the
instantiation of the custom itemized ov
Hi Mark,
Thanks. What I meant is that I thought that in your example,
SitesOverlay is an inner class of the map activity "NooYawk". In my
case, the custom itemized overlay class is not an inner class of the
map activity. This means that an entry like NooYawk.this will not
work.
Am I wrong? I hav
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
>
6 matches
Mail list logo