tags:

views:

57

answers:

2

Hi, I am trying to retrieve the current API Version of the device my Application is Running. Is there a way i can get that and Store it on a String. This needs to Work on 1.5 Version and Up. Examples would be greatly appreciated. Thank you.

+1  A: 

It is defined on the android.os.Build.VERSION.SDK constant, just use it.

Konstantin Burov
+1 for drawing faster :)
iandisme
Awesome Thanks A Bunch for the quick response
robert.z
+2  A: 

You can get it by calling Build.VERSION.SDK.

iandisme
Awesome Thanks A Bunch for the quick response
robert.z