示例索引
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
使用此页面可按与应用有关的 Action 支持的功能查找示例。您可以选择下面的示例,在 Actions on Google GitHub 代码库中查看完整示例。在 GitHub 代码库中,您可以克隆或下载示例,以帮助您构建自己的 Action。
GitHub 上的示例
下表列出了我们的示例 Android 应用。您可以按希望在示例中使用的功能或内置 intent (BII) 过滤此表格。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eThis page provides links to sample Android apps demonstrating App Actions features, available on the Actions on Google GitHub repo.\u003c/p\u003e\n"],["\u003cp\u003eYou can explore samples featuring various functionalities like fitness tracking and to-do list management, categorized by built-in intents and features.\u003c/p\u003e\n"],["\u003cp\u003eThese samples serve as practical examples to aid developers in building their own App Actions and are readily available for cloning or downloading.\u003c/p\u003e\n"],["\u003cp\u003eOne sample showcases the integration of Google Analytics for Firebase, enabling the tracking and analysis of App Actions events.\u003c/p\u003e\n"]]],[],null,["# Sample index\n\nUse this page to find samples by the App Actions features they support. Select a\nsample below to view the full sample in the\n[Actions on Google GitHub repo](https://github.com/actions-on-google). From the GitHub repo,\nyou can clone or download samples to help you build your own Actions.\n\nSamples on GitHub\n-----------------\n\nThe following table lists our sample Android apps. You can filter this table by\nthe features or built-in intents (BIIs) you'd like to see used in the sample. \n\n| Sample | Description | Highlighted features and BIIs |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------|\n| [Fitness basic sample](https://github.com/actions-on-google/appactions-fitness-kotlin) | This sample Android app is a simple fitness app where users can see workout information, as well as start and stop an exercise timer. | `actions.intent.START_EXERCISE`, `actions.intent.STOP_EXERCISE`, `actions.intent.GET_EXERCISE_OBSERVATION` |\n| [To-do list sample](https://github.com/actions-on-google/appactions-common-biis-kotlin) | This sample Android app manages items on to-do lists. Users can add items to to-do lists, search for items by category, and view information about completed tasks. | `actions.intent.GET_THING`, `actions.intent.OPEN_APP_FEATURE` |\n| [To-do list sample with Google Analytics for Firebase](https://github.com/actions-on-google/appactions-common-biis-kotlin/tree/get-analytics-with-firebase) | This sample Android app instruments the to-do list app with Google Analytics for Firebase. | Log App Actions events with Firebase SDK and visualize aggregated statistics in the Streamview dashboard. |"]]