If you use a pre-cooked MapActivity you can fetch its MapView.   Since
you're not extending anything, you can't override that MapView's
onTouchEvent().  So all you really have is the Activity's
dispatchTouchEvent, whose x and y are whole-screen pixels.  I guess if you
hand-construct the View as opposed to doing it all in XML, you can extend
MapView and do the job.  Otherwise you have to climb the View.parent()
ladder to find out where your part of the screen actually starts and get a
number to subtract from the dispatchTouch location.  Blecch. Or maybe I'm
just missing something obvious. -T

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