Android Device Version Check getAndroidVersion()

Here you can find the source of getAndroidVersion()

Description

get Android Version

Declaration

static public String getAndroidVersion() 

Method Source Code

//package com.java2s;

import android.os.Build;

public class Main {
    static public String getAndroidVersion() {
        return Build.VERSION.RELEASE;
    }/* w w w .java2 s. c  om*/
}

Related

  1. isKitKat()
  2. isKitKatOnly()
  3. isLollipop()
  4. hasJellyBean()
  5. hasJellyBeanMR2()
  6. getAndroidBuildSerial()
  7. hasHoneycomb()
  8. GetSdkLevel()
  9. getDeviceId(Activity act)