get System Version - Android Phone

Android examples for Phone:Phone Information

Description

get System Version

Demo Code


//package com.java2s;

import android.content.Context;

public class Main {
    public static int getSystemVersion(Context context) {
        int currentapiVersion = android.os.Build.VERSION.SDK_INT;
        return currentapiVersion;
    }//  w  w w  .  j  a  v  a  2 s  .c om
}

Related Tutorials