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
  • 4,924
  • 5
  • 42
  • 90

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,288
  • 2
  • 28
  • 70
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,863
  • 1
  • 17
  • 22