Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Getting started with Android Things - Pavlo Zin`

Getting started with Android Things - Pavlo Zin`

Getting started with Android Things - Pavlo Zin`

GDG Ternopil

January 21, 2017
Tweet

More Decks by GDG Ternopil

Other Decks in Programming

Transcript

  1. • Lightning • Locks • Security cameras • Voice assistants

    • Self-driving cars • Thermostats • “Smart-everything” IoT applications
  2. 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
  3. 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
  4. ... 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
  5. 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
  6. 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)
  7. How to create Android Things project? 1. Open Android Studio

    2. Create New Project for phones/tablets 3. Setup Android Things dependencies 4. Done
  8. Android Things: bad things • Setup is very inconvenient •

    Developer preview has lots of bugs and some features are not available • No sign in support