cj1098
cj1098

Reputation: 1600

how to check which flavor of android the user is running

is there a way to do this in code? Say for example I want to know if the user is using froyo and if they are, do something.

Upvotes: 0

Views: 138

Answers (1)

codeMagic
codeMagic

Reputation: 44571

Use android.os.Build.VERSION

You have several ways to check such as comparing agsinst CODENAME or SDK version code

Upvotes: 1

Related Questions