Here you can find the source of getAndroidSDKVersion()
public static int getAndroidSDKVersion()
//package com.java2s; //License from project: Open Source License public class Main { public static int getAndroidSDKVersion() { return android.os.Build.VERSION.SDK_INT; }/*from w w w .j a va 2s . c o m*/ }