简体   繁体   English

API级别列表 - android中的设备和SDK版本

[英]List of API Level - Devices and SDK Versions in android

Is there a definitive list of features and their supposed API & SDK versions and supported Mobile devices? 是否有明确的功能列表及其所谓的API和SDK版本以及支持的移动设备?

Basically, when I want to use a features, lets say Tabs or SwipeViews , I want to see if its supported in Gingerbread version, etc. Simple! 基本上,当我想使用一个功能,让我们说TabsSwipeViews ,我想看看它是否支持姜饼版本等简单!

If there is a page / site, that lists or allows me to search, that is what I am looking for. 如果有一个页面/网站,列出或允许我搜索,这就是我要找的。

I am having hard time finding this, even in Android documentation pages. 即使在Android文档页面中,我也很难找到它。

You can easily see which API something was added in by looking at it's documentation. 您可以通过查看文档来轻松查看添加了哪些API。

For example, in the AsyncTask documentation, you can see that it has existed since API 3, as it is mentioned on the right edge of the screen, in the same line as the title: 例如,在AsyncTask文档中,您可以看到它自API 3以来就已存在,如屏幕右边所示,与标题位于同一行:

在此输入图像描述

For individual methods and constants etc, you can scroll down to their documentation and see when they were added: 对于单个方法和常量等,您可以向下滚动到他们的文档,看看它们何时被添加:

在此输入图像描述

Here you can see that SERIAL_EXECUTOR and THREAD_POOL_EXECUTOR were added in API 11, while the constructor and cancel() have existed since API 3 在这里,您可以看到在API 11中添加了SERIAL_EXECUTORTHREAD_POOL_EXECUTOR ,而构造函数cancel()自API 3以来就已存在

You can use this Wikipedia page (scroll down to section 5.1, "Usage Share") for API/SDK versions. 您可以使用此Wikipedia页面 (向下滚动到第5.1节“使用共享”)来获取API / SDK版本。

Then use the Android Device Gallery and browse devices by version number to obtain supported devices. 然后使用Android设备库并按版本号浏览设备以获取支持的设备。 (Note: the option to filter devices by their version number is contained in the spinner that looks like an Android device's overflow menu). (注意:按版本号过滤设备的选项包含在看起来像Android设备溢出菜单的微调器中)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM