4 ms·
isUserAMonkey()
- cbhl 13y agoProbably referring to "adb monkey": http://developer.android.com/tools/help/monkey.html http://developer.android.com/tools/help/monkey.html
- VoiceOfWisdom 13y agohttp://stackoverflow.com/questions/7792123/strange-function-in-activitymanager-isuseramonkey-what-does-this-mean-what-is http://stackoverflow.com/questions/7792123/strange-function-... Not very well documented, but it is apparently a way to check if the current user is a automated tester.
- quink 13y agohttp://folklore.org/StoryView.py?story=Monkey_Lives.txt http://folklore.org/StoryView.py?story=Monkey_Lives.txt
- degenerate 13y agoHaha that's amazing. Thanks for linking!
- deleted 13y ago[deleted]
- aaronem 13y agoOok.
- trumbitta2 13y agoWhere's my luggage?
- aaronem 13y agoRunning thataway.
- eunoia 13y agoADB monkey is a testing tool which randomly mashes on interface elements. Sensor manager also includes a constant for the gravity of the first death star http://developer.android.com/reference/android/hardware/SensorManager.html http://developer.android.com/reference/android/hardware/Sens...
- megrimlock 13y agoThis api really needs to operate off an atomic snapshot, or at least return a timestamp of when monkeyness was observed, to avoid latency & synchronization issues. What if the monkey hands the phone off before the client code can continue execution?