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

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.

主站蜘蛛池模板: 乳山市| 平度市| 柘荣县| 恩施市| 轮台县| 苏尼特右旗| 遵义市| 贡山| 太康县| 渝北区| 宜州市| 永修县| 英山县| 云和县| 松阳县| 简阳市| 格尔木市| 永顺县| 博客| 额敏县| 汾西县| 淮安市| 武城县| 名山县| 泰和县| 南漳县| 图木舒克市| 保山市| 攀枝花市| 阿坝县| 巴彦淖尔市| 乐昌市| 石首市| 马鞍山市| 汉沽区| 大关县| 兴城市| 皮山县| 嘉禾县| 呼玛县| 浏阳市|