Is it possible to generate a fake touch at a particular point (say (x,y)) on the screen from the code? There is a button on my activity and I dont want to click it through touch screen? Is there any way to achieve this?
This method should help you.
http://developer.android.com/reference/android/view/View.html#performClick()
myButton.performClick();