0

I am currently using this code snippet to find the SW version in phones with recent API versions. However, this is not working for phones with old API versions.

SoulRayder
  • 5,072
  • 6
  • 47
  • 93

2 Answers2

2

If you want to check Version of your device you can use :

android.os.Build.VERSION.SDK_INT

For further knowledge, Robby's answer will help you...

Community
  • 1
  • 1
SweetWisher ツ
  • 7,296
  • 2
  • 30
  • 74
0

Use Build class to get information about the current build, extracted from system properties. http://developer.android.com/reference/android/os/Build.html

ecle
  • 3,952
  • 1
  • 18
  • 22