Check if the android has Froyo - Android android.os

Android examples for android.os:Build

Description

Check if the android has Froyo

Demo Code

import android.content.Context;
import android.content.Intent;
import android.os.Build;

public class Main{


    public static boolean hasFroyo() {
        return Build.VERSION.SDK_INT >= Build.VERSION_CODES.FROYO;
    }//from w w  w.j a  v  a  2 s. com

}

Related Tutorials