has Jelly Bean Mr1 - Android android.system

Android examples for android.system:Os Version

Description

has Jelly Bean Mr1

Demo Code

import android.os.Build;

public class Main{

    /** >= 4.2 17 */
    public static boolean hasJellyBeanMr1() {
        return Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1;
    }/*from   www  .  j a v a2  s.c  om*/

}

Related Tutorials