Sample Simpleui

Connect GPIO states with a graphical UI on Android Things
Alternatives To Sample Simpleui
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Cylon3,685339865 years ago47April 22, 201644otherJavaScript
JavaScript framework for robotics, drones, and the Internet of Things (IoT)
Rpi Rgb Led Matrix3,225
18 days ago514gpl-2.0C++
Controlling up to three chains of 64x64, 32x32, 16x32 or similar RGB LED displays using Raspberry Pi GPIO
4 years ago113mitPython
Alexa client for all your devices! # No active development. PRs welcome # consider instead
192 years agoJune 10, 202124mitSwift
A Swift library for hardware projects on Linux/ARM boards with support for GPIOs/SPI/I2C/PWM/UART/1Wire.
Embd1,21016125 years ago4March 06, 201746mitGo
Embedded Programming Framework in Go
Onoff1,0986932522 years ago57April 26, 20211mitJavaScript
GPIO access and interrupt detection with Node.js
Awesome Android Things927
10 months ago6Java
A curated list of awesome android things tutorials, libraries and much more at one place
Jetson Gpio76737a month ago25June 28, 20223mitPython
A Python library that enables the use of Jetson's GPIOs
5 years ago5mitPython
DEPRECATED - Use instead ...Turn a Raspberry Pi into an Alexa Client
Python Periphery4751013 months ago10February 15, 20219mitPython
A pure Python 2/3 library for peripheral I/O (GPIO, LED, PWM, SPI, I2C, MMIO, Serial) in Linux.
Alternatives To Sample Simpleui
Select To Compare

Alternative Project Comparisons

Simple Peripheral UI

This utility exposes the GPIO of an Android Things device as switch widgets in a graphical UI. You review the state of inputs, and click the switches to control the state of outputs.

Note: The Android Things Console will be turned down for non-commercial use on January 5, 2022. For more details, see the FAQ page.


This utility shows on the attached display Android Switch widgets for each GPIO pin exported by the board.

When you click or tap on the switch, the GPIO active status switch from HIGH to LOW according to the widget state.

You can attach LEDs or other digital output peripheral to your GPIO pins and toggle them on and off without changing a single line of code (if you connect LEDs: make sure you add 470 ohms current-limiting resistors in series to avoid damaging them).


Simple UI sample demo

(Watch the demo on YouTube)


  • Android Things compatible board
  • Display with touch input or external pointing device
  • Android Studio 2.2+
  • LEDs
  • resistors
  • Breadboard

Build and install

On Android Studio, click on the "Run" button.

If you prefer to run on the command line, type

./gradlew installDebug
adb shell am start com.example.androidthings.simpleui/.SimpleUiActivity


Copyright 2016 The Android Open Source Project, Inc.

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Popular Gpio Projects
Popular Led Projects
Popular Hardware Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.