官术网_书友最值得收藏!

  • Android Things Projects
  • Francesco Azzola
  • 214字
  • 2021-07-02 20:46:23

Things support library

Things support library is the new library developed by Google to handle the communication with peripherals and drivers. This is a completely new library not present in the Android SDK and this library is one of the most important features. It exposes a set of Java Interface and classes (APIs) that we can use to connect and exchange data with external devices such as sensors, actuators, and so on. This library hides the inner communication details, supporting several industry standard protocols such as:

  • GPIO
  • I2C
  • PWM
  • SPI
  • UART

During the book, we will discover how to use this library to connect to several devices.

Moreover, this library exposes a set of APIs to create and register new device drivers called user drivers. These drivers are custom components deployed with the Android Things app that extends the Android Things framework. In other words, they are custom libraries that enable an app to communicate with other device types not supported by Android Things natively.

This book will guide you, step by step, to learn how to build real-life projects using Android. You will explore the new Android Things APIs and how to use them. In the next sections, you will learn how to install Android Things on Raspberry Pi 3 and Intel Edison.

主站蜘蛛池模板: 探索| 钟祥市| 康马县| 岑溪市| 大同县| 兰溪市| 柳州市| 景宁| 托克托县| 渝北区| 石河子市| 新蔡县| 峨眉山市| 铜川市| 紫阳县| 崇信县| 城市| 天门市| 武穴市| 睢宁县| 南陵县| 右玉县| 葵青区| 仲巴县| 衡阳县| 综艺| 德庆县| 凤阳县| 张家口市| 大方县| 张家港市| 伊吾县| 乳源| 万宁市| 凤城市| 富平县| 赣州市| 龙陵县| 长岛县| 富蕴县| 通榆县|