is ART - Android android.system

Android examples for android.system:Os Version

Description

is ART

Demo Code

import android.os.Build;

public class Main{


    public static boolean isART() {
        final String vmVersion = System.getProperty("java.vm.version");
        return vmVersion != null && vmVersion.startsWith("2");
    }//from w  w  w .j a  va2 s.  co  m

}

Related Tutorials