How do I determine the revision number of an Android build?
Posted
by hermo
on Stack Overflow
See other posts from Stack Overflow
or by hermo
Published on 2010-05-25T03:05:23Z
Indexed on
2010/05/25
3:11 UTC
Read the original article
Hit count: 328
I know how to get the API level, android.os.Build.VERSION.SDK_INT, but there are also several revisions of each level release, e.g. for 2.1 there's rev 1 and 2. How do I determine the revision of a build?
The reason i'd like to know this is that I have a workaround for a bug in Android 2.1 (and 2.2), and this workaround will break the moment the corresponding bug is fixed. So right now i'm in the odd position of hoping that the bug won't be fixed (at least not until I can find an answer to above question).
© Stack Overflow or respective owner