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
96
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
94
Застосування ML в реальних проектах - Андрій Дерень
gdgternopil
2
130
Android Architecture Components by Ihor Dzikovskyy
gdgternopil
0
180
First look at Room Persistence by Oleksiy Sazhko
gdgternopil
0
130
Mobile Applications Architecture by Constantine Mars
gdgternopil
1
110
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
95
Xamarin Build native Android & iOS apps with C# - Vitalii Smal
gdgternopil
1
130
Other Decks in Programming
See All in Programming
技術的負債解消で開発者の未来を開く- AIの力でコード刷新
kmd2kmd
0
130
Hunting Vulnerabilities in Symfony with LLMs
vinceamstoutz
0
570
はてなアカウント基盤 State of the Union
cockscomb
1
1.2k
不変条件と整合性境界—ビジネスが決める設計判断と実現パターン / Invariants and Consistency Boundaries
nrslib
14
6k
Inside Stream API
skrb
1
820
メソッドのジェネリクスでGoの夢は広がるか? / Kyoto.go #65
utgwkk
3
1k
任せる範囲はこう広がった / How the Scope of AI Delegation Has Expanded
nrslib
1
220
LLMによるContent Moderationの本番運用の裏側と品質担保への挑戦
suikabar
3
800
技術記事、 専門家としてのプログラマ、 言語化
mizchi
13
6.8k
Agentic UI
manfredsteyer
PRO
0
210
「なぜそう決めたのか」を残し続ける仕組み ― Notion AI カスタムエージェント × Slack連携による設計判断の自動記録 - NIKKEI Tech Talk #47
niftycorp
PRO
0
250
SREは、MCPとSRE Agentをこう使え!
kazumax55
0
130
Featured
See All Featured
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.2k
How to Ace a Technical Interview
jacobian
281
24k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
4k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
52k
Mind Mapping
helmedeiros
PRO
1
270
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
450
Producing Creativity
orderedlist
PRO
348
40k
How to make the Groovebox
asonas
2
2.2k
Testing 201, or: Great Expectations
jmmastey
46
8.2k
sira's awesome portfolio website redesign presentation
elsirapls
0
290
What's in a price? How to price your products and services
michaelherold
247
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