Friday 1 December 2017

java - Proper use cases for Android ActivityManager.isUserAMonkey()?

I was looking at the new APIs introduced in Android 2.2.
While looking at the ActivityManager class I came across the following
method:





public static boolean
isUserAMonkey()



Used to determine
whether the user making this call is subject to teleportations.




Returns whether the user making this call is a
monkey.





How
and when should this be used?

No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...