Android Device Version Check GetSdkLevel()

Here you can find the source of GetSdkLevel()

Description

Get Sdk Level

Declaration

public static int GetSdkLevel() 

Method Source Code

//package com.java2s;

import android.os.Build;

public class Main {
    public static int GetSdkLevel() {
        return Build.VERSION.SDK_INT;

    }/*  w w w . j  a  v  a2s.c  om*/
}

Related

  1. hasJellyBean()
  2. hasJellyBeanMR2()
  3. getAndroidVersion()
  4. getAndroidBuildSerial()
  5. hasHoneycomb()
  6. getDeviceId(Activity act)