Slide 1

Slide 1 text

Scott Alexander-Bown Freelance Android Developer @scottyab March 2017

Slide 2

Slide 2 text

@scottyab

Slide 3

Slide 3 text

Developer Preview!! @scottyab

Slide 4

Slide 4 text

Cameras Gateways HVAC Control Smart Meters Point of Sale Inventory Control Interactive Ads Vending Machines Security Systems Smart Doorbells Routers Energy Monitors Asset Tracking Fleet Management Driver Assist Predictive Service Ideal for powerful, intelligent devices on the edge that need to be secure. @scottyab

Slide 5

Slide 5 text

Android SDK Android Studio Play Services Firebase Cloud Platform @scottyab

Slide 6

Slide 6 text

IoT Developer Console Automatic Security Updates Signed Images Verified Boot @scottyab

Slide 7

Slide 7 text

SoM Architecture Google Managed BSP @scottyab

Slide 8

Slide 8 text

Android Things for Developers @scottyab

Slide 9

Slide 9 text

No content

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

Displays are Optional Consider Alternate UI @scottyab

Slide 12

Slide 12 text

dependencies { provided 'com.google.android.things:androidthings:...' } ... Home Activity @scottyab

Slide 13

Slide 13 text

private GpioCallback callback = new GpioCallback() { @Override public boolean onGpioEdge(Gpio gpio) { int keyAction = gpio.getValue() ? KeyEvent.ACTION_DOWN : KeyEvent.ACTION_UP; inputDriver.emit(new KeyEvent[]{ new KeyEvent(keyAction, KeyEvent.KEYCODE_SPACE)}); return true; } }; Button User Driver (inside your Activity class) InputDriver inputDriver = InputDriver.builder(InputDevice.SOURCE_CLASS_BUTTON) .setName(DRIVER_NAME) .setVersion(DRIVER_VERSION) .setKeys(new int[]{KeyEvent.KEYCODE_SPACE}) .build(); UserDriverManager.getManager().registerInputDriver(inputDriver);

Slide 14

Slide 14 text

Get Started today! @scottyab

Slide 15

Slide 15 text

● Download the latest preview image ● writing the image to SD card ● Insert the flashed microSD card into your board. ● Connect power, ethernet and HDMI ● Connect via adb (IP shown on screen) $ adb connect connected to :5555 Setting up your Raspberry Pi 3 @scottyab

Slide 16

Slide 16 text

● Smart doorbell with camera ● Weather station ● Distributed Piano (by @riggaroo) ● Electricity monitor (by @riggaroo) Example projects @scottyab

Slide 17

Slide 17 text

● Dev preview ● No one is using live i.e distribution untested ● Weave not available yet ● Significant hardware requirements CONS @scottyab

Slide 18

Slide 18 text

The Power of Android Automatic and Secure Managed by Google @scottyab

Slide 19

Slide 19 text

Google's IoT Developers Community https://g.co/iotdev Google's IoT Solutions https://iot.google.com Android Things SDK https://developer.android.com/things Scott Alexander-Bown Freelance Android Developer @scottyab