On Wed, Dec 1, 2010 at 12:21 AM, dmodroid <dmodr...@gmail.com> wrote:

> So from my map activity, I want to say myOverlay.addEventListener(onTouch,
> myCallback).
>

Then define your own callback class, add a function to your custom overlay
"addTouchListener(MyCallBack myCallback)" where you set the callback for the
overlay (from your mapactivity), then in the custom overlay when the touch
event actually happens, forward the call on to your custom callback.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

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

Reply via email to