Translate

Friday, September 23, 2011

Google sense of humor :)

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

1 comment:

  1. Monkey is actually a tool integrated in the sdk which tests your app by pressing all the buttons...

    ReplyDelete