什么是API级别意味着什么?意味着什么、级别、API

2023-09-03 20:28:41 作者:玉簪轻绾融于发

我想知道究竟是什么的 API级的意思。我似乎无法找到通过搜索在谷歌的答案。

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

任何人都可以请解释一下这个词的 API级的意思吗?

Could anyone please explain what the term API level means?

推荐答案

这的实际总结它pretty的很好。

This actually sums it up pretty nicely.

API级别通常意味着,作为一个程序员,你可以使用内置的功能和功能的设备的通信。随着API水平的提高,功能增加了(尽管有些是可以去precated)。

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).

选择一个应用程序的开发应至少有两个事情考虑的API级别:

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

电流分布 - 有多少设备可以真正支持我的申请,如果是为开发API 9级,它不能在API级别8运行,跌破的话,只有60%左右的设备可以运行它(真到这个职位的订立日期)。 选择一个较低的空气污染水平可能支持更多的设备,但获得较少的功能为您的应用程序。您可能还更加努力地去实现的功能,你可能已经来之不易,如果你选择了较高的API级别。 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). 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级别可分为三大类(不是科学,但是什么):

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

的Andr​​oid 1.5 - 2.3(API等级3-10) - 机器人专门为智能手机。 的Andr​​oid 3.0 - 3.2(API等级11-13) - 蜂窝,Android的经费用于平板电脑 的Andr​​oid 4.0(API级别14-) - 冰淇淋三明治 - 目前这一代,有万吨额外的功能,全新改版的Andr​​oid版本,为手机和平板电脑的大合并。