Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import android.os.Build;

public class Main {
    /**
     * Returns OS Version
     *
     * @return String
     */
    public static String getOsVersion() {
        return String.valueOf(Build.VERSION.SDK_INT);
    }
}