索引範例
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
使用這個頁面,依據其支援的應用程式動作功能尋找範例。請在下方選取範例,即可在 Actions on Google GitHub 存放區中查看完整範例。您可以從 GitHub 存放區複製或下載範例,以便自行建構動作。
GitHub 上的範例
下表列出 Android 範例應用程式。您可以按照想在範例中顯示的功能或內建意圖 (BII) 篩選這個表格。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間: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. |"]]