Book Image

Android Things Projects

By : Francesco Azzola
Book Image

Android Things Projects

By: Francesco Azzola

Overview of this book

Android Things makes developing connected embedded devices easy by providing the same Android development tools, best-in-class Android framework, and Google APIs that make developers successful on mobile. With this book, you will be able to take advantage of the new Android framework APIs to securely build projects using low-level components such as sensors, resistors, capacitors, and display controllers. This book will teach you all you need to know about working with Android Things through practical projects based on home automation, robotics, IoT, and so on. We’ll teach you to make the most of the Android Things and build enticing projects such as a smart greenhouse that controls the climate and environment automatically. You’ll also create an alarm system, integrate Android Things with IoT cloud platforms, and more. By the end of this book, you will know everything about Android Things, and you’ll have built some very cool projects using the latest technology that is driving the adoption of IoT. You will also have primed your mindset so that you can use your knowledge for profitable, practical projects.
Table of Contents (15 chapters)
Title Page
Credits
About the Author
About the Reviewers
www.PacktPub.com
Customer Feedback
Preface

Adding voice capabilities to Android Things


By now we have described how to send data to IoT cloud platforms. In this context, an IoT platform behaves like a data container where we store information. There are other kinds of services offered by IoT platforms. There are some IoT platforms that provide integration services. In other words, they are not focused on acquiring data from sensors and storing it, but their target is offering integration services with other cloud systems. One of these platforms is Temboo (https://temboo.com/). It offers a long list of integration services that can be used to extend the capabilities of an IoT app. Generally speaking, Temboo supports several programming languages and IoT platforms and one of these OSes is Android. This is perfect for our project.

What we want to do is add voice capabilities to our Android Things app so that it can trigger a voice phone call with a pre-configured message to inform us that a specific event happened. To this purpose, the...