I have seen a couple of posts already related to this. But I haven t got my answer yet. Is there an equivalent of awt.Robot in Android which can do actions like simulating a keypress? I have a java application where I use this awt.Robot to upload a file using a filechooser. I want to do the same on the phone right now. I want to be able to upload an image through the filechooser automatically using Robot or something equivalent. Can you please tell me if there are any equivalents to awt.Robot ? I have already checked http://code.google.com/p/awt-android-compat/ as mentioned in one of the posts but that is still not ready to be used for simulating key presses etc.
我真的会赞赏这方面的任何帮助。
提前感谢。