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

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.

主站蜘蛛池模板: 盐边县| 大渡口区| 沂水县| 德江县| 无为县| 汶川县| 卓资县| 邛崃市| 梁河县| 宽甸| 长子县| 临漳县| 乌拉特中旗| 如皋市| 慈利县| 岳阳县| 兴宁市| 分宜县| 江都市| 衡东县| 耒阳市| 新民市| 凉山| 盐池县| 新安县| 东乌珠穆沁旗| 寻乌县| 共和县| 莎车县| 开化县| 仪陇县| 永吉县| 乌什县| 连江县| 五莲县| 峨边| 昌图县| 宝丰县| 珠海市| 博客| 龙南县|