current Version Support Lock Screen Controls - Android android.app

Android examples for android.app:Screen

Description

current Version Support Lock Screen Controls

Demo Code

public class Main {

  public static boolean currentVersionSupportLockScreenControls() {
    int sdkVersion = android.os.Build.VERSION.SDK_INT;
    if (sdkVersion >= android.os.Build.VERSION_CODES.ICE_CREAM_SANDWICH) {
      return true;
    }/*from  w  ww.  j a  va 2s  .co m*/
    return false;
  }

}

Related Tutorials