get Android SDK Version - Android Android OS

Android examples for Android OS:OS Build

Description

get Android SDK Version

Demo Code


//package com.java2s;

public class Main {
    public static int getAndroidSDK() {
        return android.os.Build.VERSION.SDK_INT;
    }//from   w  w w  .ja  v  a2 s .  c o m
}

Related Tutorials