There are a variety of variables stored in the android.os.Build
class that you can check for the current version of the given Android platform. Of course, these only work in an emulator or device as the SDK returns null or 0 during compilation
Is there any other variables available within the Android SDK that represents the current SDK version that is available during compilation via the Java API?
FYI, I am trying to implement this feature: https://github.com/johncarl81/transfuse/issues/18
Thanks.