Skip to content
This is a Kotlin version of the Android Things first device project.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
.gitignore
README.md

README.md

Android Things First Kotlin Device

This is a Kotlin version of the Android Things First Device project. This project uses the same hardware as the First Device project. The software in this project uses Kotlin instead of Java to implement the simple test IoT device. See the Android Things First Kotlin Device web site for detailed information about this project.

Pre-requisites

This project uses the combined button and LED circuit hardware configuration described in the Android Things First Device project. See that project for information on how to set-up the hardware used in this project.

Hardware

  • Raspberry Pi 3 Model B
  • Electronic Components
    • Breadboard
    • Jumper wires
    • LED
    • Tactile Push Switch
    • Resistors:
      • 1 - 470 ohm
      • 1 - 10K ohm
  • Optional Additional Electronic Components
    • GPIO Breakout Board
    • Ribbon cable

Software

  • Android Things Release 1.0
  • Android Studio 3.1.2

Build and Install

In Android Studio, click on the "Run" button or to run from the command line enter:

  ./gradlew installDebug
  adb shell am start com.example.androidthings.myproject/.MainActivity
You can’t perform that action at this time.