get OS Version SDK - Android android.system

Android examples for android.system:Os Version

Description

get OS Version SDK

Demo Code

public class Main {

  @SuppressWarnings("deprecation")
  public static String getOSVersionSDK() {
    return android.os.Build.VERSION.SDK;
  }//from w  w  w  .j a v a2s  .  c o  m

}

Related Tutorials