Each Android platform release or update is given an incremental API version and also the name of a dessert, to make discussions on the subject easier to swallow (ho ho). The dessert names run in alphabetical order and are always hotly speculated prior to release.
The table below lists the Android versions with their API level and also dessert name. The list strikes-through versions that were not released or are declared obsolete:
Platform Version | API Level | Name |
---|---|---|
1.5 | 3 | Cupcake |
1.6 | 4 | Donut |
2.1 | 7 | Eclair |
2.2 | 8 | Froyo |
2.3 | 9 | Gingerbread |
2.3.3 | 10 | Gingerbread |
3.0 | 11 | Honeycomb |
3.1 | 12 | Honeycomb |
3.2 | 13 | Honeycomb |
4.0 | 14 | Ice Cream Sandwich |
4.0 | 15 | Ice Cream Sandwich |
4.1 | 13 | Jelly Bean |
It is always worth keeping and eye on the latest Android Platform Versions statistics provided by Google.
How do I find the Android platform version my app is running on?
In your app you can test for the version of Android that is running with the following code:
if(android.os.Build.VERSION.SDK_INT < 8) { // Do something for versions less than 2.2 }
0 comments:
Post a Comment