when user installed my application I want to get the users android OS(version, Name) to validate .I tried with different examples but cant find the solutions and wasted my time.
Asked
Active
Viewed 483 times
1 Answers
2
You can use:
android.os.Build.VERSION
It provides info about:
CODENAME: The current development codename, or the string "REL" if this is a release build.
INCREMENTAL: The internal value used by the underlying source control to represent this build.
RELEASE: The user-visible version string.
SDK_INT: The user-visible SDK version of the framework; its possible values are defined in Build.VERSION_CODES.
For more info: LINK

Umer Farooq
- 7,356
- 7
- 42
- 67
-
@Deepak if my answer helped you kindly accept it by clicking on the TICK mark – Umer Farooq Sep 23 '13 at 11:00