get OS Version - Android android.system

Android examples for android.system:Os Version

Description

get OS Version

Demo Code

public class Main {

  public static String getOSVersion() {
    String release = android.os.Build.VERSION.RELEASE;
    release = "android" + release;
    return release;
  }/*from   ww  w .j a  v  a2  s  .co  m*/

}

Related Tutorials