GetOSVersion returns the API target level of the android version.
app.GetOSVersion() → Number: integer
Example - Show Android API Level
function OnStart()
{
version = app.GetOSVersion();
app.Alert( version );
}
from native import app
def OnStart():
version = app.GetOSVersion()
app.Alert(version)