Android Device Version Check isKitKatOnly()

Here you can find the source of isKitKatOnly()

Description

is Kit Kat Only

Declaration

public static boolean isKitKatOnly() 

Method Source Code

//package com.java2s;

import android.os.Build;

public class Main {
    public static boolean isKitKatOnly() {
        return Build.VERSION.SDK_INT == Build.VERSION_CODES.KITKAT;
    }//from  w w  w . j  a v  a2s  . c  o  m
}

Related

  1. isGingerbread()
  2. isHoneycomb()
  3. isICS()
  4. isJellybean()
  5. isKitKat()
  6. isLollipop()
  7. hasJellyBean()
  8. hasJellyBeanMR2()
  9. getAndroidVersion()