How can I get the current android device version (1.5, 1.6, 2.0, etc.) programmatically? i.e I have installed my apk on an Android 2.2 device. I need to get the device versi
Try This,
String deviceOs = android.os.Build.VERSION;
I hope this will help.