Android examples for android.system:Os Version
has Gingerbread
import android.os.Build; public class Main{ /** >=2.3 */ public static boolean hasGingerbread() { return Build.VERSION.SDK_INT >= Build.VERSION_CODES.GINGERBREAD; }/*from ww w . j av a 2 s .c o m*/ }