Re: [android-developers] How to input cursor position on tap?

2010-02-19 Thread Rogério de Souza Moraes
Hi, try seen this: http://developer.android.com/intl/fr/reference/android/view/MotionEvent.html With this you can get the x,y coordinates using the fucntions getRawXhttp://developer.android.com/reference/android/view/MotionEvent.html#getRawX%28%29and getRawY Example: if

[android-developers] How to input cursor position on tap?

2010-02-18 Thread ian
I want to read my cursor position so that, after a tap, I can convert the screen x,y coordinates to a Geopoint for distance calculations. I found a snippet to convert x,y coordinates to a Geopoint and probably could use Projection instead, but how do I input those screen x,y values in the first