Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Google Developer Days Poland - Android Things -...
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Rebecca Franks
September 06, 2017
Technology
140
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Google Developer Days Poland - Android Things - The IoT Platform for everyone
Rebecca Franks
September 06, 2017
More Decks by Rebecca Franks
See All by Rebecca Franks
Custom Drawing in Compose - Londroid December 2022
riggaroo
0
300
Android Studio - What's new 2020
riggaroo
0
190
Getting Started with MotionLayout - Async Android 2020
riggaroo
2
2.5k
Mobile Era 2019 - Tips for Building Custom Views on Android with Canvas APIs
riggaroo
2
360
Over ❤️ Kotlin - How we've used Kotlin to build a Mobile Design App
riggaroo
2
7.1k
Tips for Building Custom Views on Android with Canvas APIs
riggaroo
2
810
In a World of Pure Android Animation 🍭🍫
riggaroo
3
790
Building your Personal Brand - IWD Johannesburg 2019
riggaroo
5
380
How to write a great Conference Proposal - Global CFP Day - Johannesburg 2019
riggaroo
4
600
Other Decks in Technology
See All in Technology
ScotSecure West 2026 - Glasgow
raybugg
0
190
AI臭い文章とは何なのか
nasuvitz
3
440
LT:「このままでいいのかな?」から一歩踏み出した私のデータキャリア選択〜社会人3年目に上京を決意したリアル〜Snowflake女子会 vol.8
snowwmn0824
0
100
Claude Codeを「使うほど育つ」AI秘書にするノウハウ
minorun365
PRO
32
32k
AWS DevOps Agent スキルをつかいこなそう / Master AWS DevOps Agent Skills
kinunori
2
560
あけおめLINE 傾向とその対策
nasa9084
0
340
「ピッケル本」日本語版は4.0(第6版)が出版されるべき / pickaxe4-nagoyark05
kakutani
2
310
開発投資の期待値を上げるプロダクトロードマップづくり ~プロダクトエンジニアが越境して事業を伸ばす~
kekekenta
1
250
JSONataとAWS Step Functionsで目指すRuntimelessな世界
mu7889yoon
1
530
覗いてみよう 関数型ビジュアル言語×2Dグラフィックスの世界
yohyamasaki
0
120
Argo CDとAtlantisで実現するインフラ管理のセルフサービス化──小規模SREチームで支えるプラットフォーム
cassius7
0
190
2026-09-08 そのJavaモダナイゼーション、AIに丸投げで大丈夫?IBM Bobで変わる品質と効率
yutanonaka
1
200
Featured
See All Featured
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
WENDY [Excerpt]
tessaabrams
14
39k
Odyssey Design
rkendrick25
PRO
2
820
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
510
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
490
Ethics towards AI in product and experience design
skipperchong
2
390
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
sira's awesome portfolio website redesign presentation
elsirapls
0
420
It's Worth the Effort
3n
188
29k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.4k
Code Reviewing Like a Champion
maltzj
528
40k
Transcript
None
None
extension IoT embedded
powerful intelligent secure
Android SDK Play Services Firebase Android Studio Cloud Platform
No Play Store Deploy OTAs Subset of APIs Custom Hardware
Single Purpose Device
None
None
None
SoM Architecture Google Managed BSP
Android Framework Hardware Libraries Linux Kernel Apps User Drivers
• • • •
None
None
None
None
None
Button GPS PWM Servo RGB LED Strip Temperature Sensor Capacitive
Touch Buttons GPIO PWM I2C SPI UART I2S
None
None
None
None
None
//Automatically added in app level build.gradle compileOnly 'com.google.android.things:androidthings:...'
//Automatically added in AndroidManifest.xml <application ...> <uses-library android:name="com.google.android.things"/> <activity ...>
<!-- Launch activity automatically on boot --> <intent-filter> <action android:name="android.intent.action.MAIN"/> <category android:name="android.intent.category.IOT_LAUNCHER"/> <category android:name="android.intent.category.DEFAULT"/> </intent-filter> </activity> </application>
//Automatically added in AndroidManifest.xml <application ...> <uses-library android:name="com.google.android.things"/> <activity ...>
<!-- Launch activity automatically on boot --> <intent-filter> <action android:name="android.intent.action.MAIN"/> <category android:name="android.intent.category.IOT_LAUNCHER"/> <category android:name="android.intent.category.DEFAULT"/> </intent-filter> </activity> </application>
//Import required dependencies, buttons etc implementation 'com.google.android.things.contrib:driver-button:0.3'
button = new Button("BCM6", Button.LogicState.PRESSED_WHEN_LOW); button.setOnButtonEventListener(new Button.OnButtonEventListener() { @Override public
void onButtonEvent(final Button button, final boolean pressed) { ledGpio.setValue(pressed); } }); // in onDestroy() button.close();
button = new Button("BCM6", Button.LogicState.PRESSED_WHEN_LOW); button.setOnButtonEventListener(new Button.OnButtonEventListener() { @Override public
void onButtonEvent(final Button button, final boolean pressed) { ledGpio.setValue(pressed); } }); // in onDestroy() button.close();
button = new Button("BCM6", Button.LogicState.PRESSED_WHEN_LOW); button.setOnButtonEventListener(new Button.OnButtonEventListener() { @Override public
void onButtonEvent(final Button button, final boolean pressed) { ledGpio.setValue(pressed); } }); // in onDestroy() button.close();
//Get access to the pin PeripheralManagerService service = new PeripheralManagerService();
ledGpio = service.openGpio("BCM21"); ledGpio.setDirection(Gpio.DIRECTION_OUT_INITIALLY_LOW); ledGpio.setValue(true); //Close in onDestroy() ledGpio.close();
//Get access to the pin PeripheralManagerService service = new PeripheralManagerService();
ledGpio = service.openGpio("BCM21"); ledGpio.setDirection(Gpio.DIRECTION_OUT_INITIALLY_LOW); ledGpio.setValue(true); //Close in onDestroy() ledGpio.close();
//Get access to the pin PeripheralManagerService service = new PeripheralManagerService();
ledGpio = service.openGpio("BCM21"); ledGpio.setDirection(Gpio.DIRECTION_OUT_INITIALLY_LOW); ledGpio.setValue(true); //Close in onDestroy() ledGpio.close();
None
None
@devunwired
@blundell_apps @ataulm
None
DatabaseReference onlineRef = firebaseDatabase.child(".info/connected"); DatabaseReference isPowerOnRef = firebaseDatabase.child("/online"); onlineRef.addValueEventListener(new ValueEventListener()
{ @Override public void onDataChange(final DataSnapshot dataSnapshot) { if (dataSnapshot.getValue(Boolean.class)) { isPowerOnRef.setValue(true); isPowerOnRef.onDisconnect().setValue(false); } } });
DatabaseReference onlineRef = firebaseDatabase.child(".info/connected"); DatabaseReference isPowerOnRef = firebaseDatabase.child("/online"); onlineRef.addValueEventListener(new ValueEventListener()
{ @Override public void onDataChange(final DataSnapshot dataSnapshot) { if (dataSnapshot.getValue(Boolean.class)) { isPowerOnRef.setValue(true); isPowerOnRef.onDisconnect().setValue(false); } } });
@alvaroviebrantz
None
None
Hands-on with Android Things and Creating Your Own IoT Devices
Renato Mangini, Jonathan Koren
None
goo.gl/1gQ9Uo Give Feedback On This Session