Questions tagged [android-things]

Android Things is an operating system for the Internet of Things based on the Android OS. It supports common peripherals like GPIO, SPI, I²C and UART with a single headed or headless app. When asking a question, don't use the Android tag unless it is common for both operating systems. It is a light weight version of Android OS, specially design for IOT devices.

The Android Things console will stop supporting new projects on January 5, 2021, and will be turned down for all existing projects on January 5, 2022. For more details, visit the FAQ page.

  • New APIs for IoT devices
  • Turnkey hardware solutions
  • Low barrier to entry
  • Build products at scale

Build connected devices for a wide variety of consumer, retail, and industrial applications.

Official documentation:

Android Things Official Web Site

Android Things SDK Overview

Android Things Release Notes

Supported Hardware Platforms

Official Repositories:

Official GitHub profile

User-space drivers

Peripheral Driver Samples

605 questions
5
votes
0 answers

Turn off HDMI Output with Android Things on Raspberry PI 3

I'm creating an Android Things device using a Raspberry Pi 3, which will be connected to monitor. The monitor should be on all of the time, but I'd like a way to "turn off" the device (turning off the HDMI output so that the monitor can go to…
Thomas
  • 1,123
  • 3
  • 13
  • 36
5
votes
1 answer

How do I enable the ethernet over USB drivers on Android Things?

I have a USB dongle that uses ethernet over USB to act as a network adapter. On Ubuntu it makes use of the usbnet driver and as soon as I plug the dongle in, the OS recognizes it and gets a new network interface. However, on Android Things it only…
David Piskula
  • 75
  • 1
  • 6
5
votes
3 answers

Mount USB thumb drive to android things when starting the activity

I am trying to mount the USB mass storage device to my Raspberry Pi running the android things. I came across this answer which shows how to mount it using command line ADB shell. But the problem is I have to run those command every time my device…
Keval Patel
  • 592
  • 3
  • 13
5
votes
3 answers

Integrating GSM/GPRS modem with Raspberry Pi 3 with Android things

I am trying to make a module with the help of Android Things. I need to send temperature and pressure readings to a server over the internet with the help of GSM/GPRS modem. I am using Raspberry Pi 3 with AndroidThings SDK. I am able to get…
Mahendra Chhimwal
  • 1,810
  • 5
  • 21
  • 33
5
votes
4 answers

How to download android things OS source code?

I could find git repository/branch for Brillio but no separate for Android things. Is it that it is not open source yet or released for public ?
Anirudh
  • 210
  • 2
  • 12
5
votes
5 answers

How to reset default app in Android Things OS?

Yesterday I started an Android Things project and I was testing the app using Android Studio. In order to connect to the device using adb.exe, I used the IP of the android device that I saw on the default OS's app (the starting screen). So, after…
poloapolo
  • 97
  • 2
  • 12
5
votes
2 answers

How to set a static IP in Android Things running on Raspberry Pi 3

I wish to change the Ethernet IP Address of the Raspberry Pi3 board that is running Android Things OS. Currently it automatically fetches an IP Address available in the connected network. But I wish to assign a fixed/static IP to the device. Is it…
Kishan
  • 231
  • 1
  • 11
5
votes
3 answers

How to enable USB API in Android Things for Raspberry Pi 3

I am working on a project which involves a Raspberry Pi 3 Module B Board with Android Things OS on it. My android application running on Raspberry Pi3 needs to communicate with an external hardware over USB. But,it has been mentioned in the Known…
Kishan
  • 231
  • 1
  • 11
5
votes
3 answers

Android Things GpioCallback not received

I am trying to implement the button sample from simplepio. I have made the connection as shown in schematics. After pressing the button I do not get the GPIO callback. Code I am using is same as that of sample. There are no exceptions only "Starting…
Anirudha Agashe
  • 3,510
  • 2
  • 32
  • 47
5
votes
1 answer

Android things RPI3 camera hangs with image reader

Can't find a way on how to take a single picture from the camera. While using image reader and sending capture request with TEMPLATE_STILL_CAPTURE, app just stops at this place and nothing more happens. Tried with my code, thought problem was…
5
votes
3 answers

Use and purpose of Android.local

Recently I was looking at the Android-Things SDK, and I have installed it on my Raspberry Pi device. To connect Raspberry Pi with ADB I have used: adb connect :5555 But then I have found something like this: adb connect…
Ravi
  • 34,851
  • 21
  • 122
  • 183
5
votes
2 answers

Android Things microphone support

Does Android Things on the raspberry pi 3 support a usb microphone already? If not I could attach a microphone to the RPi3 via an ADC (and talk to it via SPI) but can I get Android to see it as a microphone by registering it as a user driver? - I…
seb
  • 429
  • 4
  • 7
5
votes
2 answers

Difference between android.intent.category.LAUNCHER and android.intent.category.IOT_LAUNCHER

I was going through the sample program of Android things and i have found 2 there. One was having and another was having ,…
Ravi
  • 34,851
  • 21
  • 122
  • 183
5
votes
3 answers

Connecting to a Usb peripheral

It looks like the UsbManager is gone in the build. How do we communicate with usb peripherals now? Things like usb->serial etc using https://github.com/mik3y/usb-serial-for-android
annymsMthd
  • 94
  • 4
4
votes
1 answer

How to set device owner on Android Things?

I would like to set my Android app as device owner on a device running Android Things. (I know that Android Things is getting shut down, but still I would need to make it work) I tried the usual command: adb shell dpm set-device-owner…
1 2
3
40 41