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

Kotlin with IoT Applications

Avatar for Toan Tran Toan Tran
December 17, 2019

Kotlin with IoT Applications

Kotlin is warm welcomed by the Android world. But is that the only use-case Kotlin can help? This presentation brings the trial of Kotlin to the IoT world by working on a prototype device called CI Lighthouse.

Avatar for Toan Tran

Toan Tran

December 17, 2019
Tweet

More Decks by Toan Tran

Other Decks in Programming

Transcript

  1. KOTLIN WITH IOT APPLICATIONS • Popular use case of Kotlin

    for Android app development • Extended use case to have Kotlin run on Backend, just like Java language based on JVM • What else? KOTLIN WITH IOT APPLICATIONS • Popular use case of Kotlin for Android app development • Extended use case to have Kotlin run on Backend, just like Java language based on JVM • What else?
  2. WHAT TO BUILD? • A lighthouse device. • Read the

    status of CI pipeline. • Display the CI status of trunk branch: GREEN (passed), YELLOW (running) and RED (failed). Example for Build light indicator
  3. TERMS konanc: Kotlin/Native compiler cinterop: Kotlin/native interoperability – create Kotlin

    binding for native lib armhf: Raspberry PI 3 B model architecture
  4. WHAT I HAVE LEARNED You need to learn a bit

    about hardware along the way Not so much tutorials on this topic yet Controlled experiment