Android examples for Android OS:OS Version
has Jelly Bean
//package com.java2s; import android.os.Build; public class Main { public static boolean hasJellyBean() { return Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN; }//from w ww .java 2 s . c om }