has Jelly Bean Mr2 - Android android.system

Android examples for android.system:Os Version

Description

has Jelly Bean Mr2

Demo Code

import android.os.Build;
public class Main{

    /** >= 4.3 18 */
    public static boolean hasJellyBeanMr2() {
        return Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR2;
    }//from ww  w .  j  av  a 2 s.  c om

}

Related Tutorials