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
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
2 matches
Mail list logo