An open API service indexing awesome lists of open source software.

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

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)_.