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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
GDG Ternopil
January 21, 2017
Programming
100
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Getting started with Android Things - Pavlo Zin`
Getting started with Android Things - Pavlo Zin`
GDG Ternopil
January 21, 2017
More Decks by GDG Ternopil
See All by GDG Ternopil
Semi supervised learning with Autoencoders by Ілля Горев
gdgternopil
2
95
Застосування ML в реальних проектах - Андрій Дерень
gdgternopil
2
130
Android Architecture Components by Ihor Dzikovskyy
gdgternopil
0
180
First look at Room Persistence by Oleksiy Sazhko
gdgternopil
0
140
Mobile Applications Architecture by Constantine Mars
gdgternopil
1
120
Tuning your SQLite with SQLDelight & SQLBrite - Mkhytar Mkhoian
gdgternopil
0
290
Speeding up development with AutoValue - Andrii Rakhimov
gdgternopil
1
110
The Mistery of Gradle Plugins - Dmytro Zaitsev
gdgternopil
1
100
Xamarin Build native Android & iOS apps with C# - Vitalii Smal
gdgternopil
1
140
Other Decks in Programming
See All in Programming
DroidKaigi 2026 「個人開発という実験場: Android エンジニアが手にする4つの自由」
slashnephy
0
220
Seeing Through Serverless: Observability for AWS Lambda with ADOT and CloudWatch Application Signals
seike460
PRO
1
120
The Good Stuff, Not the Slop: Engineering High-Quality Android Apps with Modern AI Tooling
danybony
1
190
高専キャリア LT 発表内容
crysta1221
6
5.6k
Swift愛好会と私(ウホーイ) / Swift Fan Club and Uhooi
uhooi
0
140
AIを上手に使っていこうとしたら越境せざるを得なくなった話 〜実践1年で見えた境界を越えなければならない理由と進め方〜 / Crossing borders with AI
tomoyakitaura
4
1.1k
変化を抱擁するドキュメントの作り方 - ビジネスルール駆動開発がもたらす、コードとの新しい関係
ioki
2
120
スマート反転とウェブアクセシビリティ
camiha
0
130
『寄り添うラジオ』をAIで作る 体験価値から逆算した、会話しないUXと品質設計
theoriatec2024
3
120
AWS Step Functions 大規模並列の壁を越える / jaws-sonic-2026-niigata-step-functions
kasacchiful
PRO
0
380
Building an Out-of-Order CPU
latte72
0
710
標準パッケージに uuid が追加された 背景から見る Go らしい意思決定 / go_127_uuid_decision
convto
1
660
Featured
See All Featured
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.5k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
530
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
510
Game over? The fight for quality and originality in the time of robots
wayneb77
1
270
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
320
The SEO Collaboration Effect
kristinabergwall1
1
550
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
230
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
190
Designing for Performance
lara
611
70k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.3k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2.1k
Rails Girls Zürich Keynote
gr2m
96
14k
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