Java tutorial
//package com.java2s; import android.os.Build; public class Main { /** * Build.VERSION.RELEASE * * @return */ public static String getOsVersion() { return String.valueOf(Build.VERSION.RELEASE); } }