Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Getting started with Android Things - Pavlo Zin`
Search
GDG Ternopil
January 21, 2017
Programming
1
86
Getting started with Android Things - Pavlo Zin`
Getting started with Android Things - Pavlo Zin`
GDG Ternopil
January 21, 2017
Tweet
Share
More Decks by GDG Ternopil
See All by GDG Ternopil
Semi supervised learning with Autoencoders by Ілля Горев
gdgternopil
2
83
Застосування ML в реальних проектах - Андрій Дерень
gdgternopil
2
110
Android Architecture Components by Ihor Dzikovskyy
gdgternopil
0
160
First look at Room Persistence by Oleksiy Sazhko
gdgternopil
0
110
Mobile Applications Architecture by Constantine Mars
gdgternopil
1
88
Tuning your SQLite with SQLDelight & SQLBrite - Mkhytar Mkhoian
gdgternopil
0
270
Speeding up development with AutoValue - Andrii Rakhimov
gdgternopil
1
89
The Mistery of Gradle Plugins - Dmytro Zaitsev
gdgternopil
1
76
Xamarin Build native Android & iOS apps with C# - Vitalii Smal
gdgternopil
1
110
Other Decks in Programming
See All in Programming
Amazon Verified Permissions実践入門 〜Cedar活用とAppSync導入事例/Practical Introduction to Amazon Verified Permissions
fossamagna
2
100
iOSでSVG画像を扱う
kishikawakatsumi
0
170
bootcamp2025_バックエンド研修_WebAPIサーバ作成.pdf
geniee_inc
0
140
contribution to astral-sh/uv
shunsock
0
550
Things You Thought You Didn’t Need To Care About That Have a Big Impact On Your Job
hollycummins
0
260
When Dependencies Fail: Building Antifragile Applications in a Fragile World
selcukusta
0
110
Goで実践するドメイン駆動開発 AIと歩み始めた新規プロダクト開発の現在地
imkaoru
4
920
Server Side Kotlin Meetup vol.16: 内部動作を理解して ハイパフォーマンスなサーバサイド Kotlin アプリケーションを書こう
ternbusty
3
260
釣り地図SNSにおける有料機能の実装
nokonoko1203
0
200
Google Opalで使える37のライブラリ
mickey_kubo
3
150
CSC305 Lecture 10
javiergs
PRO
0
290
AI Agent 時代的開發者生存指南
eddie
4
2.2k
Featured
See All Featured
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
658
61k
Why Our Code Smells
bkeepers
PRO
340
57k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
10
890
KATA
mclloyd
PRO
32
15k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.7k
Build The Right Thing And Hit Your Dates
maggiecrowley
38
2.9k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
116
20k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
127
54k
Context Engineering - Making Every Token Count
addyosmani
8
310
YesSQL, Process and Tooling at Scale
rocio
173
15k
Fireside Chat
paigeccino
41
3.7k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Transcript
Getting started with Android Things
Google’s new OS for IoT devices
Internet of Things — network of devices that collect and
exchange data
• Lightning • Locks • Security cameras • Voice assistants
• Self-driving cars • Thermostats • “Smart-everything” IoT applications
IoT at Google: recent history
Brillo and Weave introduced at I/O 2015
Weave — communication language between device and cloud
Brillo — simplified version of Android for IoT devices
None
None
Android Things is the new Brillo
Android Things is the new Brillo ¯\_(ツ)_/¯
Android Things • Available for everyone for free • Android
Studio and Android SDK • Firebase and Google Play Services • Regular updates from Google • Community • The ease and power of Android
If you can build an app, you can build a
device - Google
Project idea “Smart house” solution for simple electronic devices
Raspberry Pi 3 Model B • A 1.2GHz 64-bit quad-core
ARMv8 CPU • 802.11n Wireless LAN • Bluetooth 4.1 • 1GB RAM • 4 USB ports • 40 GPIO pins • Full HDMI port • Ethernet port • Costs ~$50
Before Andorid Things...
... there were no Android, which meant running on a
traditional Linux or Windows based OS PROS • You are in control of everything CONS • With great power comes great responsibility • You do all the hard work • You reinvent a wheel
Android Things to the rescue!
SmartHouse project Two apps For mobile and Android Things devices
SmartHouse mobile • You have list of devices • You
can turn them on or off • You can add new device • Many users can add to the same device and control it • You see when other users toggle your devices
SmartHouse for Android Things • Initialize hardware • Read events
via Firebase Realtime DB • Change the state of hardware • Listen to device state change and post events (not implemented yet)
How to create Android Things project? 1. Open Android Studio
2. Create New Project for phones/tablets 3. Setup Android Things dependencies 4. Done
Hardware side gpio = manager.openGpio(“BCM26”) gpio.setDirection(Gpio.DIRECTION_OUT_INITIALLY_HIGH) gpio.setActiveType(Gpio.ACTIVE_LOW) GPIO initialization Change
GPIO value gpio.value = newValue
Firebase DB design
None
Android Things: bad things • Setup is very inconvenient •
Developer preview has lots of bugs and some features are not available • No sign in support
Demo
None