Using the Android Things Kit to create a touch screen interface for Google Assistant
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
app
gradle/wrapper
grpc
.gitignore
README.md
build.gradle
gradle.properties
gradlew
gradlew.bat
settings.gradle

README.md

google-assistant-show

Using the Android Things Kit to create "Google Assistant Show," a touch screen interface for Google Assistant.

Hardware setup

This project uses the following components:

Creating credentials

See this section on how to create the credentials for the Google Assistant API using a Python environment.

Project structure

This project uses several files (.java) and a module (grpc) from the androidthings/sample-googleassistant repository:

.  
+-- app  
│   +-- ...  
│   +-- src/main/java/com/drejkim/androidthings/googleassistantshow  
│       +-- BoardDefaults.java  
│       +-- Credentials.java  
│       +-- EmbeddedAssistant.java  
│       +-- ...  
|   +-- ...    
+-- grpc
+-- ...  

These files make it easier to interface with the board and the Google Assistant API.

Running the project

  • Open Android Studio and choose Import project from the welcome screen.
  • Navigate to this project's directory.
  • Click Open. The project will take a few moments to import and build.
  • Select Run → Run 'app' from the menu, or click the Run icon in the toolbar.

References