can I Use by api Level - Android Android OS

Android examples for Android OS:OS Version

Description

can I Use by api Level

Demo Code


import android.os.Build;

public class Main {
  public static boolean canIUse( int apiLevel) {
    return Build.VERSION.SDK_INT >= apiLevel;
  }//from  w w  w .  ja v a  2 s .  com
}

Related Tutorials