What does API level mean?

后端 未结 3 1233
时光取名叫无心
时光取名叫无心 2020-12-22 18:49

I am wondering what exactly API level means. I couldn\'t seem to find an answer by searching on Google.

Could anyone please explain what the term API le

3条回答
  •  心在旅途
    2020-12-22 19:15

    This actually sums it up pretty nicely.

    API Levels generally mean that as a programmer, you can communicate with the devices' built in functions and functionality. As the API level increases, functionality adds up (although some of it can get deprecated).

    Choosing an API level for an application development should take at least two thing into account:

    1. Current distribution - How many devices can actually support my application, if it was developed for API level 9, it cannot run on API level 8 and below, then "only" around 60% of devices can run it (true to the date this post was made).
    2. Choosing a lower API level may support more devices but gain less functionality for your app. you may also work harder to achieve features you could've easily gained if you chose higher API level.

    Android API levels can be divided to five main groups (not scientific, but what the heck):

    1. Android 1.5 - 2.3 (Cupcake to Gingerbread) - (API levels 3-10) - Android made specifically for smartphones.
    2. Android 3.0 - 3.2 (Honeycomb) (API levels 11-13) - Android made for tablets.
    3. Android 4.0 - 4.4 (KitKat) - (API levels 14-19) - A big merge with tons of additional functionality, totally revamped Android version, for both phone and tablets.
    4. Android 5.0 - 5.1 (Lollipop) - (API levels 21-22) - Material Design introduced.
    5. Android 6.0 - 6.… (Marshmallow) - (API levels 23-…) - Runtime Permissions,Apache HTTP Client Removed

提交回复
热议问题