has Gingerbread - Android Android OS

Android examples for Android OS:OS Version

Description

has Gingerbread

Demo Code


//package com.java2s;

import android.os.Build;

public class Main {
    public static boolean hasGingerbread() {
        return Build.VERSION.SDK_INT >= Build.VERSION_CODES.GINGERBREAD;
    }//from  w  ww.j a  v  a2 s.  c o m
}

Related Tutorials