is Monkey Running - Android android.app

Android examples for android.app:ActivityManager

Description

is Monkey Running

Demo Code


//package com.java2s;

import android.app.ActivityManager;

public class Main {
    public static boolean isMonkeyRunning() {
        return ActivityManager.isUserAMonkey();
    }//from w  ww  .jav  a  2 s . com
}

Related Tutorials