ebelinski / apilevels

A microsite overview of all Android 🤖 versions and their corresponding API/SDK levels, version codes, codenames, and market shares.
https://apilevels.com
MIT License
225 stars 26 forks source link

year data #37

Closed ghost closed 11 months ago

ghost commented 11 months ago

where are you getting the year data?

TWiStErRob commented 11 months ago

See footnote 1. from the Cumulative usage column: https://apilevels.com/#fn:1 for where the usage data comes from.

The Year column is not related to the usage, but rather the release date of the version in that row, see https://en.wikipedia.org/wiki/Android_version_history which has references for each date.

ghost commented 11 months ago

cool thanks - I think it would be helpful to add the Wikipedia link to the page, since it is the source of that data

TWiStErRob commented 11 months ago

Sorry, that's not necessarily the source, I was just showing where to get more details.

It could be also the Javadoc of android.os.Build.VERSION_CODES. If @ebelinski decides to add anything it should be probably that. Although in recent years Google got a bit lazy on with the docs there.

I'm curious, what is the reason for you query?

ghost commented 11 months ago

I'm curious, what is the reason for you query?

I wanted to compare the years of the API versions with the years of the different versions of Google Play Store, and I noticed that the years for the API versions were not sourced. I dont like "magic" numbers, so I think its good to at least clarify where the data came from.

TWiStErRob commented 11 months ago

Thanks! Raised a PR: https://github.com/ebelinski/apilevels/pull/38, double-checked: each year matches VERSION_CODES + found blog posts for latter releases. Do you think this works?

I dont like "magic" numbers

Have to mention your username here... 😜

ghost commented 11 months ago

looks great, thank you