title: Simulating mouse clicks from service
body: <p>I am looking forums for two days now and can't find the answer. I am new to android and i have a problem. I need to have a small server service in backround (which i have) that gets coordinates for example. With that coordinates i must simulate (make) a click on the active activity... 
  It should be service for controling the android from the computer. The computer client aplication sends some information like pressed key or mouse click and the service gets it and performs action on active activity.
  Is there any way to do that , some example or something ? Thank you</p>