- Tek Eye
- Android Versions by Name, Number, Availability and API Level
- List of Android Versions and Their Names, API Level and Dates
- Do you have a question or comment about this article?
- Here’s how to find what Android version and build number you have
- What is the most recent Android version?
- How do you find your version of Android?
- How to find the Android version name programmatically?
- 14 Answers 14
- How can I check the system version of Android?
- 13 Answers 13
- List of Android version names
- Содержание
- Cupcake
- Donut
- Eclair
- Froyo
- Gingerbread
- Honeycomb
- Ice Cream Sandwich
- Jelly Bean
- KitKat
- Lollipop
- Marshmallow
- Nougat
- Android 10
Tek Eye
The table in this article lists all the different versions of Android, starting with the earliest Application Programming Interface (API) level to the latest API level. Thus the list is from the oldest Android versions to the latest.
Android Versions by Name, Number, Availability and API Level
Each version of Android is given a code name. The code name is traditionally the name of a dessert, cake or sweet, e.g, Gingerbread, Froyo, Jelly Bean, etc. — as the sugar laden picture below shows. The table that follows lists the code names, version numbers, first release date and Application Programming Interface (API) versions, along with the equivalent Software Development Kit (SDK) constants (Build.VERSION_CODES). The Android version number on a device is normally found in the settings. Select Settings, then About Phone or About Device and look at the Firmware Version or Android Version entry.
List of Android Versions and Their Names, API Level and Dates
Name | Version | Available | API | VERSION_CODES |
---|---|---|---|---|
N/A | 1.0 | October 2008 | 1 | BASE |
N/A | 1.1 | February 2009 | 2 | BASE_1_1 |
Cupcake | 1.5 | May 2009 | 3 | CUPCAKE |
Donut | 1.6 | September 2009 | 4 | DONUT |
Eclair | 2.0 | November 2009 | 5 | ECLAIR |
Eclair | 2.0.1 | December 2009 | 6 | ECLAIR_0_1 |
Eclair | 2.1 | January 2010 | 7 | ECLAIR_MR1 |
Froyo | 2.2 to 2.2.3 | June 2010 | 8 | FROYO |
Gingerbread | 2.3 to 2.3.2 | November 2010 | 9 | GINGERBREAD |
Gingerbread | 2.3.3 to 2.3.7 | February 2011 | 10 | GINGERBREAD_MR1 |
Honeycomb | 3.0 | February 2011 | 11 | HONEYCOMB |
Honeycomb | 3.1 | May 2011 | 12 | HONEYCOMB_MR1 |
Honeycomb | 3.2 to 3.2.6 | June 2011 | 13 | HONEYCOMB_MR2 |
Ice Cream Sandwich | 4.0.1 to 4.0.2 | October 2011 | 14 | ICE_CREAM_SANDWICH |
Ice Cream Sandwich | 4.0.3 to 4.0.4 | December 2011 | 15 | ICE_CREAM_SANDWICH_MR1 |
Jelly Bean | 4.1 to 4.1.1 | July 2012 | 16 | JELLY_BEAN |
Jelly Bean | 4.2 to 4.2.2 | November 2012 | 17 | JELLY_BEAN_MR1 |
Jelly Bean | 4.3 | July 2013 | 18 | JELLY_BEAN_MR2 |
Kit Kat | 4.4 to 4.4.4 | October 2013 | 19 | KITKAT |
Kit Kat | 4.4W to 4.4W.2 | June 2014 | 20 | KITKAT_WATCH |
Lollipop | 5.0 to 5.0.2 | November 2014 | 21 | LOLLIPOP |
Lollipop | 5.1 to 5.1.1 | March 2015 | 22 | LOLLIPOP_MR1 |
Marshmallow | 6.0 to 6.0.1 | October 2015 | 23 | M |
Nougat | 7.0 | August 2016 | 24 | N |
Nougat | 7.1 to 7.1.2 | October 2016 | 25 | N_MR1 |
Oreo | 8.0.0 | August 2017 | 26 | O |
Oreo | 8.1.0 | December 2017 | 27 | O_MR1 |
The above table was derived from the following sources (note that some release dates are derived from the Android developers documentation, the actual SDK availability may have been a little earlier, see the Wikipedia article):
When programming an App the API level is used to determine whether specific Android features are present or not. The API level can be read in versions prior to Donut (Cupcake, 1.1 and 1.0) using:
int APILevel = Integer.parseInt(Build.VERSION.SDK);
And from Donut onwards using:
int APILevel = Build.VERSION.SDK_INT;
(Build.VERSION.SDK is deprecated, i.e. it will be removed from the API at some future release).
When using functionality from a later API, but the App needs to support earlier Android versions, wrap the newer functionality in a separate class. Then check the API level before instantiating the class to prevent a VerifyError exception from occurring. See the article Support Multiple API Versions in Android.
Author: Daniel S. Fowler Published: 2012-05-25 Updated: 2017-01-08
Do you have a question or comment about this article?
(Alternatively, use the email address at the bottom of the web page.)
↓markdown↓ CMS is fast and simple. Build websites quickly and publish easily. For beginner to expert.
Free Android Projects and Samples:
Источник
Here’s how to find what Android version and build number you have
We have a great set of update guides here at Android Authority that are sure to keep you on the newest Android build. However, they’re only beneficial if you know what version you’re currently running. Luckily for you, this information isn’t all that hard to track down. Here’s how to find out what Android version and build number your device is running.
Luckily for you, the process of tracking down your Android version doesn’t really change based on your phone. Almost all OEMs tuck the information away in the same place, so let’s get searching.
What is the most recent Android version?
Before we get into finding your Android version, you may as well know how you stack up. Right now, the most recent release is Android 11, which dropped in September 2020. The first phones to make the switch were — unsurprisingly — Google’s own Pixel devices. The rollout has greatly expanded in the months since, and you can check your place in the timeline below.
Android 12 is the next update in the pipeline, though we’ve only seen developer previews thus far. If you really want to stay ahead of the curve, you can download it yourself and check out the newest changes.
How do you find your version of Android?
Now that you know where the latest devices sit, let’s find out where your Android device is. The process is straightforward, and it involves hopping into your settings app. Once you open it, follow these steps:
- Scroll to the bottom of your settings app and locate About phone.
- Enter the About phone section.
- Look for an additional submenu for software information, or you may see a section labeled Android version. Enter this section of your menu.
You should now be able to check your Android version as well as the build number. Your phone may store its security update information and Android skin version information in the same location. While you’re in the settings menu, it might be a great time to see if you have a fresh software update waiting for you.
There you go, everything you need to know about tracking down your Android version. We’ll be sure to update this page with new information if there’s an even easier way to find your version, or Android 12 officially rolls out.
Источник
How to find the Android version name programmatically?
I write code for finding the Android version like this
by using this code I am get the version number but I want version name. how to get the version name?
14 Answers 14
As suggested earlier, reflection seems to be the key to this question. The StringBuilder and extra formatting is not required, it was added only to illustrate usage.
On my 4.1 emulator, I get this output:
Optimized code, this will work:
After API 28 (Android Pie), Build.VERSION_CODES were changed some fields.
So, if you using:
will cause your app crash immediately because of Out Of Range Exception.
The solution for all API level is:
Or in Kotlin with Java 8’s style:
http://developer.android.com/reference/android/os/Build.VERSION_CODES.html contains fields that have the name you’re looking for. So you could use reflexion to find which field corresponds to the «version» value.
Why do you want the name ?
You will get the information from these
More information can be had from this link:
Hope this will help you.
Be aware that this solution will only work as far as the version codes keep being incremented by one, and you will have to update the list with each new android version (if being accurate is important).
As described in the android documentation, the SDK level (integer) the phone is running is available in:
The enum corresponding to this int is in the android.os.Build.VERSION_CODES class.
Edit: This SDK_INT is available since Donut (android 1.6 / API4) so make sure your application is not retro-compatible with Cupcake (android 1.5 / API3) when you use it or your application will crash (thanks to Programmer Bruce for the precision).
Источник
How can I check the system version of Android?
Does anyone know how can I check the system version (e.g. 1.0 , 2.2 , etc.) programatically?
13 Answers 13
Example how to use it:
- 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.
Build.Version is the place go to for this data. Here is a code snippet for how to format it.
Looks like this «Android SDK: 19 (4.4.4)»
For checking device version which is greater than or equal to Marshmallow ,use this code.
for ckecking others just change the VERSION_CODES like,
K for kitkat,
L for loolipop N for Nougat and so on.
That will give you the actual numbers of your version; aka 2.3.3 or 2.2. The problem with using Build.VERSION.SDK_INT is if you have a rooted phone or custom rom, you could have a none standard OS (aka my android is running 2.3.5) and that will return a null when using Build.VERSION.SDK_INT so Build.VERSION.RELEASE will work no matter what!
You can find out the Android version looking at Build.VERSION .
The documentation recommends you check Build.VERSION.SDK_INT against the values in Build.VERSION_CODES .
This is fine as long as you realise that Build.VERSION.SDK_INT was only introduced in API Level 4, which is to say Android 1.6 (Donut). So this won’t affect you, but if you did want your app to run on Android 1.5 or earlier then you would have to use the deprecated Build.VERSION.SDK instead.
I can’t comment on the answers, but there is a huge mistake in Kaushik’s answer: SDK_INT is not the same as system version but actually refers to API Level.
The value Build.VERSION_CODES.ICE_CREAM_SANDWICH equals 14. 14 is the API level of Ice Cream Sandwich, while the system version is 4.0. So if you write 4.0, your code will be executed on all devices starting from Donut, because 4 is the API level of Donut ( Build.VERSION_CODES.DONUT equals 4).
This example is a reason why using ‘magic number’ is a bad habit.
Источник
List of Android version names
Android versions up to Android 10! 10 got, additionally to their nummeric version number, a code-name, which was assigned by Google. Like the naming of Ubuntu versions (names of animals with an adjective [1] ), Android version names were names of, mostly american, sweets, where the first letter was in alphabetical order.
The assignment of numeric and textual version names are not always consistent. Android 4.0 and Android 4.1, for example, have different version names, but Android 5.0, 5.1 and 5.1.1 share the same version name.
Starting with Android 10! 10, Android versions do not get a codename anymore. Since then, the Android versions will be released with their version number only. [2] [3] [4] [5]
Содержание
Cupcake
The Android version 1500! 1.5 Cupcake is the first version, which got a name assigned, which is Cupcake. Cupcakes are muffin-like cakes, which mostly has a creamy hood.
Donut
Version 1600! 1.6 Donut was given the name Donut.
Eclair
Android-Version 2000! 2 Eclair and 2100! 2.1 Eclair share the same name, Eclair. Eclairs are longly biscuits overdrawn with chocolate.
Froyo
Frozen Yogurt is a ice-like dessert made with milk and yogurt and is also the name of the Android version 2200! 2.2 Froyo.
Gingerbread
The name of Android version 2300! 2.3 «Gingerbread» is Gingerbread, which are cake-like biscuits mostly eaten around christmas time.
Honeycomb
The android version mostly made for tablets, Android 3000! 3.0 Honeycomb, is called Honeycomb. The bootanimation of this android version is also made like a honeycomb.
Ice Cream Sandwich
Android 4.0 is called after a sweet, which is made of delicious ice cream bewtween two biscuits: an Ice Cream Sandwhich.
Jelly Bean
Jelly beans are colorful, mostly made out of sugar, sweets, which have a hard shell and are filled with jelly. The following android versions share this name:
KitKat
KitKat is a brand from Nestle, and is a chocolate bar filled with waffles. Android 4.4 is named after this sweet: 4.4! 4.4 «KitKat».
Lollipop
Lollipops are sweets in different flavors on a stalk and is also the name of the following android versions:
Marshmallow
The android version 6.0, announced at 17th of august in 2015 is called after the sweet Marshmallow.
Nougat
Android 7, also called Android N, officialy got the name Nougat.
Android 8, also called Android O, carries the name Oreo, which are two crispy chocolate cookies with a vanilla cream center.
Android 9, also called Android Pie, carries the name Pie, which is the name of different sweet dishes.
The version 9! 9 was the last Android version which got a codename assigned.
Android 10
Google announced that a new Android Version will be officially known as Android 10.
Источник