iOS and android, no windows phone (although my summer project is going to be seeing if I can port it)
the emulator or the clicker? the emulator is tricky, the clicker not so much (although it depends on your desired level of sophistication)
import win32api, win32con
import time
def click(x,y):
win32api.SetCursorPos((x,y))
win32api.mouse_event(win32con.MOUSEEVENTF_LEFTDOWN,x,y,0,0)
win32api.mouse_event(win32con.MOUSEEVENTF_LEFTUP,x,y,0,0)
while True:
click(*some_coord)
time.sleep(2)
click(*some_other_coord)
time.sleep(200)
written in python, this just interacts with a building and then clicks away from it, going every ~200 seconds.