I want to show how you can get Android SDK version from code.
It is very simple:
String version = Build.VERSION.RELEASE;
This one returns SDK version (2.0.1,2.0,1.6).
int apiLevel = Build.VERSION.SDK_INT;
This one returns API Level (6,5,4).
If you’d like to get the latest posts as soon as they’re published,subscribe to our feed!
No related posts.

Recent Comments