has Jelly Bean - Android android.system

Android examples for android.system:Os Version

Description

has Jelly Bean

Demo Code

import android.os.Build;

public class Main{

    /**/*from   www  .  ja v  a 2s.c o m*/
     * >= 4.1 16
     */
    public static boolean hasJellyBean() {
        return Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN;
    }

}

Related Tutorials