Android examples for android.system:Os Version
is Dalvik
import android.os.Build; public class Main{ public static boolean isDalvik() { final String vmVersion = System.getProperty("java.vm.version"); return vmVersion != null && vmVersion.startsWith("1"); }/*from ww w. j a v a 2s.c om*/ }