---
title: Android Things
description: Build devices based on the Android Things platform.
image: https://blog.e-zest.com/hubfs/Schematic%20diag.png
---

[![e-Zest logo\_An accion lab company\_Colour](https://blog.e-zest.com/hubfs/images/Logos%20with%20Tagline/Corporate/SVG/e-Zest%20logo_An%20accion%20lab%20company_Colour.svg "e-Zest logo_An accion lab company_Colour")](https://www.e-zest.com/)

- [WORK](https://www.e-zest.com/our-work)
- [SERVICES](https://www.e-zest.com/our-services) 
    - [Product Engineering](https://www.e-zest.com/digital-product-engineering-services)
    - [Enterprise Data Services](https://www.e-zest.com/enterprise-data-services)
    - [Digital Commerce](https://www.e-zest.com/digital-commerce-services)
    - [Digital Operations](https://www.e-zest.com/digital-operations)
    - [Digital Consulting](https://www.e-zest.com/digital-transformation-consulting-services)
    - [Digital Experience Design](https://www.e-zest.com/digital-experience-design)
- [INSIGHTS](https://blog.e-zest.com/)
- [CAREERS](https://www.e-zest.com/careers)
- [ENTERPRISE DATA SERVICES](https://www.e-zest.com/enterprise-data-services)
- [GENERATIVE AI](https://www.e-zest.com/generative-ai)
- [Healthcare](https://healthcare.e-zest.com)
- [Contact Us](https://www.e-zest.com/contact-us)

- ![Elevating Product Engineering with AI and ML](https://blog.e-zest.com/hubfs/Elevating%20Product%20Engineering%20with%20AI%20and%20ML.jpg)

  [BLOGS](https://blog.e-zest.com)
  
  #### Elevating Product Engineering with AI and ML

  As technology evolves and customer choices broaden, there is an increasing ...

  [Read more](https://blog.e-zest.com/elevating-product-engineering-with-ai-and-ml)
- ![e-Zest – An Accion Labs Company gets Recognition as a Contender in the ISG Provider Lens™ Study on Digital Engineering Services 2024](https://blog.e-zest.com/hubfs/e-Zest%20%E2%80%93%20An%20Accion%20Labs%20Company%20-%20Gets%20Recognition%20as%20a%20Contender%20in%20the%20ISG%20Provider%20LensTM%20Study%20on%20Digital%20Engineering%20Services%202024.jpg)

  [NEWS](https://blog.e-zest.com/news)
  
  #### e-Zest – An Accion Labs Company gets Recognition as a Contender in the ISG Provider Lens™ Study on Digital Engineering Services 2024

  We are delighted to announce that e-Zest – An Accion Labs Company has been ...

  [Read more](https://blog.e-zest.com/news/e-zest-an-accion-labs-company-gets-recognition-as-a-contender-in-the-isg-provider-lens-study-on-digital-engineering-services-2024)
- ![e-Zest Solutions supports Digital Pune Mission](https://blog.e-zest.com/hubfs/blog-files/Digital%20Literacy%20Bus%20e-Zest.png)

  [CSR](https://blog.e-zest.com/csr)
  
  #### e-Zest Solutions supports Digital Pune Mission

  **Pune, India:** e-Zest Solutions, a leading digital technology innovation ...

  [Read more](https://blog.e-zest.com/csr/e-zest-solutions-supports-digital-pune-mission)

- [Work](https://www.e-zest.com/our-work)
- [Services](https://www.e-zest.com/our-services)
- [Insights](https://blog.e-zest.com)
- [Careers](https://www.e-zest.com/careers)
- [Enterprise Data](https://www.e-zest.com/enterprise-data-services)
- [Generative AI](https://www.e-zest.com/generative-ai)
- [Innovations](https://www.e-zest.com/innovations)
- [Healthcare](https://healthcare.e-zest.com)
- [About](https://www.e-zest.com/about-us)
- [Contact](https://www.e-zest.com/contact-us)

- [Blog](https://blog.e-zest.com/)
- [News](https://blog.e-zest.com/news)
- [CSR](https://blog.e-zest.com/csr)

- [![Linkedin Icon](https://blog.e-zest.com/hubfs/icons/linkedin_icon_white.svg)](https://www.linkedin.com/company/e-zest-solutions/)
- [![Twitter Icon](https://blog.e-zest.com/hubfs/twitter-logo-silhouette%20(5).svg)](https://twitter.com/ezest)
- [![Facebook Icon](https://blog.e-zest.com/hubfs/facebook-app-logo%20(4).svg)](https://www.facebook.com/61259256638)
- [![Instagram Icon](https://blog.e-zest.com/hubfs/instagram-logo%20(4).svg)](https://www.instagram.com/ezestsolutions/)
- [![Youtube Icon](https://blog.e-zest.com/hubfs/icons/youtube_icon_white.svg)](https://www.youtube.com/user/ezestcorporate)

[![Go to top icon](https://blog.e-zest.com/hubfs/AA%20Assets/top%20button.svg)](https://blog.e-zest.com/android-things#top)

Hit enter to search or ESC to close

Insights

e-Zest members share technology ideas to foster digital transformation.

- [Blog](https://blog.e-zest.com)
- [News](https://blog.e-zest.com/news)
- [Podcasts](https://www.e-zest.com/podcasts)
- [Healthcare](https://blog.e-zest.com/healthcare)
- [CSR](https://blog.e-zest.com/csr)
- [Whitepaper](https://blog.e-zest.com/whitepaper)
- [Playbook](https://blog.e-zest.com/playbook)
- [Media Kit](https://www.e-zest.com/media-kit)

# Android Things

[Shrijeet Polke](https://blog.e-zest.com/author/shrijeet-polke)  Jan 31, 2017

[Android](https://blog.e-zest.com/topic/android) [Android Things](https://blog.e-zest.com/topic/android-things)

- <https://www.linkedin.com/shareArticle?mini=true&url=https://blog.e-zest.com/android-things&title=&summary=&source=>
- <https://twitter.com/intent/tweet?source=https://blog.e-zest.com/android-things&text=Android%20Things>
- <https://www.facebook.com/sharer/sharer.php?u=https://blog.e-zest.com/android-things>
- <https://www.instagram.com/ezestsolutions/?u=https://blog.e-zest.com/android-things>

**Introduction:**

Google recently announced the developer preview of Android Things, which is Google’s take on Internet of Things.

Internet of Things refers to the networked interconnection of everyday objects, which are often equipped with some intelligence. IoT will bring man and machine closer (through MMI) by integrating everyday objects for interactions via embedded systems, thus, creating a highly distributed network of devices communicating across a broad spectrum of devices and human beings.

Android Things is Google’s take on Internet of Things. Google has clearly identified focus areas for Android Things that will enable development of connected devices based on Android Things.

- **Ease and Power of Android:**

Philosophy behind this is that anyone who can develop an android application can also develop application for Android Things. This decision in itself is sure to bring huge developer base directly from Mobile app development to Android Things development, thereby, reducing dependency of learning a new language for IoT development.

Security issues are taken care of in the android core system and the developer need not address concerns pertaining to basic security.

- **Rapid prototypes to finished products**

Android Things enables device development for a broad spectrum of users and companies. From creating a small prototype of device to big commercial products, it is all possible with Android Things. Basic philosophy being

- Giving a base to build upon using Turnkey hardware solutions. These hardware like SoC (System on Chip), RAM, wireless radios, etc. are certified to run Android Things.
- As discussed earlier, the entry barrier to do anything on the platform is few dollars.
- Enabling scaling from prototype to mass production. The prototypes built are of commercial grade and minimal iterations to bring them to commercial grade mass production.
- **Google Services**

Google has provided a wide range of API’s such as, Google Play services which can be leveraged to get going as fast as possible. Some of the services that Google provides are

- Google API’s and services

API’s and interfaces taken directly from google services

- System Updates and Support

System images, updates, fixes so that the complete concentration can be on products.

- Large Scale infrastructure

Pushing Google OS updates and your own app updates.

 **Example:**

Let’s see a simple example of using Android Things to connect a simple Peripheral for a Raspberry pi and control it. We will blink an LED using Raspberry Pi board.

Pre-requisite for using the above example

1. Raspberry-pi
2. Android Studio 2.2+

**Hardware Components needed**

- 1 LED
- 1 resistor
- 2 Jumper wires
- 1 breadboard

Create plain android application with below mentioned line in dependencies. Remove all other dependencies if any.

Below is the simple schematic diagram for the example

![Schematic diag.png](https://blog.e-zest.com/hs-fs/hubfs/Schematic%20diag.png?width=588&height=346&name=Schematic%20diag.png)

In **build.gradle**

**![Screen Shot 1-1.png](https://blog.e-zest.com/hs-fs/hubfs/Screen%20Shot%201-1.png?width=526&height=52&name=Screen%20Shot%201-1.png)**

Your AndroidManifest.xml activity should look like in snippet below. Notice that although there is a Launcher Activity intent filter, you can see a default Launcher Activity named IOT\_LAUNCHER that will be used to launch the activity automatically on boot when our device is booted.

![Screenshot.png](https://blog.e-zest.com/hs-fs/hubfs/Screenshot.png?width=579&height=222&name=Screenshot.png)The Android Things example has BoardDefaults.java that returns us board identifier. For our example we always return raspberry are board attached

![Screen Shot 2.png](https://blog.e-zest.com/hs-fs/hubfs/Screen%20Shot%202.png?width=590&name=Screen%20Shot%202.png)  
In our main file BlinkActivity.java we need to get the GPIO pin for Raspberry pi (remember we are returning pin for Raspberry pi by default.

![Screen Shot 3.png](https://blog.e-zest.com/hs-fs/hubfs/Screen%20Shot%203.png?width=511&height=623&name=Screen%20Shot%203.png)

That’s it! Just press the “Run” button in your Android studio and you will see your LED blinking.

Source: [https://github.com/androidthings/sample-simplepio/blob/master/blink/rpi3\_schematics.png](https://github.com/androidthings/sample-simplepio/blob/master/blink/rpi3_schematics.png)

- <https://twitter.com/intent/tweet?source=https://blog.e-zest.com/android-things&text=Android%20Things>
- <https://www.facebook.com/sharer/sharer.php?u=https://blog.e-zest.com/android-things>
- <https://www.linkedin.com/shareArticle?mini=true&url=https://blog.e-zest.com/android-things&title=&summary=&source=>

### Similar Blog

[A quick low down on everything about Google hardware event In a seemingly largest announcement on hardware, Google recently unveiled its interesting array of devices as well as services on ... By Sneha Oct 06, 2016](https://blog.e-zest.com/a-quick-low-down-on-everything-about-google-hardware-event)

[![Seven Biggest Mobile Trends in Play Right Now](https://blog.e-zest.com/hs-fs/file-3419269681-png/blog-files/contractiq.png) Seven Biggest Mobile Trends in Play Right Now A recent mobile development trends and price benchmark report by ContractIQ has thrown light into some interesting trends in the ... By Corporate May 19, 2015](https://blog.e-zest.com/seven-biggest-mobile-trends-in-play-right-now/)

[![Material Design Simplified](https://blog.e-zest.com/hs-fs/file-3395404399-png/blog-files/google-material-design.png) Material Design Simplified Today, Android phones are extremely popular. The user base of Android is well over one billion people. The Google platform has ... By Abhijit Kurane Apr 30, 2015](https://blog.e-zest.com/material-design-simplified/)

[Tech Digest – Week 29, 2013 **Big Data – Banks can use to manage human risks** By Corporate Jul 19, 2013](https://blog.e-zest.com/tech-digest-week-29-2013/)

[![Alternative to Tin Can API Migration](https://blog.e-zest.com/hubfs/the-alternative-to-tincan-migration.png) Alternative to Tin Can API Migration Tin Can API arrived to deliver new features to augment the SCORM standard. Tin Can API or Experience API or xAPI (the terms are ... By Shrijeet Polke Aug 23, 2017](https://blog.e-zest.com/alternative-to-tin-can-api-migration)

[![Gamification of Enterprise applications](https://blog.e-zest.com/hs-fs/file-3419137926-jpg/blog-files/gamification-of-enterprise-applications-300x200.jpg) Gamification of Enterprise applications What is Gamification? It is the use of game thinking and game mechanics in non-gaming environments to engage users in problem ... By Shrijeet Polke Nov 20, 2014](https://blog.e-zest.com/gamification-of-enterprise-applications/)

## Helping Organizations Thrive in the Digital Age

[Contact Us](https://www.e-zest.com/contact-us)

- [About](https://www.e-zest.com/about-us)
- [Services](https://www.e-zest.com/our-services)
- [Work](https://www.e-zest.com/our-work)
- [Insights](https://blog.e-zest.com/)
- [Healthcare](https://healthcare.e-zest.com/)
- [Accion Labs](https://www.accionlabs.com/)

- <https://www.linkedin.com/company/e-zest-solutions/>
- <https://twitter.com/ezest>
- <https://www.facebook.com/eZest/>
- <https://www.instagram.com/ezestsolutions/>
- <https://www.youtube.com/user/ezestcorporate>

- Dallas
- Detroit
- Hannover
- Vienna
- London
- Pune

 © 2025 e-Zest Solutions

- [Privacy Policy](https://www.e-zest.com/privacypolicy)
- [Cookie Policy](https://www.e-zest.com/cookie-policy)

 Contact us

 Contact us

e-Zest is a leading digital innovation partner for enterprises and technology companies that utilizes emerging technologies for creating engaging customers experiences. Being a customer-focused and technology-driven company, it always helps clients in crafting holistic business value for their software development efforts. It offers software development and consulting services for cloud computing, enterprise mobility, big data and analytics, user experience and digital commerce.