Skip to content

Most visited

Recently visited


Android 7.0 示例

通过下面的代码示例,了解 Android 7.0 功能和 API。要在 Android Studio 中下载示例,请选择 File > New > Import Sample 菜单选项。

:这些可下载的项目设计用于与 Gradle 和 Android Studio 结合使用。

多窗口 Playground


从 GitHub 上获取


这是一个已存在的示例,其显示一个使用 NotificationCompat 发送通知的简单服务。该服务将来自用户的每个未读会话以不同的通知形式发送。

此示例已更新,以充分利用 Android N 中提供的新的通知功能。

从 GitHub 上获取


这是一个已存在的示例,其演示如何使用 NotificationManager 指示应用当前显示的通知数量。

此示例已更新,以充分利用 Android N 中提供的新的通知功能。

从 GitHub 上获取



从 GitHub 上获取



从 GitHub 上获取

This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields


在微信上关注 Google Developers

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a short survey?
Help us improve the Android developer experience. (Dec 2017 Android Platform & Tools Survey)