android - Is Build a class or Build.VERSION is a single class ? -


in android, when write,

if (build.version.sdk_int >= build.version_codes.honeycomb) 

in this, build class , version constant in sdk_int or if, build.version single class , sdk_int constant in ?

android.os.build class.

android.os.build has 2 public static inner classes, version , version_codes.

values sdk_int in version , honeycomb in version_codes public static final int data members.

you can see in the source code android.os.build.


Comments

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

Pull out data related to my apps from Android Play Store and iOS App Store -

How can I fetch data from a web server in an android application? -