Has ICE_CREAM_SANDWICH - Android Android OS

Android examples for Android OS:OS Version

Description

Has ICE_CREAM_SANDWICH

Demo Code


//package com.java2s;

import android.os.Build;

public class Main {
    /** >=4.0 14 */
    public static boolean hasICS() {
        return Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH;
    }//from   ww w.jav  a2s  .co m
}

Related Tutorials