https://github.com/android/app-actions-samples
Samples demonstrating the use of App Actions
https://github.com/android/app-actions-samples
Last synced: 6 months ago
JSON representation
Samples demonstrating the use of App Actions
- Host: GitHub
- URL: https://github.com/android/app-actions-samples
- Owner: android
- License: apache-2.0
- Archived: true
- Created: 2022-12-13T21:19:24.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-16T03:05:01.000Z (about 3 years ago)
- Last Synced: 2024-09-26T01:29:29.658Z (over 1 year ago)
- Language: Kotlin
- Size: 9.19 MB
- Stars: 62
- Watchers: 53
- Forks: 20
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
App Actions Samples Repository
==============================
This repository contains a set of individual Android Studio projects to help you get started writing [App Actions](https://developer.android.com/guide/app-actions/overview).
Google Assistant enables voice-forward interactions in Android Apps. Using Assistant, users can launch apps, complete tasks, access content, and more by asking things like, "Hey Google, start a run on ExampleApp." App Actions let users launch and control Android apps with their voice, using Assistant.
Read below for a description of each sample.
Samples
-------
* **[Fitness BIIs](fitness-biis)** (Kotlin) - Demonstrates using [Health and Fitness BIIs](https://developer.android.com/reference/app-actions/built-in-intents/health-and-fitness) like `Start exercise` and `Stop exercise` with static shortcuts. _Codelab: [Extend an Android app to Google Assistant with App Actions](https://codelabs.developers.google.com/codelabs/appactions)_.
* **[Common BIIs](common-biis)** (Kotlin) - Demonstrates using [Common BIIs](https://developer.android.com/reference/app-actions/built-in-intents/common) like `Open app feature` and `Get thing` with static shortcuts. _Codelab: [Extend an Android app to Google Assistant with App Actions Codelab lvl 2](https://codelabs.developers.google.com/codelabs/appactions-2)_.
* **[Dynamic Shortcuts](dynamic-shortcuts)** (Kotlin) - Demonstrates pushing [Dynamic Shortcuts](https://developer.android.com/guide/app-actions/dynamic-shortcuts) with App Actions which enables voice functionality for dynamic elements in an app, like user-generated content. _Codelab: [Extend dynamic shortcuts to Google Assistant with App Actions](https://codelabs.developers.google.com/codelabs/appactions-dynamic-shortcuts)_.
* **[Widget](widget)** (Kotlin) - Demonstrates providing a [widget as fulfillment](https://developer.android.com/guide/app-actions/widgets) for the `Get exercise observation` BII. _Codelab: [Integrate Android widgets with Google Assistant](https://codelabs.developers.google.com/codelabs/appactions-widgets)_.