has Kitkat - Android Android OS

Android examples for Android OS:OS Version

Description

has Kitkat

Demo Code


//package com.java2s;

import android.os.Build;

public class Main {
    /** >=4.4 19 */
    public static boolean hasKitkat() {
        return Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT;
    }//from  ww  w.j  a  v  a 2  s .  c  o  m
}

Related Tutorials