has Eclair - Android Android OS

Android examples for Android OS:OS Build

Description

has Eclair

Demo Code


//package com.book2s;
import android.os.Build;

public class Main {
    public static boolean hasEclair() {
        return Build.VERSION.SDK_INT >= Build.VERSION_CODES.ECLAIR;
    }/*from  ww w. java2s. c  o m*/
}

Related Tutorials