I had a good laugh this morning when reading the android forums.
A user found this member function inside the class ActivityManager.
static boolean isUserAMonkey()
Returns "true" if the user interface is currently being messed with by a monkey.
Official Documentation: http://developer.android.com/reference/android/app/ActivityManager.html
Monkey is actually a tool integrated in the sdk which tests your app by pressing all the buttons...
ReplyDelete