vendredi 27 juin 2014

Get touch location using onTouch and then programmatically touch this place


Vote count:

0




I made an app that gets the touch location and now I want to make it tap this place..


here is the code:



public boolean onTouch(View v, MotionEvent event) {
int x = (int) event.getX();
int y = (int) event.getY();
return true;
}


I only want it to programmatically touch this place..


how can I do it ?


ty :)



asked 1 min ago






Aucun commentaire:

Enregistrer un commentaire