Hi,

You need to implement the method  public boolean
onTouchEvent(MotionEvent event) in your view and then you can see the
coordinates of touching point calling the function event.getX() and
event.getY()...

More information here: 
http://code.google.com/android/reference/android/view/MotionEvent.html

阿彬 wrote:
> I want to get the coordinates of screen when I touch screen...
> Because I want to use it to convert to lat/lon on map?
>
> Anybody can help me?
>
> thanks a lot
--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to