I would like to write some sort of macro app that presses keys. Would this be possible on IOS and/or Android?
Asked
Active
Viewed 450 times
1 Answers
0
Yes, for android, have you tried MonkeyRunner
The monkeyrunner tool provides an API for writing programs that control an Android device or emulator from outside of Android code. With monkeyrunner, you can write a Python program that installs an Android application or test package, runs it, sends keystrokes to it, takes screenshots of its user interface, and stores screenshots on the workstation.

Soham
- 4,940
- 3
- 31
- 48
-
2That will only work if the "macro app" is running on a host PC. It will not work if the "macro app" is supposed to run on the device. One application cannot inject key events into arbitrary other apps, for security reasons. – CommonsWare Jun 05 '12 at 16:42