Skip to content
The Android Things projects used in the Experiments Tent at Google I/O 2017
Branch: master
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
contrib-drivers
controller-app
gradle/wrapper
quickdraw-podiums
.gitignore
CONTRIBUTING.md
LICENSE
README.md
build.gradle
gradle.properties
gradlew
gradlew.bat
settings.gradle

README.md

Things & Firebase

While building our Experiments Tent for Google I/O 2017, we realized that on-screen controls were so 2016.

So we built a couple things. This repository contains the code that powers the knobs and sliders controlling The Spirit, as well as the LED lights in the podiums for our Quick, Draw! multiplayer experience.

The Spirit

google i/o 2017

The Spirit controls, located in controller-app/, uses a newly created driver for Android Things, the ADCV2x analog controller. It reads data from the sliders and dials and updates a Firebase Realtime Database.

To make it even easier for developers, we created a simple library named dat.fire, which connects dat.gui controllers to any Firebase database in just a few lines of code.

Check out controller-app/ for a more detailed look, and look at this fork of The Spirit, here and here, where we implemented dat.fire.

Quick, Draw! Multiplayer

google i/o 2017

The contestant podiums for Quick, Draw! function in the opposite direction.

Rather than send data out, they listen for Firebase Realtime Database value change events, and update their state accordingly. This was especially easy to implement since Quick, Draw! was already using Firebase.

They were way ahead of their time. #trendsetters

Check out the implementation details in quickdraw-podiums/

You can’t perform that action at this time.