has Gingerbread - Android android.system

Android examples for android.system:Os Version

Description

has Gingerbread

Demo Code

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*/

}

Related Tutorials